Click here to Skip to main content
15,905,419 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello Everybody,
Recently I migrated my application developed in Visual Studio 2008 to Visual Studio 2012. I am using crystal reports in the application. For this, I have installed the supported version of SAP Crystal Reports 2013. Now, My application is running properly but whenever I generate reports it shows "Failed to load database information. Error in File temp_{GUID}.rpt". I don't understand if I am missing anything. I have visited all the related solutions in this community but none of them helped me. So, I am posting this question, if anyone can help me. My project is successfully migrated from 2008 to 2012.

What I have tried:

I have tried all the related links here. Some said to reopen the crystal reports files in the project and save it. It will automatically upgrade.
Posted
Updated 29-Mar-17 5:18am

1 solution

Problem Solved. I guess it might help someone. Actually the problem is in the configuration which integrates the application with crystal reports(SAP). What I did is :


Added the <startup> code below code under the <configuration> element in your app.config file.

<startup useLegacyV2RuntimeActivationPolicy="true">


This one helped my application to run successfully.
useLegacyV2RuntimeActivationPolicy="true"
 
Share this answer
 

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