Could not load file or assembly crdb_adoplus.dll

后端 未结 8 1459
感动是毒
感动是毒 2020-12-13 12:53

For the following error:

Could not load file or assembly ‘file:///C:\\Program Files\\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\\win32

相关标签:
8条回答
  • 2020-12-13 13:30

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

    <startup useLegacyV2RuntimeActivationPolicy="true">
            <supportedRuntime version="v4.0"/>
    </startup>
    
    0 讨论(0)
  • 2020-12-13 13:32

    Do a clean install of Crystal Reports.

    I had to uninstall all Crystal (Runtime and for Visual Studio) Then install only Crystal Reports for Visual Studio 2019 (SP26) At last I checked the checkbox for installing the runtime included in the "For Visual Studio" version.

    0 讨论(0)
  • 2020-12-13 13:36

    When facing this issue in ASP.Net application, check the application pool of the application in IIS. Change the Application pool to .Net 4.0 from .Net 2.0.

    It will fix the issue.

    0 讨论(0)
  • 2020-12-13 13:39

    Change the first line to work successfully

    After you open a file "App.config" from Solution Explorer

    Previous:

    <startup> 
    
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
    

    Current:

    <startup useLegacyV2RuntimeActivationPolicy="true">
    
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
    
    0 讨论(0)
  • 2020-12-13 13:42

    This stuff basically happens, if you have correct setup of SBO (I wish you so:)), that between different components of your SBO SDK there are assemblies with different .NET version. Check if you have some old version of SAP BO SDK installed on your machine too. Hope this helps.

    0 讨论(0)
  • 2020-12-13 13:47

    Follow steps: Right click on project then click properties ->compile ->Advance Compile Option -> click Target framework and select .Net Framework 3.5 -> Now Click OK

    Thats the simple solution.

    0 讨论(0)
提交回复
热议问题