Note that there are some explanatory texts on larger screens.

plurals
  1. POAccess DB - Operation must use updateable query
    primarykey
    data
    text
    <p>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</p> <p>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. </p> <p>Whenever I try to update, insert, or delete I get the above error "Operation must use an updateable query."</p> <p>I have applied the following permissions to the App_data folder:</p> <pre><code>machinename/IUSR - modify machinename/ASPNET - modify NETWORK SERVICE - modify domainname/myaccount - full </code></pre> <p>I even went crazy and gave the group EVERYONE full permissions, but that didn't work either. </p> <p>In my web config I have the following line:</p> <pre><code>&lt;identity impersonate="true"/&gt; </code></pre> <p>This line is to impersonate my login account to provide access to the application. </p> <p>I still cannot perform insert, update, or delete queries. Any ideas?</p> <p><strong>UPDATE:</strong></p> <p>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.</p> <ol> <li>My permissions are set as the MS article describes.</li> <li>The database is being opened in the correct mode, else it wouldn't work while testing.</li> <li>I'm not using ODBC, so that's out.</li> <li>I'm not using SQL server, so that's out too.</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload