PDA

View Full Version : Can't solve access right problem - please help


bostjank
08-28-2002, 06:04 PM
I have NT Server 4.0 IIS 4.0 installed on our server. Furthermore I have ASP pages that are part of our intranet. The problem is that whenever an ASP page want to write to a database, there is error message saying
"The operation must use updateable query"

The logical solution would be setting the appropriate level o permissions to the INTERNET_GUEST_ACCOUNT users. There is no such group of users available, but I gave the group "Everybody" right to write to the database file and folder.

The problem stil persisted. Next I tried to set the "conn.Mode" to "3" (read/write), but nothing changed.

Could you please help me and tell me what else could be wrong, or if there is some other way of setting permissions (I used Explorer/properties/security).

My server is an intranet server only, and IIS 4.0 was installed after the NT Server was installed.


Thanks very much,
Bostjan:thumbsup:

webmarkart
08-28-2002, 08:31 PM
Just out of curiosity, did you grant write access to that particular folder on the server where the database is?

If the folder itself doesnt have write access nothing will write to the database no matter how you code the asp.

bostjank
08-28-2002, 10:27 PM
Yes I did - on the folder and the file.

Roy Sinclair
08-29-2002, 07:23 PM
If it isn't permissions then it's the way you run the query, the cursor type you used may create a non-updateable record set.

bostjank
08-29-2002, 09:28 PM
The same set of ASP files and MDB file work perfectly on my computer and on any public internet server...

whammy
08-31-2002, 12:47 AM
Did you check Users AND Security for that folder? Sometimes I couldn't get it to work either, but delete all the entries that are there now, and redo it making sure you check both things.