Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Crystal Reports throws an exception in Visual Studio 2012

$
0
0

Hello,

 

I recently got VS 2012, and downloaded CRforVS_13_0_5.exe, which is what I understand from scn.sap.com/docs/DOC-35074,is the Crystal Reports that will work with VS 2012. I uninstalled CR For VS 2010 and installed CR For VS. CR shows up in the toolbox in VS 2012, and I can put the viewer on a form and design a report. When I test the application  (a Windows Form Application, in VB), I get an error:

 

"The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception."

 

The application I am getting this in has only one form that just displays the report. The report just has one text field that says "Hello, Dotty". I wrote it to test CR. My target Framework is NET 4.0

 

The application that I am writing to sell (a Windows Form Application) was written in VS 2010, and has several reports. It runs and the reports work great when I run it in VS 2012. Again, the target Framework is NET 4.0

 

Why is CR throwing that exception in a new application?

 

 

Thanks,

 

Dotty


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>