Re: asp recordset
From: Bob Barrows (reb01501_at_NOyahoo.SPAMcom)
Date: 03/17/04
- Next message: Stephen Cairns: "Re: asp recordset"
- Previous message: Jeff Cochran: "Re: Comparing two records"
- In reply to: Stephen Cairns: "Re: asp recordset"
- Next in thread: Stephen Cairns: "Re: asp recordset"
- Reply: Stephen Cairns: "Re: asp recordset"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 09:26:34 -0500
Stephen Cairns wrote:
> Its just when I have that part of the code like that: -
> set dbconn = server.CreateObject("ADODB.Connection")
> '<snip of code to open the connection>
> dbconn.Open Application("connectionString")
> set rs = server.CreateObject("ADODB.Recordset")
> rs.CursorLocation=3 'adUseClient
> dbConn.ByClassPUBCLASS lsDate, rs
> Response.Write "<table border=1 width=""100%"">"
>
> I get the the following error message: -]
>
> Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
> [Microsoft][ODBC SQL Server Driver]Optional feature not implemented
> /ByClassPUBCLASS.asp, line 98
Why are you using ODBC? Why not use the native OLEDB provider?
dbConn.open "provider=sqloledb;" & _
"data source=yourserver;" & _
"initial catalog=yourdatabase;" & _
"user id=login_name;" & _
"password=xxxxxxx"
Bob Barrows
-- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM"
- Next message: Stephen Cairns: "Re: asp recordset"
- Previous message: Jeff Cochran: "Re: Comparing two records"
- In reply to: Stephen Cairns: "Re: asp recordset"
- Next in thread: Stephen Cairns: "Re: asp recordset"
- Reply: Stephen Cairns: "Re: asp recordset"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|