My Adsense

Thursday, September 15, 2011

Can not load 'crdb_adoplus.dll' solved by useLegacyV2RuntimeActivationPolicy

In one of my current project, I am using visual studio 2010. I need to show report for some features. Well, everything was going smoothly before i installed my Windows 7 again in last week.
after installing visual studio 2010, I installed the crystal report executables provided by BusinessObjects .
then i ran my project and tried to open the report. But unfortunately it was showing the following error
"Could not load file or assembly 'file:///C:\Program files (x86)\Sap BusinessObjects\Crystal Reports For .Net Framework 4.0\Commom\Sap BusinessObjects Enterprise XI4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified."
In enlarged mode:

I have searched and found a solution. I just needed to put the useLegacyV2RuntimeActivationPolicy="true" into the          tag under tag. 

And guess what? The report is not displaying like below:

I am not sure why it is happening. I will write another blog post about it. Keep in touch. :)