Server cannot access application directory D:\xxx. The directorydoes not exist or is not accessible

  • Thread starter Thread starter Matthias Wohlmann
  • Start date Start date
M

Matthias Wohlmann

Hi,
I'm getting the following error when trying to start my application
using Internet Explorer:
"Server cannot access application directory D:\xxx. The directory does
not exist or is not accessible because of security settings."
In IIS I have set Directory Security for my application to allow
Anonymous access (using IUSR_<Server>) and Integrated Windows
authentication.
In the web.config i have set impersonation="true" userName="test".
Security settings for directory D:\xxx are the following:
Administrator: Full Control
Anonymous LOGON: Read & Execute; List Folder Contents; Read
ASP.NET Machine Account: Full Control
test (user for impersonation): Full Control
Internet Guest Account: Read & Execute; List Folder Contents; Read

The strange thing is: When I add the "Administrators" group to the
security settings for directory D:\xxx (Full Control), everything works
fine. I have looked up the members of the "Administrators" group: The
only member is the "Administrator" User who already had all rights on
the directory.

I have no problem to add the "Administrators" group to the security
settings of the directory, but I don't know how to explain that to our
customers.
Does anyone have an idea, why that happens?

Thank you,
matthias
 
Mapped drives are per-logon session, so if you logon to the machine is map
that drive to d: it doesn't mean your ASP.NET app running under a different
logon session will see it. Try using UNC instead to access the share.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Hi,
D: is not a share. It's a local hard disc...

Brock said:
Mapped drives are per-logon session, so if you logon to the machine is
map that drive to d: it doesn't mean your ASP.NET app running under a
different logon session will see it. Try using UNC instead to access the
share.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 

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

Back
Top