Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sporadic errors w/ CR inside VB.NET

Status
Not open for further replies.

Becks25Not

Programmer
Jun 23, 2004
176
US
Hi All,

I have an application that creates several reports using Crystal Reports inside of VS.Net (2003). My users get errors but they are very sporadic. If they rerun, everything works fine. There does not seem to be any rhyme or reason to them. Any insight anyone has would be most helpful!!

The errors are:
Code:
Message --> Print engine not opened.
Source --> CrystalDecisions.CrystalReports.Engine
StackTrace -->    at .F(String 	, EngineExceptionErrorID 
)
   at .A(Int16 , Int32 )
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
   at DG_Scheduler.XlsPlantLoad.FrmXlsPlantLoad.i_SkippedUpdatesReport()

and

Code:
Message --> Object reference not set to an instance of an object.
Source --> CrystalDecisions.CrystalReports.Engine
StackTrace -->    at CrystalDecisions.CrystalReports.Engine.FormatEngine.internalSetReportInfo(RequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.internalGetViewContext(ReportPageRequestContext reqContext, * viewContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
   at DG_Scheduler.XlsPlantLoad.FrmXlsPlantLoad.i_SkippedUpdatesReport()

Thanks in advanced!!
Becca
 
Becca

Might be worth checking for updates for CR bundled with .Net. I personally had lots of gripes with the CR that comes bundled with .Net, and in the end I upgraded to version 10, which has some of the more annoying bugs fixed.
Are your errors all related to Exporting data?

Sweep
...if it works dont mess with it
 
Yes, they are all related to exporting. I wasn't thinking about adding a Try Again since it seems to just go away.

Thanks for responding Squeakin! I'll check out the hot fixes.
 
Hi Becks25Not

I've got the same error than you.

Did you find anything to fix this issue ?


regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top