I'm working on an project that requires me to upgrade an existing Crystal Reports .NET 1.1 applications to .NET 2.0 using VS2005 Professional. The conversion process runs smoothly, and the application works properly on my local machine, but when I deploy the application to a remote test server, there are many errors when trying to create the required reports. The test server is a Windows 2003 Server, with both .NET 1.1 and .NET 2.0 installed. Also, I installed CRRedist2005_x86.msi on the server.
Following is a snapshot of the error produced:
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1334
Description:
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/1330659977/Root
Process ID: 5248
Exception: System.TypeInitializationException
Message: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
StackTrace: at CrystalDecisions.CrystalReports.Engine.ReportDocument.Finalize()
InnerException: System.IO.FileNotFoundException
Message: Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 8007007e.
StackTrace: at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
On the web page, the following exception is visible:
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
I'm guessing it has something to do with the fact that the version of Crystal Reports on the server is 9.1.5000.0, and the application being deployed uses 10.2.3600.0, but cannot find any viable solution to the situation.
Any help would be greatly appreciated as I'm EXTREMELY confused. Thanks.