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
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