Getting an object error

Results 1 to 2 of 2

Thread: Getting an object error

  1. #1
    Join Date
    Dec 1969

    Default Getting an object error

    I get the following error below on my page. I am creating an instance of an object and using it. Why would it give me this error?<BR><BR>Object required: &#039[object]&#039

  2. #2
    Join Date
    Dec 1969

    Default RE: Getting an object error

    Make sure that when you are creating your object, you use the Set statement. <BR><BR>Wrong: myVar = Server.Createobject("ADODB.Recordset")<BR>Right set myVar = Server.Createobject("ADODB.Recordset")<BR><BR>If you are returning from a function that creates an object, make sure that it is indeed returning an object. You can use the isObject method I believe....<BR><BR>This error typically occurs when you try to do a method call on an object, but haven&#039t instantiated the component correctly....<BR><BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts