现在的位置: 首页 > 综合 > 正文

Crystal Reports & Framework 4 (Could not load file or assembly crdb_adoplus.dll)

2013年03月13日 ⁄ 综合 ⁄ 共 618字 ⁄ 字号 评论关闭

If you upgrade your project to .NET Framework 4 or for any reason you get a mysterious error like the one below:

“Could not load file or assembly ‘file:///C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll’ or one of its dependencies. The system cannot find the file specified.”

Try inserting the code below at your app.config or web.config file:

1
2
3
<startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0"/>
</startup>
<startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0"/>
</startup>

 

It seems that microsoft changed the binding procedure and this setting changes that.

抱歉!评论已关闭.