Skip to Content
0
Former Member
Feb 13, 2009 at 09:23 PM

Crystal 2008 filename error on ASP.net page

41 Views

I am new to Crystal reports and the ASP.net development. I have create a simple web application to run and create a list of reports in a treeview. When the user clicks on the report it runs the reports in the crystal viewer in a new blank page. When running on my developer machine it works fine. When on the IIS server I am getting the following error message:

COMException (0x800001fb): Invalid file name

CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +356

CrystalReportsException: Load report failed.

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +418

CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +895

CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84

I am passing the path to the page with the view and then trying to load the report. My application is very similar to the sample application VB_Web_DrpFileDir.

Is there something I am missing?

VS 2008 (asp.net)+ Crystal 2008 + IIS (Win 2003 sp2) + CRRuntime_12_1_mlb.msi