如何解决水晶报告中的错误? [英] how to resolve error in crystal report?
问题描述
我正在使用visual studio 2010的水晶报告并使用Windows 7 64位。当我运行项目时......出现以下错误
无法加载文件或程序集''file:/// C:\Program Files(x86)\SAP BusinessObjects \ Crystal Framework for .NET Framework 4.0 \ Common \ SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll''或其中一个依赖项。
i在Google中进行搜索并执行以下步骤
1.首先,将框架设置为4.0,而不是客户端。 CR需要访问完整的框架。
2.然后将其添加到您的app.config:
< startup useLegacyV2RuntimeActivationPolicy = true >
< supportedRuntime version = v4.0 sku = 。NETFramework,Version = v4.0 / >
< / startup >
< br $>
但同样的错误.pls告诉我需要紧急添加报告
问候
试试这个....
< startup useLegacyV2RuntimeActivationPolicy = true >
< supportedRuntime version = v4 .0 / >
< / startup
I am using crystal report for visual studio 2010 and using windows 7 64 bit.when i run the project ...following error comes
Could not load file or assembly ''file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll'' or one of its dependencies.
i serached in google and performed following steps
1.First, set your framework to 4.0 full, not the client. CR requires access to the full framework.
2.Then add this to your app.config:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
butgetting the same error.pls tell as i need to add report urgently
regardstry this....
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup
Have you installed the 32bit runtime? And is your program set to compile to "Any CPU" or have you chosen a specific one? If you haven''t chosen one, try setting it to x86.
这篇关于如何解决水晶报告中的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!