I haven't written ASP code to update an Access DB in years. Having a
permission problem. Been working on it for hours, time to get some help.
Running IIS 5 on an XP Pro system. ASP code to update an Access 2002 table
via ODBC. Receive the following error:
ADODB.Recordset (0x800A0CB3)
Current Recordset does not support updating. This may be a limitation of the
provider, or of the selected locktype.
I have set the directory permissions on the directory holding the .mdb to RW
scripts only. Have checked permissions everywhere I can think of.
The code:
set cn=server.CreateObject("ADODB.CONNECTION")
cn.ConnectionString="DSN=Pick3 DBs;UID=;PWD=;DATABASE=il3-digit;APP=ASP
script"
cn.Open
set rs=server.CreateObject("ADODB.RECORDSET")
rs.CursorType = adOpenKeyset
rs.LockType = adLockOptimistic
rs.Open "TWP_Polls", cn, , , adCmdTable
rs.Fields("twp_YVotes") = 100
rs.update
rs.close
Sure could use some help on this. Thanks!
Mike
--------------------------------------------------------------------------------