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

Error Occurred creating Report Object: Object doesn't support this pro

Status
Not open for further replies.

SAMJeddah

Programmer
Jul 8, 2003
1
SA
hi,

iam new to using crystal reports with ASP, i had downloaded an sample ZIP file from crystaldecisions developer zone website.

simparameters.asp file which is used to generate report
taking parameters, is generating the Error. i had tried my level best to solve it but it is of no use till now.

ERROR MESSAGE :: Error Occurred creating Report Object: Object doesn't support this property or method

----FILE CODE GENERATING ERROR-------------
'Response.write "Report to open :" & path & reportname
Set session("oRpt") = session("oApp").OpenReport(Path & reportname, 1)

Response.write "<br>" & session("oRpt") & "<br>"
'This line uses the "PATH" and "reportname" variables to reference the Crystal
'Report file, and open it up for processing.

If Err.Number <> 0 Then
Response.Write "Error Occurred creating Report Object: " & Err.Description
'Response.Write "Error Occurred creating Report Object: " & Err.Number
Set Session("oRpt") = nothing
Set Session("oApp") = nothing
Session.Abandon
Response.End
End If

----FILE CODE GENERATING ERROR-------------

Response.write "Report to open :" & path & reportname

this line displays the path and report name and it is correct.

I cant understand why this error is encountered.
any help will be highly appreciated

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top