473,383 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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

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

Jan 2 '06 #1
2 3065
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,
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

Jan 2 '06 #2
Hi,
D: is not a share. It's a local hard disc...

Brock Allen wrote:
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,
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


Jan 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JohnD | last post by:
I am using XP Pro and when I try and run an ASP.NET page on my own server I recieve the following error messag Server cannot access application directory ..(web directory here)... The directory...
1
by: Chris | last post by:
I am runnig IIS 5.0 on W2k. I am not able to run asp.net pages. Application mappings show all .net extensions and .NET 1.1 is installed. I get the following error:
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
3
by: news.iq.ca | last post by:
Hello. Under C:\Documents and Settings\Administrator\My Documents\My Projects\ I have created a folder, "ASPNET" where I plan to keep my projects. I have started Administrative Tools ->...
1
by: Kevin | last post by:
Hi All, When I try to run my very first .net App on the server, I got the error saying that "Server cannot access application directory 'D:\Inetpub\myApp\'. The directory does not exist or is...
0
by: M | last post by:
I installed the Visual Basic .NET Resource Kit. When I click 'Visual Basic .NET Resource Kit' the page at 'http://localhost/VB.NETResourceKit/Welcome.aspx' show: Server Error in...
4
by: TG | last post by:
VB .NET 2003 I get the following error when trying to start my project: Error while trying to run project: Unable to start debugging on the web server. Server side-error occurred on sending...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
1
by: rajalingam | last post by:
Server Error in '/library' Application. -------------------------------------------------------------------------------- Server cannot access application directory 'F:\Library Latest Code\'. The...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.