Skip to main content

Could not load file or assembly error in VS 2010 and CR

when u received this kind of 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."


try to add this to your .config file (usually app.config)

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


PS: don't forget to remove extra space after "<" because blogger need the extra space so it can display correctly

see u

Comments

joepadz said…
Thanks dude it works!
Anonymous said…
Thank you.It was helpful
Anonymous said…
excellent...