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

Report Hangs through ASP ??

Status
Not open for further replies.

AndyNova

Technical User
Dec 12, 2001
4
CA
I am using ASP to call a report that is based on a Stored Procedure, using CR8 and SQL 2000/IIS5.

All reports will run fine then one will be selected from the ASP page and the report simply hangs. The ActiveX viewer does not even appear.

It hangs on this line of code, when it is trying to open the report.

Set session("oRpt") = session("oApp").OpenReport(basePath & "myreport.rpt", 1)

All the reports hang and the only way to get them back up and working is to reboot the web server. Once that is done they all work well again for a while then the problem occurs again.

Any suggestions ? Thanks
 
Try this code hope it will work

basePath = Request.ServerVariables("APPL_PHYSICAL_PATH" ) & "\myreport.rpt"

Set session("oRpt") = session("oApp").OpenReport(basePath, 1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top