If you have the book Professional Active Server Pages 2 take a look at page 241.
 
regards
 
Phil
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vaughn Thurman
Sent: 28 September 1999 15:46
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Off Topic: ASP Help

 

<%

Where is the connection?

    Set oCn = Server.CreateObject("ADODB.Connection")

Set oRS = Server.CreateObject("ADODB.RecordSet")

<!-- problem below is what your ASP.dll is complaining about -->

oRS.Open "contact", "Advertisers"

      - oRS.Open SQLStatmentGoesHere, Connection object goes here

oRS.Open("Select contact FROM Advertisers", oCN")

oRS.Find "Nickname = 'ABC'", 0, 0

oRS.Close

Set oRS = Nothing

%>

But I keep getting the following error message, why???
 
 ADODB.Recordset error '800a0bb9'

The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.

/ScoobyNet/test.asp, line 14

Any help would be appreciated.
 
Phil

Reply via email to