Crystal Reports ActiveX Designer: Failed to open document

marlin

Member
Joined
Apr 23, 2004
Messages
15
I got the following error message on the line that declared a ReportDocument. In addition, when I tried to open any Crystal Reports that I created in Visual Studio 2005, I got "Crystal Reports ActiveX Designer: Failed to open document." and "Microsoft Visual Studio: Failed to create the Crystal Query Engine." error message.

I uninstalled and reinstalled Visual Studio 2005. I had some problem during the uninstallation and installation process. After I finally got VS installed, things seemed to work fine for a short while. When I rebuilt my Setup project for the third time, I got this same error message again.

Is there any way that I can fix this problem? Thanks.



Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 80040154.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 80040154.

Source Error:

Line 16: ***** Load a report to ReportDocument Object.
Line 17: Dim rptBatchCoverPage As ReportDocument = New ReportDocument
Line 18: Dim rptBatchCoverPage As ReportDocument = New ReportDocument
Line 19: Dim strReportFilePath As String = Server.MapPath("..\Reports\crBatchCoverPage.rpt")
Line 20: rptBatchCoverPage.Load(strReportFilePath)


Source File: C:\Inetpub\wwwroot\CFSP\Batch\BatchCoverPage.aspx.vb Line: 18

Stack Trace:

[COMException (0x80040154): Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 80040154.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +182

[TypeInitializationException: The type initializer for CrystalDecisions.CrystalReports.Engine.ReportDocument threw an exception.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
BatchCoverPage.ConfigureCrystalReports(Object sender, EventArgs e) in C:\Inetpub\wwwroot\CFSP\Batch\BatchCoverPage.aspx.vb:18
BatchCoverPage.Page_Init(Object sender, EventArgs e) in C:\Inetpub\wwwroot\CFSP\Batch\BatchCoverPage.aspx.vb:12
System.Web.UI.Control.OnInit(EventArgs e) +98
System.Web.UI.Page.OnInit(EventArgs e) +9
System.Web.UI.Control.InitRecursive(Control namingContainer) +371
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2029
 
Same error, I cant open any crystal report in my production machine anymore, even to create a new c.report in a blank visual studio projet is not possible for me too.
I passed an application with crystal reports inside from visual studio 2003 to v.s. 2005.
I re-install Visual Studio 2005 because I though it was a problem of v.s. installation.
But Im still having the same error message. What is the problem?
Note: My v.s 2005 is installed in the D:\ drive, but it was working well in the past.

Thank you if you have any idea.
 
Back
Top