Thanks Ken, I found that link on a previous search. I've configured the
settings on this box and the web directory to be as liberal as possible, but
nothing seems to be working. I've changed the security settings in IIS to
allow everything and even gave the IUSR_ Administrator rights to see if that
was an issue. On the properties box in Windows Explorer for the folder,
I've allowed everything!
What security settings am I missing and how in the world can I set them in
XP Pro?
Thanks
"Ken Cox [Microsoft MVP]" <> wrote in message
news:ueIqax3%...
> Hi Michael,
>
> This is usually caused by the current user - ASP.NET not having sufficient
> privileges in the directory where the .mdb file is located. Access needs
> to create a locking file when it is run... that requires change
> permissions on the file and directory.
>
> http://support.microsoft.com/default...b;en-us;316675
>
>
> "Michael C#" <> wrote in message
> news:8ZkGd.2079$...
>> Question - I keep getting the above error when I try to run an INSERT
>> query against an Access database. I'm running XP Professional and VS.NET
>> 2003. I run SELECT queries from ASP.NET against it all day long, and
>> when I run the INSERT query inside Access itself, it works fine. But for
>> some reason when I run it from within ASP.NET, I get the "Must Use
>> Updateable Query" error. I've tried searching and have also tried setting
>> the permissions on the directory to be as liberal as possible. Is there
>> another security setting I'm missing? Or is there an incompatibility
>> with my query? Or some other problem?
>>
>> TIA.
>>
>> Here's my code:
>>
>> Dim Con As New OleDb.OleDbConnection
>> ("PROVIDER="Microsoft.Jet.OLEDB.4.0;DATA
>> SOURCE=""C:\InetPub\wwwroot\Test1\STORE.MDB"";USER ID=Admin;PASSWORD=;")
>> Con.Open()
>> Dim Cmd As New OleDb.OleDbCommand("INSERT INTO [tblOrder] ([CustomerID],
>> [Subtotal], [Tax], [Discount], [ShippingMethod], [ShippingCost], [Total],
>> [OrderDate], [ShipName], [ShipAddress], [ShipCity], [ShipState],
>> [ShipZIP], [CCNum], [CCExp]) VALUES (6, 190, 10.2885, 9.5, ""Express"",
>> 10, 200.7885, ""1/15/2005 9:53:29 PM"", ""Joe Mocling"", """",
>> ""Atlanta"", ""GA"", """", """", ""1/1/2005 12:00:00 AM"")", Con)
>> Cmd.ExecuteNonQuery()
>> Cmd.Dispose()
>> Con.Close()
>> Cmd.Dispose()
>>
>