all groups > dotnet academic > may 2004 >
You're in the

dotnet academic

group:

must use an updatable querry


must use an updatable querry Abhishek Agarwal
5/29/2004 3:41:03 AM
dotnet academic:
I am using ASP.NET on a standalone system, running Win XP SP-1, with IIS 5.1. My 'aspx' page displays dynamic data from database but when i try to insert, it gives the error of 'must be updatable querry'. (80004005

My database is very simple test database (MS Access 2003) so no problem with referntial integrety
I have checked the read-only permissions on the mdb file.(though all the folders show this enabled)
I even transfered the file to shared documents, to a web shared folde
I also tried giving IUSR account the administrator privilages, but didnt work

Re: must use an updatable querry Peter van der Goes
5/29/2004 7:07:44 AM

"Abhishek Agarwal" <abhi_chemical(remove this)@rediffmail.com> wrote in
message news:4C9CB710-BED9-4672-B64B-02DF225C8E62@microsoft.com...
[quoted text, click to view]
5.1. My 'aspx' page displays dynamic data from database but when i try to
insert, it gives the error of 'must be updatable querry'. (80004005)
[quoted text, click to view]

Can you provide some specific information about the table(s) involved and
the query that is used to retrieve the data displayed? It would also help if
you could show the code snippet which attempts the insert and identify the
line that throws the error.
I am confused by your statement "I have checked the read-only permissions on
the mdb file.(though all the folders show this enabled)"
Do you mean that you have confirmed the file is not read-only?

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

Re: must use an updatable querry Bill Burrows (MVP)
5/29/2004 4:21:43 PM
Hi Abhishek,

See http://www.webthang.co.uk/tuts/tuts_asp/gk_errors/gk_errors.asp#1 for
some possibel help.

bill b
"Abhishek Agarwal" <abhi_chemical(remove this)@rediffmail.com> wrote in
message news:4C9CB710-BED9-4672-B64B-02DF225C8E62@microsoft.com...
[quoted text, click to view]
5.1. My 'aspx' page displays dynamic data from database but when i try to
insert, it gives the error of 'must be updatable querry'. (80004005)
[quoted text, click to view]

RE: must use an updatable querry ToJo
7/1/2004 2:06:01 PM
I have seen this error in 2 cases:

1. When database file is read only
2. When the security settings prevent from modifying the file(database). In this case, go to explorer, right click on the file, select proeprties and go to the Security tab. If you really don't care about the security issues, select the user "Users" and sgive "Full Control".
Hope this will help.

- Tony


[quoted text, click to view]
RE: must use an updatable querry ToJo
7/1/2004 2:06:02 PM
I have seen this error in 2 cases:

1. When database file is read only
2. When the security settings prevent from modifying the file(database). In this case, go to explorer, right click on the file, select proeprties and go to the Security tab. If you really don't care about the security issues, select the user "Users" and sgive "Full Control".
Hope this will help.

- Tony


[quoted text, click to view]
Re: must use an updatable querry Sriram Krishnan
7/12/2004 1:53:57 AM
I've faced this very same error. Just give the ASPNET_WP user read/write
rights to the MDB file and it'll work fine. If you don't know how to
change the permissions, just post back here


[quoted text, click to view]


--
Sriram Krishnan

----------------------------------------------------
I blog at http://www.dotnetjunkies.com/weblog/sriram
AddThis Social Bookmark Button