mpoincare
February 28th, 2003, 11:56 AM
I want to insert data from a web page into a microsoft access 2000 database using ADO. I wrote a routine that will do the job. Basically it is structured like that:
dim CONNECTIONSTRING , rs
Set Conn = CONNECTIONSTRING
rs. open conn, "tblname"
rs.addnew
...
rs.update
rs.close
The problem is any time this routine is executed, it stops at the line: rs.addnew and the browser (IE5) displays the message: Microsoft JET Engine error.Cannot update. Database or object is read-only. I went to the folder where the microsoft access file is located and checked to see if the read only property is checked, but it isn't. I also check the permissions on the folder as well as the ones of the web site to make sure that they are appropriate. But it's still not working. Can anybody tell what could be the problem?
dim CONNECTIONSTRING , rs
Set Conn = CONNECTIONSTRING
rs. open conn, "tblname"
rs.addnew
...
rs.update
rs.close
The problem is any time this routine is executed, it stops at the line: rs.addnew and the browser (IE5) displays the message: Microsoft JET Engine error.Cannot update. Database or object is read-only. I went to the folder where the microsoft access file is located and checked to see if the read only property is checked, but it isn't. I also check the permissions on the folder as well as the ones of the web site to make sure that they are appropriate. But it's still not working. Can anybody tell what could be the problem?