cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to open report- Please help

Former Member
0 Kudos

We are using crystal reports 10 for report development.

Development environment is

Visual studio .net 2003. We are connecting to oracle database through OLEDB provider.

We are using procedure to bind the crystal report and the result is export to PDF file.

But from 2 days we are facing problem of "Failed to open report"

Failed to open report.

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: Failed to open report.

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 (0x800003e5): Failed to open report.]

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) +734

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

Hiring.User.Reports.TradeWiseDepartWiseDatewise.btnprint_Click(Object sender, EventArgs e)

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33

System.Web.UI.Page.ProcessRequestMain() +1273

-


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Make sure the win\temp directory and the directory that the pdf is exported to have read / write permissions and that there is HD space.

If that does not help, I'd suggest the utility Process Monitor to see if the logs help you out. Process Monitor is here:

http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx

make sure you filter for your process as ProcMon tends to make rather larger files...

If this is a critical issue, you may want to consider obtaining phone support at this link:

http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryI...

Ludek

Former Member
0 Kudos

Yes the temp folder is having read/ write permissions. These reports were working fine few days back.

Suddently its started giving this error.

Also process monitor may impact on the performance of out application. will you please suggest me a way out of it.

former_member183750
Active Contributor
0 Kudos

Well, you only run process monitor once, so there is no performance impact as such.

As a test, also consider installing the CR designer and see if the reports work there.

Ludek

Answers (0)