DavidArchibald
IS-IT--Management
I'd really appreciate some help with the following problem.
I have developed and tested an ASP application (at home and work using PWS). I have published to the ISP and all is fine except the two scripts when data is saved to the DB! This is not exactly what I want.
The full message is:
MS OLE DB Provider for ODBC Drivers error '80004005'
[MS][ODBC MS Access Driver] Operation must use an updateable query
I'm using an Access 97 db. I hope to move to SQL early next year.
I use an include file to connect to the db:
strDBName = "mydb.mdb"
strPath = Server.MapPath("./"
& "\Database\" & strDBName
Set objConn = Server.CreateObject("ADODB.Connection"
objConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & strPath
That doesn't seem to be the problem (I think!).
Here's the SQL code excerpts:
Set objRS = objConn.Execute("SELECT * FROM ...
sql = "INSERT INTO Table ( ...
sql = sql & "VALUES (...
objConn.Execute sql
Is the problem the type of defaults I'm using or the lack of them?
I have searched MSDN and found plenty of help for other 80004005 errors but not this one.
Thanks for any help.
I have developed and tested an ASP application (at home and work using PWS). I have published to the ISP and all is fine except the two scripts when data is saved to the DB! This is not exactly what I want.
The full message is:
MS OLE DB Provider for ODBC Drivers error '80004005'
[MS][ODBC MS Access Driver] Operation must use an updateable query
I'm using an Access 97 db. I hope to move to SQL early next year.
I use an include file to connect to the db:
strDBName = "mydb.mdb"
strPath = Server.MapPath("./"
Set objConn = Server.CreateObject("ADODB.Connection"
objConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & strPath
That doesn't seem to be the problem (I think!).
Here's the SQL code excerpts:
Set objRS = objConn.Execute("SELECT * FROM ...
sql = "INSERT INTO Table ( ...
sql = sql & "VALUES (...
objConn.Execute sql
Is the problem the type of defaults I'm using or the lack of them?
I have searched MSDN and found plenty of help for other 80004005 errors but not this one.
Thanks for any help.