How to delete a database record using ASP

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

farooqi123

Thread Starter
Joined
Jun 30, 2005
Messages
23
I have written an ASP script to delete a database record (MS Access). There is no error in the code but raise the following error at runtime. "No Update Permission". I have tried to set the Inetpub and wwwroot folders as Read and Write by clicking right on these folders, but still this is not working while I can read and insert the records from the database successfully.....

Can any body help me how to set the Update permissions so that I will be able to delete records from database......Thank You
 
Joined
Jul 29, 2001
Messages
21,334
YOu have to set these permissions in IIS since it is the anonymous user account that is doing the access.
 

farooqi123

Thread Starter
Joined
Jun 30, 2005
Messages
23
Please can u tell me how to set the permissions in IIS so that I will be able to delete records from MS Access table using ASP. I will be very thankful to you...
 
Joined
Jul 29, 2001
Messages
21,334
If you cannot delete them I am assuming that you cannot add new records either. Go into IIS, right click on the web site you want to edit and select properties. Go to Home Directory tab and set the Execute Permissions to Scripts & Executables and set the IIS Process to low.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top