Crystal report fails to load when application is deployed in IIS

Posted by user1663380 on Stack Overflow See other posts from Stack Overflow or by user1663380
Published on 2012-10-18T16:57:40Z Indexed on 2012/10/18 17:00 UTC
Read the original article Hit count: 282

Filed under:

I copied the packageTmp over to the inetpub/wwwroot, then added a website and included it as my path

installed the crystal report runtime,CRRuntime_32bit_13_0_4

but still did not work

i also have crystalreportviewers13 folder in wwwroot/aspnet _client/systemweb/4_0_30319

this is the error I encountered when I go to the page with crystal report

may i know where the path is defined? This problem occurs when I deploy my application in IIS.

Exception Details: System.Runtime.InteropServices.COMException: Invalid file name.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[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() +270 [CrystalReportsException: Load report failed.] CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +333 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +877 CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +1183 CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +113 CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type) +53 CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataTable dataTable) +66

© Stack Overflow or respective owner

Related posts about crystal-reports