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

.absolutepage property of Recordset

Status
Not open for further replies.

jimny

Technical User
Oct 18, 2002
52
US
In an ASP page I am trying to use rs.absolutepage but continually get

ADODB.Recordset error '800a0cb3'

Object or provider is not capable of performing requested operation.

/classified search/basicCS.asp, line 90



I installed the latest sevice pak for JET(service pack 6.0) on the server and change my connection provider to 'SQLoEDB' and still get the same error. What should the provider or connection string be formatted as to use this property?

Iam using:

Set conn = Server.CreateObject("ADODB.Connection")
conn.Provider = "sqloledb"
conn.Properties("DataSource").Value = servername
conn.Properties("Initial Catalog").Value = Databasename
conn.Properties("User ID").Value = "sa"
conn.Properties("Password").Value = ""
conn.Open

Any pointers R much appreciated.
 
did you set the cursor and lock type to adOpenKeyset, adLockReadOnly _________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
onpnt2.gif
[/sub]
 
Thanks onpnt, but I did set the cursor And locktype:

rsSearch.Open strSQL, conn, adOpenKeyset, adLockReadOnly


I wish it were that easy. Do you know of anything else that might affect it? I got the service pack hint from MSDN, but it didn't do boo.
 
I found a refernce to someone else having this problem and changing to adUseClient fixed their problem. try it out.


also in regards to this

_________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
onpnt2.gif
[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top