<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Access Databases and AccessDataSource Control</title><link>http://forums.asp.net/55.aspx</link><description>Discuss using Access as a data store for ASP.NET, and the AccessDataSource control.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/3266796.aspx</link><pubDate>Tue, 30 Jun 2009 14:33:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266796</guid><dc:creator>sirdneo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266796.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=3266796</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1- Right Click on FOlder where mdb file is placed and Select Properties&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;2- Goto Security Tab&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;3- Click Add, then click Location.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;4- Select your pc name, usually first item.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;5- Press Ok, then press advance and then Find Now.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;6- Select ASP.NET user if not exist then select Authenticated Users.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;7- Press Ok. And Select Read/Write/Modify/List FOlder&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8- Also make sure mdb file is not read only.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/3245483.aspx</link><pubDate>Fri, 19 Jun 2009 13:26:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3245483</guid><dc:creator>shabirhakim1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3245483.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=3245483</wfw:commentRss><description>&lt;p&gt;This error USUALLY occurs when you &lt;b&gt;attempts to perform an UPDATE or some other action that alters the information in the database&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;This error occurs because&amp;nbsp;&lt;b&gt;dataobjects what ever ado or ado.net &amp;nbsp;is unable to write to the Microsoft Access &lt;/b&gt;&lt;b&gt;database&lt;/b&gt; due to &lt;b&gt;insufficient write/modify permissions&lt;/b&gt;, which can be easily &lt;b&gt;fixed by granting read/write to IUSR_&amp;lt;machineName&amp;gt; and IWAM_&amp;lt;machineName&amp;gt;&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;IUSR_&amp;lt;machineName&amp;gt; and IWAM_&amp;lt;machineName&amp;gt; come into focus when an anonymous web user needs to modify the Microsoft Access database &amp;amp; while doing so &lt;b&gt;Jet creates an .ldb file to handle database locking&lt;/b&gt;. If the above mentioned 2 users don&amp;#39;t have the necessary permissions, the lock file isn&amp;#39;t created &amp;amp; ultimately the Microsoft Access database can&amp;#39;t be modified..&lt;br /&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;b&gt;To fix this problem, right click on the folder which holds the Microsoft Access database &amp;amp; choose properties. Use the Security tab in Explorer to adjust the properties for this folder so that the Internet Guest account has the correct writable permissions.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Also make sure that the MDB file itself isn&amp;#39;t marked as read-only, and that you don&amp;#39;t have the MDB file open; particularly in exclusive mode; while trying to reach the Microsoft Access database from ASP &lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Regards&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;shabir hakim&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/3227064.aspx</link><pubDate>Fri, 12 Jun 2009 01:50:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3227064</guid><dc:creator>Sayre</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3227064.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=3227064</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;try to right click your access file then uncheck the checkbox if the Read-Only are checked. I think this error result because of the permission.&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2847412.aspx</link><pubDate>Mon, 05 Jan 2009 13:17:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2847412</guid><dc:creator>mryogi76</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2847412.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2847412</wfw:commentRss><description>&lt;p&gt;I have set Full permission to&amp;nbsp;IUSER as well as Everyone for the folder containing mdb, which is App_data. But it doesn&amp;#39;t work for me. I still get - &amp;quot;Operation must use an updateable query.&amp;quot;&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2761270.aspx</link><pubDate>Fri, 21 Nov 2008 22:47:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2761270</guid><dc:creator>slimx3m</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2761270.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2761270</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;thnx for this info. after have my web running locally and then uploading it to my server i had this error and i was able to fix it right-away&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2732714.aspx</link><pubDate>Sat, 08 Nov 2008 05:21:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2732714</guid><dc:creator>shahid_gomalian</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2732714.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2732714</wfw:commentRss><description>&lt;p&gt;I also had the same problem. But by the Grass of Allah i solved it with only a single click if u like, try it :&lt;/p&gt;
&lt;p&gt;&amp;quot;Right click on the folder containing your access database then go to &lt;strong&gt;properties&lt;/strong&gt;-&lt;strong&gt;security tab&lt;/strong&gt;, select &lt;strong&gt;everyone group&lt;/strong&gt; and give it &lt;strong&gt;write permissions&lt;/strong&gt;&amp;quot;. check it out&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2712025.aspx</link><pubDate>Wed, 29 Oct 2008 11:01:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2712025</guid><dc:creator>pkmnambiar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2712025.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2712025</wfw:commentRss><description>&lt;p&gt;The problem is not with the code...&lt;/p&gt;Go to Control Panel &amp;gt;&amp;gt; Administrative Tools &amp;gt;&amp;gt; Computer Management &amp;gt;&amp;gt;&amp;gt;&amp;gt;Services and application &amp;gt;&amp;gt;IIS there right click on the folder containing data base goto properties, then tick on the check box READ and WRITE. After that restart IIS. NOW THE PROBLEM IS SOLVED(No need to go for FAT file system)</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2712021.aspx</link><pubDate>Wed, 29 Oct 2008 11:00:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2712021</guid><dc:creator>pkmnambiar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2712021.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2712021</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;Go to Control Panel &amp;gt;&amp;gt; Administrative Tools &amp;gt;&amp;gt; Computer Management &amp;gt;&amp;gt;&amp;gt;&amp;gt;Services and application &amp;gt;&amp;gt;IIS there right click on the folder containing data base goto properties, then&amp;nbsp;tick on the check box READ and WRITE. After that restart IIS. NOW THE PROBLEM IS SOLVED(No need to go for FAT file system)</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2712017.aspx</link><pubDate>Wed, 29 Oct 2008 10:57:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2712017</guid><dc:creator>pkmnambiar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2712017.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2712017</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Go to Control&amp;nbsp; Panel &amp;gt;&amp;gt; Administrative Tools &amp;gt;&amp;gt; Computer Management&amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;gt;Services and application &amp;gt;&amp;gt;IIS there right click on the folder containg data base and tick on the check box READ and WRITE.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that restart IIS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NOW THE PROBLEM IS SOLVED(No need to go for FAT file system)&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2676670.aspx</link><pubDate>Sat, 11 Oct 2008 10:19:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2676670</guid><dc:creator>Mikesdotnetting</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2676670.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2676670</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;pradeepavadhani:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Operation must use an updateable query.&lt;br /&gt;&lt;b&gt;/webreg/Update1.asp, line 10&lt;/b&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;You are using classic ASP (pages end in .asp) whereas this forum covers ASP.NET (pages end in .aspx).&amp;nbsp; They are completely different.&amp;nbsp; In your case, you need to apply &lt;b&gt;MODIFY &lt;/b&gt;permissions to the IUSR_&lt;i&gt;yourmachinename&lt;/i&gt; account to the E:\Inetpub\wwwroot\WebReg folder.&amp;nbsp; That should solve the problem.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2676410.aspx</link><pubDate>Sat, 11 Oct 2008 04:42:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2676410</guid><dc:creator>pradeepavadhani</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2676410.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2676410</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I need really help from you guys.&lt;/p&gt;
&lt;p&gt;My code is as follows..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;%&lt;br /&gt;&amp;nbsp;dim con&lt;br /&gt;&amp;nbsp;set con = server.createobject(&amp;quot;adodb.connection&amp;quot;)&lt;br /&gt;&amp;nbsp;dim rsdesig&lt;br /&gt;&amp;nbsp;set rsdesig = server.createobject(&amp;quot;adodb.recordset&amp;quot;)&lt;br /&gt;&amp;nbsp;dim str&lt;br /&gt;&amp;nbsp;con.open &amp;quot;PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=E:\Inetpub\wwwroot\WebReg\webreg.mdb&amp;quot;&lt;br /&gt;&amp;nbsp;str=&amp;quot;insert into webreg(AgntName,MmbrSName,mbraccount,orderStatus,DDate)values(&amp;#39;&amp;quot; &amp;amp; request.form(&amp;quot;AgntName&amp;quot;) &amp;amp; &amp;quot;&amp;#39;,&amp;#39;&amp;quot; &amp;amp; request.form(&amp;quot;MmbrSName&amp;quot;) &amp;amp;&amp;quot;&amp;#39;,&amp;#39;&amp;quot; &amp;amp; request.form(&amp;quot;mbraccount&amp;quot;) &amp;amp; &amp;quot;&amp;#39;,&amp;#39;&amp;quot; &amp;amp; request.form(&amp;quot;orderStatus&amp;quot;) &amp;amp;&amp;quot;&amp;#39;,&amp;#39;&amp;quot; &amp;amp; request.form(&amp;quot;hdnSysdate&amp;quot;) &amp;amp; &amp;quot;&amp;#39;)&amp;quot;&lt;br /&gt;&amp;nbsp;Response.Write str&lt;br /&gt;&amp;nbsp;con.Execute str&lt;br /&gt;&amp;nbsp;Response.Redirect &amp;quot;update.asp&amp;quot;&lt;br /&gt;%&amp;gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Once i &amp;nbsp;submit the data from the main page i get this error&lt;/p&gt;
&lt;p&gt;Error Type:&lt;br /&gt;Microsoft JET Database Engine (0x80004005)&lt;br /&gt;Operation must use an updateable query.&lt;br /&gt;&lt;b&gt;/webreg/Update1.asp, line 10&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I have checked all possible steps that you all said previously but still i get this message&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Kindly&amp;nbsp;help me the work i am doing is very critical.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thanks in advance.&lt;br /&gt;Pradeep&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2569870.aspx</link><pubDate>Wed, 20 Aug 2008 18:13:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2569870</guid><dc:creator>vigraman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2569870.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2569870</wfw:commentRss><description>&lt;p&gt;&lt;u&gt;&lt;b&gt;Thank u very much&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards vigraman (India)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2230145.aspx</link><pubDate>Thu, 13 Mar 2008 09:22:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2230145</guid><dc:creator>gorla.naveen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2230145.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2230145</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;Henrix,&lt;/p&gt;
&lt;p&gt;this is naveen&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Query = &amp;quot;insert into PlayerInfo (Name,Email,CharacterName) values (&amp;#39;&amp;quot; &amp;amp; NameBox.Text &amp;#39;,&amp;quot; &amp;amp; MailBox.text &amp;amp; &amp;quot;&amp;#39;,&amp;#39;&amp;quot; &amp;amp; CNameBax.text &amp;amp; &amp;quot;&amp;#39;)&amp;quot; &lt;/p&gt;
&lt;p&gt;in tha above query u missed the single quatation near &lt;strong&gt;mailbox.text &lt;/strong&gt;keep the quatation and try it once&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2142513.aspx</link><pubDate>Wed, 30 Jan 2008 15:01:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2142513</guid><dc:creator>Rkiser1958</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2142513.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2142513</wfw:commentRss><description>&lt;p&gt;I was sure it was on the Server side, and I finally got someone to fix it.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: FIX: Operation must use an updateable query error when using Access db</title><link>http://forums.asp.net/thread/2141648.aspx</link><pubDate>Wed, 30 Jan 2008 07:27:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2141648</guid><dc:creator>Mikesdotnetting</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2141648.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=55&amp;PostID=2141648</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;Rkiser1958:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I am having the same problem except my code works fine on my computer using IIS, now that I have it on the web using a Web Hosting service (on a windows server) all of the &amp;quot;search&amp;quot; commands work but when I try to insert data&amp;nbsp;I get the error:&lt;span&gt; &lt;/span&gt;&lt;span&gt;
&lt;h1&gt;Server Error in &amp;#39;/&amp;#39; Application. &lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;Operation must use an updateable query.&lt;/i&gt;&lt;/h2&gt;
&lt;p&gt;and one of the lines in my code is highlighted&lt;/p&gt;
&lt;p&gt;&amp;quot;SqlDataSource1.insert()&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it says SqlDataSource but it is configured using an Access Data source.&lt;/p&gt;
&lt;p&gt;Like I said it works fine on my computer when I created a virtual directory using IIS.&lt;/p&gt;
&lt;p&gt;Now is the problem with my code or on the server side.&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you had read through the posts in this thread, you would have found that the cause of the error is insufficient permissions. On WinXP, the ASPNET account needs &lt;b&gt;Modify &lt;/b&gt;permissions on the &lt;b&gt;folder &lt;/b&gt;containing the database file.&amp;nbsp; On Win 2k3, it&amp;#39;s the NETWORK SERVICE account.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>