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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

507 error generated after session("oRpt").ReadRecords

Status
Not open for further replies.

cisco999

Programmer
Apr 26, 2001
66
US
Using Crystal asp template to generate report via ActiveX viewer. Was working but now only works the first time and then displays "Error reading records: An exception has occurred". The error number is 507. When IIS is reset, the reports will work the first time but not after that. I can access the report via the report designer and Crystal Enterprise's Console Manager without difficultly. It seems related to IIS but I'm not finding any answers as yet. Has anyone experienced this? Running Crystal 8.5, Crystal Enterprise 8.0 on Windows 2000 with IIS 5.0. Thanks for you help!
 
try discarding the saved data in your alwaysrequired.asp

' Turn off specific report error messages
Set oRptOptions = Session("oRpt").Options
oRptOptions.MorePrintEngineErrorMessages = 0

session("oRpt").DiscardSavedData
 
session("oRpt").DiscardSavedData was already there but I added:
Set oRptOptions = Session("oRpt").Options
oRptOptions.MorePrintEngineErrorMessages = 0
but the same results appear.
 
Didn't find anything on Crystal's website. Currently emailing with Crystal support but nothing so far. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top