Crystal Reports, error when upgrade from 3.5 to 4.5 framework

Hi,

After update my vb.net project from 3.5 to 4.5 framework the following error occurs:


System.IO.FileNotFoundException has not been manipulated
Message: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
Additional information: 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 can not find the file specified.

Version of Sap Crystal Reports is 13.0.10

best regards
rflorencioAsked:
Who is Participating?
 
mlmccCommented:
Why did you update to framework 4.5?

You probably need a service pack for Crystal 13.  See this link for the SPs
http://scn.sap.com/docs/DOC-7824

I believe you need at least SP9
http://scn.sap.com/thread/3539855

mlmcc
0
 
rflorencioAuthor Commented:
Hi,

To use a component that need 4.5.
0
 
mlmccCommented:
Then you will need to upgrade Crystal so it can be used in 4.5

mlmcc
0
 
rflorencioAuthor Commented:
Hi,

After modify app.config file in debug folder, works.

<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.