Advertisement

03.26.2008 at 08:42AM PDT, ID: 23270866
[x]
Attachment Details

Using Crystal Fails on x64 Windows Server Standard

Asked by TheAvenger in Crystal Reports Software, .NET, C# Programming Language

Tags: , , ,

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.CrystalReports.Engine.ReportDocument' threw an exception.
---------------------------
Inner exception is:
Retrieving the COM class factory for component with CLSID {CF76A644-314B-404D-8D45-F08B51FF990B} 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-F08B51FF990B} 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
[+][-]03.26.2008 at 10:04AM PDT, ID: 21213848

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 11:35AM PDT, ID: 21214782

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 10:47AM PDT, ID: 21265498

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Crystal Reports Software, .NET, C# Programming Language
Tags: Business Objects, Crystal Reports, 10, Windows Server 2003 Standard x64
Sign Up Now!
Solution Provided By: TheAvenger
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628