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

'Physical Database Cannot Be Found' Error

Status
Not open for further replies.

PatrickHH

Programmer
Jun 6, 2002
3
US
I am attempting to access and display a report (CR 8.5) I created with an Active Sever Page (ActiveX viwer). The report has a date range parameter. When I run the ASP, I get a 'Physical Database Not Found' error. When I run the report from the RDE, it runs just fine. I have searched the knowledge base and have made suggested modifications to no avail.

The core code I am having trouble with is:

Set session("oRpt") = session("oApp").OpenReport(ReportName,1)
Session("oRpt").MorePrintEngineErrorMessages = 0
session("oRpt").EnableParameterPrompting = False

session("oRpt").ParameterFields.Item("1").DiscreteOrRangeKind = 1
session("oRpt").ParameterFields.Item("1").AddCurrentRange CDate
("5/20/2001"),CDate("6/05/2006"),CDbl("3")

If anyone has any suggestions, I would appreciate it.

Patrick Holzer

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top