473,725 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Administra tor" 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 3099
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 "Administra tor" 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 "Administra tor" 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
2162
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 does not exist or is not accessible because of security settings. The link below this line is attached to a microsoft knowledge base article that addresses this issue, but I can not seem to make the resoultion work in windows XP Pro. Particularly I...
1
1696
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
6578
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 Environment" with this message: "Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no...
3
1513
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 -> Internet Information Services and under "Default Web Site" I have created a virtual folder with the label
1
2072
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 not accessible because of security settings" Obviously, the folder does exist. It was set as virtual directory. It's an intranet app written in .net I have no problem when running it on my local
0
2826
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 '/VB.NETResourceKit' Application. ----------------------------------------------------------- --------------------- Server cannot access application directory 'D:\Program
4
3789
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 debug HTTP request. ---------- I get the following error when I try to start the project without debugging:
17
5097
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 Windows XP IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because I'm trying to run an ASP.NET 2 site with 1.1 framework). I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the...
1
1993
by: rajalingam | last post by:
Server Error in '/library' Application. -------------------------------------------------------------------------------- Server cannot access application directory 'F:\Library Latest Code\'. The directory does not exist or is not accessible because of security settings. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where...
0
8889
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9116
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.