I'm using Crystal Reports 10 and .NET 1.1 to build a web application. The development machine I'm working on is hosting the web application locally (it's a Windows XP w/SP2 PC).
Every time I attempt to load a Crystal report in the application, i get the following error:
[tt]
Exception Details: System.Runtime.InteropServices.COMException: Invalid class string
Source Error:
Line 42:
Line 43: objDS = ReportController.GetDeaData()
Line 44: objReport.Load(ConfigurationSettings.AppSettings("gblReportRoot") & "dea.rpt")
Line 45: objReport.SetDataSource(objDS)
Line 46:
Source File: C:\Projects\MSHP\ProviderDatabase\ Line: 44
Stack Trace:
[COMException (0x80004005): Invalid class string
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +72
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +269
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +739
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +52
ProviderDatabase.rpt_dea.BuildReport() in C:\Projects\MSHP\ProviderDatabase\ ProviderDatabase.rpt_dea.Page_Load(Object sender, EventArgs e) in C:\Projects\MSHP\ProviderDatabase\ System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
[/tt]
It's the same error as this thread: thread782-1096726.
By the way, these reports and web application run fine on a Windows 2000 Server and a Windows 2003 Server. Maybe something in Windows XP is ... not working correctly?
Can anyone help?
Every time I attempt to load a Crystal report in the application, i get the following error:
[tt]
Exception Details: System.Runtime.InteropServices.COMException: Invalid class string
Source Error:
Line 42:
Line 43: objDS = ReportController.GetDeaData()
Line 44: objReport.Load(ConfigurationSettings.AppSettings("gblReportRoot") & "dea.rpt")
Line 45: objReport.SetDataSource(objDS)
Line 46:
Source File: C:\Projects\MSHP\ProviderDatabase\ Line: 44
Stack Trace:
[COMException (0x80004005): Invalid class string
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +72
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +269
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +739
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +52
ProviderDatabase.rpt_dea.BuildReport() in C:\Projects\MSHP\ProviderDatabase\ ProviderDatabase.rpt_dea.Page_Load(Object sender, EventArgs e) in C:\Projects\MSHP\ProviderDatabase\ System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
[/tt]
It's the same error as this thread: thread782-1096726.
By the way, these reports and web application run fine on a Windows 2000 Server and a Windows 2003 Server. Maybe something in Windows XP is ... not working correctly?
Can anyone help?