on 07-18-2009 10:46 AM
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
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:
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.