Groups | Blog | Home
all groups > inetserver asp db > october 2003 >

inetserver asp db : Operation must use an updateable query.


Frustrated
10/29/2003 1:23:14 PM
This is the error that I get:

[Microsoft][ODBC Microsoft Access Driver] Operation must
use an updateable query.

It worked previously before I installed Jet 4.0 SP 8 b/c
Access 2003 requested it. Database is in Access 2002
format.

This is what I'm doing.
---------------------------------

Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq="
& g_DatabasePath & "; Data
Provider=Microsoft.Jet.OLEDB.4.0"

Set RSw=Server.CreateObject("ADODB.RecordSet")
RSw.CursorLocation = 3
RSw.LockType = 3

sQuery="Select * from People;"
RSw.Open sQuery, Conn

RSw.AddNew
RSw("Name")=sName
RSw.Update
RSw.Close
Conn.Close

--------- and in another instance just by replacing the
last 5 lines with the following:

RSw("Name")=sName
RSw.Update
RSw.Close
Conn.Close
anonymous NO[at]SPAM discussions.microsoft.com
10/29/2003 1:33:03 PM

Search under www.aspfaq.com

Most likely a permissions problem with Internet Guest
Account modifying the database.

[quoted text, click to view]
Ray at <%=sLocation%
10/29/2003 4:35:08 PM
We heard you the first time. ;]

Ray at work
[quoted text, click to view]

AddThis Social Bookmark Button