Could not load file or assembly crdb_adoplus.dll

Viewed 50302

For the following error:

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.

Is there any way to resolve this error other than through the solution:

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

That solution not work in my application

8 Answers

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.

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.

Related