getting exception after upgraded to .net framework 4
I’m using Visual Studio with Crystal Reports 9 to create a Windows Form. I’ve changed the “Target Framework” of my project from 3.5 to 4.0. After that, I’ve started to receive an exception when I try to run my report. The exception says:
“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.”
The strange thing is that this does not happen ALL the time. It usually gives that exception, but ones in a while the report runs fine. What is causing that?
Thanks so much.
Bhushan Hyalij replied
by Crystal reports 9 do you mean 9.0 file version?
If yes, then you should upgrade Crystal version because CR 9 does not support .NET framewor 4.0 or 3.5 or 3.1 or even 2.0.
See the compatibility chart.
With VS 2010 / 2012/ 2013 use SAP Crystal reports for Visual Studio SP10.
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place