Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 1st, 2005, 10:29 AM
Registered User
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error Occurred creating Report Object: Object does


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

'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
End If


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting .NET error object in VB error object webnet .NET Web Services 0 February 5th, 2007 06:02 AM
Error Creating Excel Object Antony Deepak ASP.NET 1.0 and 1.1 Professional 2 August 2nd, 2006 04:21 AM
Error Creating an XMLDOM object sloynaz Classic ASP XML 7 May 11th, 2004 04:54 PM
error with creating graphics object Dinesh22 VB.NET 2002/2003 Basics 1 January 22nd, 2004 09:41 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.