Was working last week and now I get messages like.....
for delete
Microsoft JET Database Engine (0x80004005)
Could not delete from specified tables.
command is
Set cnnDBEdit = Server.CreateObject("ADODB.Connection"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
cnnDBEdit.Open CONN_STRING
cnnDBEdit.Execute strSQL, adAffectAll, adExecuteNoRecords
or
for Edit
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
Command is
Set cnnDBEdit = Server.CreateObject("ADODB.Connection"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
cnnDBEdit.Open CONN_STRING
Dim adAffectAll
cnnDBEdit.Execute strSQL, adAffectAll, adCmdText or adExecuteNoRecords
or
for add
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
command is
Set rstDBEdit = Server.CreateObject("ADODB.Recordset"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
rstDBEdit.Open strSQL, CONN_STRING, adOpenKeyset, adLockOptimistic, adCmdText
Have check properties on Access DB and they all look right. I even used windows explorer to check the properties of the DB file and are set for archiving. I even went back to a copy of the web I had on another computer. Counldn't run the web on the other computer since I had no server set up on it, but it was a copy of the one that worked last week.
Any Ideas would be helpful.
for delete
Microsoft JET Database Engine (0x80004005)
Could not delete from specified tables.
command is
Set cnnDBEdit = Server.CreateObject("ADODB.Connection"
cnnDBEdit.Open CONN_STRING
cnnDBEdit.Execute strSQL, adAffectAll, adExecuteNoRecords
or
for Edit
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
Command is
Set cnnDBEdit = Server.CreateObject("ADODB.Connection"
cnnDBEdit.Open CONN_STRING
Dim adAffectAll
cnnDBEdit.Execute strSQL, adAffectAll, adCmdText or adExecuteNoRecords
or
for add
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
command is
Set rstDBEdit = Server.CreateObject("ADODB.Recordset"
rstDBEdit.Open strSQL, CONN_STRING, adOpenKeyset, adLockOptimistic, adCmdText
Have check properties on Access DB and they all look right. I even used windows explorer to check the properties of the DB file and are set for archiving. I even went back to a copy of the web I had on another computer. Counldn't run the web on the other computer since I had no server set up on it, but it was a copy of the one that worked last week.
Any Ideas would be helpful.