Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8392

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception

$
0
0

I'm developing an ASP.NET 4.0 Web Forms application in VS2013 using Windows 8.1 / 64-bit.  Crystal Reports runs fine in Debug mode from Visual Studio but when I've tried deploying it on different servers, I'm getting a variety of problems:

  1. Sometimes the "type initializer" error shown in the title appears.
  2. Sometimes just a dark gray background appears where the report normally would.

I've read through everything I can find on the Internet and tried several things but cannot get this problem resolved.

 

Assuming that the app will only ever be deployed to a 64-bit version of Windows, what are the correct steps I should take, both with Visual Studio and with the Merge Modules, to get things running properly?

 

Hoping someone can help!

 

Robert Werner
Vancouver, BC


Viewing all articles
Browse latest Browse all 8392

Trending Articles



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