With the launch of VS 2010, we start using VS 2010 and used the new improved IDE and features of VS 2010.
While woring with a windows based application we have requirement to use Crystal Report. We are able to add and design a new Crystal Report without facing any problem.
After writing the code to show data, we start getting a unique problem of "crdb_adoplus.dl". We searched for many solution and finally find the solution.
We added the following attributes in app.config
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
So, the final app.config will be :-
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</connectionStrings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Reference :
http://social.msdn.microsoft.com/Forums/eu/vscrystalreports/thread/2503389c-6d25-48d3-bb15-25ed67f52f21
While woring with a windows based application we have requirement to use Crystal Report. We are able to add and design a new Crystal Report without facing any problem.
After writing the code to show data, we start getting a unique problem of "crdb_adoplus.dl". We searched for many solution and finally find the solution.
We added the following attributes in app.config
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
So, the final app.config will be :-
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</connectionStrings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Reference :
http://social.msdn.microsoft.com/Forums/eu/vscrystalreports/thread/2503389c-6d25-48d3-bb15-25ed67f52f21