我在visual studio 2008上使用了Crystal Report 2008,在Windows 8 64位上运行 [英] i used crystal Report 2008 in visual studio 2008 run on windows 8 64 bit

查看:55
本文介绍了我在visual studio 2008上使用了Crystal Report 2008,在Windows 8 64位上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2008中使用了Crystal Report 2008(窗口项目)在Windows 8上运行64位



但是当我尝试使用该报告时,我得到了运行时出现以下错误:



Crystal Reports:尝试加载Crystal Reports运行时时出错。 Crystal Reports注册表项权限不足,或者Crystal Reports运行时未正确安装。请安装包含所需的正确版本的Crystal Reports运行时(x86,x64或Itanium)的相应Crystal Reports可再发行组件(CRRedist * .msi)。

i used crystal Report 2008 in visual studio 2008(window Project) run on windows 8 64 bit

But when I try to use the report, I get the following error at runntime:

Crystal Reports: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.

推荐答案

现在我有解决方案。



我们已按照建议的步骤进行操作:

在Visual Studio .NET 2008中编译应用程序时,您需要强制它为32位模式。

您可以通过在解决方案资源管理器中右键单击项目名称并选择属性来执行此操作。

对于VB.NET

单击编译,然后单击高级编译选项。对于Target CPU下拉框,将其从AnyCPU更改为x86,然后单击OK。

对于C#.NET

单击Build并更改Platform Target选项从任何CPU到x86。

然后你应该可以在64位操作系统上运行应用程序而不会出错。





查看更多:http://dotnetfish.blogspot.com/2010/02/either-crystal-reports-registry-key.html
Now i have the solution.

We already follow the steps suggested:
When compiling the application in Visual Studio .NET 2008 you will need to force it to 32 bit mode.
You can do this by right-clicking the project name in the Solution Explorer and select Properties.
For VB.NET
Click Compile, then Advanced Compile Options. For the Target CPU drop down box, change it from "AnyCPU" to "x86" then click OK.
For C#.NET
Click Build and change the Platform Target option from "Any CPU" to "x86".
You should then be able to run the application on a 64 bit OS without error.


see more:http://dotnetfish.blogspot.com/2010/02/either-crystal-reports-registry-key.html


这篇关于我在visual studio 2008上使用了Crystal Report 2008,在Windows 8 64位上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆