Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another MS Access

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
Ok this is very frustrating..

I have my ASP page connecting to the MS Access DB, and I can do my select statments, but it wont let me update, delete or insert. Are there securitys on the Access database or something I am not doing rigth in my RS object? Here is the way I am doing it:

'DB Connect
Set DB = Server.CreateObject("adodb.connection")
DSNString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & server.mappath("database/myDatabase.mdb")
DB.Open DSNString

SQL = "..whatever..."
Set RS = Server.CreateObject("adodb.recordset")
RS.Open SQL, DB

Any help would be great.


 
And the error is ?

Also, action statements (e.g. update, insert, delete, create table) don't return recordsets, so trying to return them into recordsets just wastes resources. codestorm
Fire bad. Tree pretty. - Buffy
select * from population where talent > 'average'
<insert witticism here>
 
Does the IUSR_MachineName-windows-account have write permit on the containing folder? This is not a bug - it's an undocumented feature...
;-)
 
For the same reason you might want to have your db in a folder outside of the and only allow read/write and NOT exe... This is not a bug - it's an undocumented feature...
;-)
 
I found it, it was the folder security for the folder that held the on the file the .mdb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top