Click here to Skip to main content
13,000,829 members (41,271 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
{"Could not load file or assembly 'file:///C:\\Program Files (x86)\\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.":"file:///C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll"}
Posted 30-Nov-12 1:57am
Updated 5-Feb-17 18:55pm
v2
Comments
ryanb31 30-Nov-12 8:09am
   
You need to make sure those dlls are in your bin folder or are installed into the GAC.
Pratik65 30-Nov-12 8:11am
   
i have downloaded separately the crystal report and can help me more with this GAC
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

adding the following lines to the app.config seems to fix the problem:<br />
<br />
    <startup useLegacyV2RuntimeActivationPolicy="true"><br />
         <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/><br />
<br />
     </startup>
  Permalink  
v3
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

adding the following lines to the app.config seems to fix the problem:




<?xml version="1.0"?>
<configuration>
 

<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
 
</startup>
</configuration>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 6 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100