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.

Trying to display crystal report using visual studio 2010 gave me the following 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.” Solution: Here is a quick solution Trying modifying app.config file, add useLegacyV2RuntimeActivationPolicy=”true” to the startup so that it looks like 


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

Comments

Popular posts from this blog

Delete Confirmation for Delete ButtonField, TemplateField and CommandField in a GridView in ASP.NET

Selecting/Deselecting all CheckBoxes inside a ListView In ASP.NET

How to Create 3 Tier Vb.Net Desktop Application