Click here to Skip to main content
15,893,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear All,
I am getting following error while running the crystal report in my web application which is converted from .Net1.1 to .Net4.0 framework.

"Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified"

As I already installed crystal reports for Visual Studio 2010 Version=13.0.2000.0 on my local development machine then why it is trying to load Version=9.1.5000.0 and showing above error?

Thanks in advanced...
Please help...

Thanks & Regards,
Yogesh Ishi
Posted

1 solution

Hello ,
If you are running .Net 4 in VS2010, then you may need to add the following to your .config file
<startup uselegacyv2runtimeactivationpolicy="true">
           <supportedruntime version="v4.0" sku=".NETFramework,Version=v4.2" />
      </startup>

thanks
Animesh
 
Share this answer
 
v2
Comments
Member 10580451 31-Oct-14 8:43am    
Thanks for your prompt reply, but sorry to say it's not working.
Still I am getting the same error...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900