c# - CrystalReport Load report failed -
I have a window application project (C # and .NET 2.0) which used crystal report 2008. But I get an error sometimes (it seems to be wrong) in the loading report. This error is:
CrystalDecisions.Shared.CrystalReportsException: load report failed. System.Runtime.InteropServices.COMException (0x8000020D): Unable to load reports. CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open (Object & amp; DocumentPath, Int32 option) on CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened () on the OpenObject (Object & amp; DocumentPath, Int32 option) Internal end upstream stack trace --- CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpen () CrystalDecisions.CrystalReports.Engine.ReportDocument.Load (string filename, OpenReportMethod openMethod, Int16 parentJob) CrystalDecisions.CrystalReports.Engine.ReportDocument.Load (string filename ) On.
Please guide me on SIA.DataTransfer.Forms.frmReport.GetStateReport (Int32 transferType). How do I solve this problem?
If your application is a standalone executable then this error occurs because you fix your report object You will see this error in running the application in the form of an ASP.NET app that many users are accessing your site simultaneously when you are finished.
HKEY_LOCAL_MACHINE \ SOFTWARE \ Crystal Decision \ 10.0 \ Report Application Server \ Server \ PrintJobLimit You will be able to quickly change this registry key by changing it soon For generating it
It is normally defaulted to 75 for debugging you can set for a small value and cause error to appear soon.
When you are using a report object, call .close () method which will clear unused resources used.
Those are the ones that are referring to changing the -1 setting. This is a mistake, it will only be the cause of other problems for an application that has been running for a long time. The process will eventually run out of resources and will start the methods that will be difficult to troubleshoot in.
Comments
Post a Comment