Crystal Report未在Visual Studio 2010 Windows应用程序中显示
问题描述:
我已经在我的电脑中设置了 SAP Crystal Reports,CRRedist2008.msi 。
但是,现在我仍然得到这些例外:
第一个例外:
I have already setup SAP Crystal Reports, CRRedist2008.msi in my pc.
But, still now I am getting these exception:
1st Excepiton: "
An error has occurred while attemting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permission are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist.msi)..."
第2例外:'CrystalDecisions。 CrystalReports.Engine.ReportDocument'抛出异常。
请告诉我如何解决这些问题?
2nd Exception: " 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception."
Please tell me how can I solve these problem ?
答
一个类似的问题被问到这里 [ ^ ]。
还有更多的inf o可用于此 thread [ ^ ]。
A similar question was asked here[^].
There is more info available on this thread[^].
你必须为visual studio(不是它的运行时引擎)安装水晶报告,它的大小几乎是250-300 MB,然后在你可以使用它的windows窗体程序中。要查看工具箱中的水晶报表查看器控件,你必须将你的.net框架版本设置为.net3.5。
以及其他你必须做的事情
快乐编码
you must install crystal report for visual studio(not it's runtime engine) that it's size is almost 250-300 MB then in your windows form programs you can use it.for viewing crystal report viewer control in your toolbox you must set your .net framework version to .net3.5.
and other things that you must do
happy coding