问题描述
你好
当我在我的应用程序(c#-VS2010)中使用水晶报告(sap 13)和.netframework 4时,我将面对这个错误:
无法加载文件或程序集'file:/// C:\Program Files\SAP BusinessObjects \ Crystal Framework 4.0 for .NET Framework 4.0 \ Common \ SAP BusinessObjects Enterprise XI 4.0 \\ net32_x86 \ dotnet1 \ crdb_adoplus.dll'或其依赖项之一。系统找不到指定的文件。
当我检查我的驱动器时,该文件位于 dotnet 文件夹中。驱动器中没有 dotnet1 文件夹。当我尝试重命名它时,会出现很多错误。
我做什么?
如何克服这个问题?帮助我...
hello
When I use of crystal report (sap 13) and .netframework 4 in my application(c#-VS2010) I will be faces with this error :
Could not load file or assembly 'file:///C:\Program Files\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. The system cannot find the file specified.
when i check on my drive ,the file is at dotnet folder. there is no dotnet1 folder in the drive. when i try to rename it ,it arises many errors.
what i do?
how to overcome this problem? help me...
推荐答案
Try inserting the code below at your app.config or web.config file:
1
2
3
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
It seems that microsoft changed the binding procedure and this setting changes that.
这篇关于创建水晶报告时找不到文件异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!