I can't write data to an access database in a webfolder of a windows Prof 2000 machine??

N

Norman Fritag

Hi there,
The Problem:
I can't write data to an access database in a webfolder of a windows Prof
2000 machine, whereas the same web application runs fine under Windows XP.

I looked into the windows security setting for the database and found that
is set to deny write access!
The deny setting applies only to the Windows Security Web application and
Web Anonymous setting, it is Ok for all other User and Admin settings.
Now how do I remove the deny setting in windows security settings??
and from where?
Are there any information on the net?

kind regards

Norman
 
K

Ken Schaefer

Hi,

Can you post the exact error message you are seeing? Most of what you posted
doesn't really make any sense.

For an Access .mdb file, you can give Change (RWXD) NTFS permissions to the
folder that the .mdb file is in (and all files contained within that
folder). Do to this, open an Explorer window, right-click on the folder and
choose "Security". You need to give the IUSR_<machinename> account these
permissions (assuming you are allowing anonymous access, and you haven't
changed the account that anonymous access is impersonating)

If this folder is contained inside your website, make sure that in the IIS
Manager, you have removed IIS Read permissions, otherwise people can
download you database by typing in
http://yourserver/databases/yourdatabase.mdb
Better to store the database outside the webroot.

Cheers
Ken

: Hi there,
: The Problem:
: I can't write data to an access database in a webfolder of a windows Prof
: 2000 machine, whereas the same web application runs fine under Windows XP.
:
: I looked into the windows security setting for the database and found that
: is set to deny write access!
: The deny setting applies only to the Windows Security Web application and
: Web Anonymous setting, it is Ok for all other User and Admin settings.
: Now how do I remove the deny setting in windows security settings??
: and from where?
: Are there any information on the net?
:
: kind regards
:
: Norman
:
:
 
P

Paul Clement

¤ Hi there,
¤ The Problem:
¤ I can't write data to an access database in a webfolder of a windows Prof
¤ 2000 machine, whereas the same web application runs fine under Windows XP.
¤
¤ I looked into the windows security setting for the database and found that
¤ is set to deny write access!
¤ The deny setting applies only to the Windows Security Web application and
¤ Web Anonymous setting, it is Ok for all other User and Admin settings.
¤ Now how do I remove the deny setting in windows security settings??
¤ and from where?
¤ Are there any information on the net?

See the following:

PRB: Cannot Connect to Access Database from ASP.NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;316675&Product=aspnet

INFO: Permissions to Connect to a Remote Access Database from ASP.NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;307901&Product=aspnet


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
J

Jeff Cochran

I can't write data to an access database in a webfolder of a windows Prof
2000 machine, whereas the same web application runs fine under Windows XP.

I looked into the windows security setting for the database and found that
is set to deny write access!
The deny setting applies only to the Windows Security Web application and
Web Anonymous setting, it is Ok for all other User and Admin settings.
Now how do I remove the deny setting in windows security settings??

NTFS permissions using Windows Explorer. You need MODIFY access for
the anonymous user (IUSR) account to both the folder and the file.
Are there any information on the net?

Try your help. Look at NTFS permissions.

Jeff
 
P

Paul Clement

¤ Why is this different on XP?

There shouldn't be a difference as both use the same security mechanism.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top