Hello guys,
I have a solution (.Net Framework 2.0 Windows forms application) where I use Crystal Reports 10. It is running just fine on every x86 machine we have tested until now, using Crystal runtime deployment packages (MSM or MSI).
I now installed a new Windows Server 2003 R2 Standard x64, with Visual Studio 2005 and Crystal Reports 10. The application builds correctly but when I start it, the following error appears:
--------------------------
-
The type initializer for 'CrystalDecisions.CrystalR
eports.Eng
ine.Report
Document' threw an exception.
--------------------------
-
Inner exception is:
Retrieving the COM class factory for component with CLSID {CF76A644-314B-404D-8D45-F
08B51FF990
B} failed due to the following error: 80040154.
--------------------------
-
I tried reinstalling everything from Crystal using the newest merge module as well as the latest runtime distribution from Business Objects. The problem remains the same. I tested the application on several other x64 servers, where the development environment is not installed (only Crystal runtime redistrubutables) with exactly the same result.
According to Google the error 80040154 means that a class library is not registered. I don't know which DLL is failing as this is not written. I checked the registry for the string {CF76A644-314B-404D-8D45-F
08B51FF990
B} and it is very similar to the one I have on the x86 machine where everything is working. I registered the DLL pointed by this key using regsrv32.exe with no difference.
Any ideas what could be the problem?
Start Free Trial