简体   繁体   English

尝试使用Visual Studio构建网站时出现Crystal Report错误

[英]Crystal Report error when trying to build a website with visual studio

I am trying to run a build of a website locally on my pc using visual studio and while it builds fine, after I logon to my website which runs crystal reports I get the following error: 我试图使用Visual Studio在我的PC上本地运行网站的构建,尽管构建良好,但是登录到运行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.  Please go to http://www.businessobjects.com/support for more information. 

I have tried using VS 2008 and 2010. I have got the SAP build for both 08 and 10. I tried using 64 and 32 bit versions of each build. 我尝试使用VS 2008和2010。我已经获得了适用于08和10的SAP构建。我尝试使用每个构建的64位和32位版本。 Nothing works and I keep getting this error. 没有任何效果,我不断收到此错误。 I am running this on a 64 bit Windows 7 if that helps. 如果有帮助,我可以在64位Windows 7上运行它。 Any ideas? 有任何想法吗?

be sure that you configure your project in x86. 确保在x86中配置项目。

Go to your application project, right click, and select "Properties" On the Build tab, find the Platform Target combo box. 转到您的应用程序项目,右键单击,然后选择“属性”。在“构建”选项卡上,找到“平台目标”组合框。 It probably says, "Any CPU". 它可能会说:“任何CPU”。 Change this to x86 . 将其更改为x86。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM