I have a website I've built in VS2005, C#, .NET 2.0. This website does transactions against an Access database. It works fine in development. The mdb file resides in App_Data
I have setup IIS on this machine to test the website as it would be deployed. I published the site to my IIS virtual directory. All went well.
Whenever I try to update, insert, or delete I get the above error "Operation must use an updateable query."
I have applied the following permissions to the App_data folder:
machinename/IUSR - modify
machinename/ASPNET - modify
NETWORK SERVICE - modify
domainname/myaccount - full
I even went crazy and gave the group EVERYONE full permissions, but that didn't work either.
In my web config I have the following line:
<identity impersonate="true"/>
This line is to impersonate my login account to provide access to the application.
I still cannot perform insert, update, or delete queries. Any ideas?
UPDATE:
Thanks for the response. I have read that article. I have also read about the first 4 pages of google results and all of them talk of permissions to the DB folder. I have followed all suggestions, with no results.
- My permissions are set as the MS article describes.
- The database is being opened in the correct mode, else it wouldn't work while testing.
- I'm not using ODBC, so that's out.
- I'm not using SQL server, so that's out too.