Skip to Content
0
Former Member
Dec 01, 2009 at 09:12 PM

ASP app is throwing error when trying to load any of the Crystal Reports

56 Views

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

A couple notes:yes, I did search for this problem, I've read (and have been confused by) the documentation both on MSDN and this site. I've never used Crystal within a .NET application that I've written, so please treat me like an idiot. I've got 16 hours in this issue and I can't figure out what to do. I don't want to go too far into what I have already tried; I'd rather start a fresh conversation with you (the kind person who is going to save me from death at the hands of my users).

My application was written in .net 1.1 by an outside source. Since then, other apps were installed on the same server that were .net 2.0 (don't know if this is relevant). Recently, we reformatted the server. When I dropped the application back into its former location and hooked it up to IIS, everything was fine except now we can't get any of the reports to load. We just get the error above, along with another that says "CrystalReportViewer - rptViewer Error: Object reference not set to an instance of an object."

The same thing happens on both my Win 2003 app server and my XP SP4 development machine.