![Startup Startup]()
本文介绍了如何解决水晶报告中的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我正在使用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 > 但同样的错误.pls告诉我需要紧急添加报告 问候解决方案 试试这个.... < startup useLegacyV2RuntimeActivationPolicy = true > < supportedRuntime version = v4 .0 / > < / startup 你安装了32位运行时吗?你的程序是否设置为编译为任何CPU或者你选择了一个特定的程序?如果您还没有选择,请尝试将其设置为x86。 I am using crystal report for visual studio 2010 and using windows 7 64 bit.when i run the project ...following error comesCould 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 steps1.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 urgentlyregards 解决方案 try this....<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/></startupHave 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. 这篇关于如何解决水晶报告中的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-18 13:49