Re: IIS7: cannot access a database from a page with authentication on local webserver

Hi Noeld,

As an example, if the authentication user account is Tester, the mdb file
is located at: C:\Users\Tester\Documents\databasename.mdb . Then we need to
grant Tester account with Read/Write permission to the following pathes:

1. Give the Tester account permission to:

2. Give the Tester account Full Control permission to the database file:

3. Give the Tester account Full Control permission to the database folder:

You can grant the permission by using Windows explorer instead of using the
icacls command. After applying the changes on permission, restart IIS
services to clear up ACL cache and test again.

Please update here how things are going. If problem still persists, we will
assist on further troubleshooting.

Have a nice weekend.


WenJun Zhang

Microsoft Online Community Support


Get notification to my posts through email? Please refer to:

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:


This posting is provided "AS IS" with no warranties, and confers no rights.