For some unexplained reason, I am suddenly unable to browse to a virtual
directory on my laptop. I have a number of sample websites to which I could
happliy browse up until last week. As of Monday, if I browse to any of the
sites, I get an HttpException saying "The directory does not exist or is not
accessible because of security settings." I honestly have not changed
anything at all.
I have checked and re-checked that ASPNET indeed has the three required
permissions on the virtual directories (ie. Read, Read & Execute, and List
Folder Contents). As a workaround, the only way that I am able to currently
browse to the sample websites is I 'upgrade' the access level privilege in
the machine.config as follows:
Go to folder C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG, and edit the
machine.config file. Find <processModel enable="true" timeout="Infinite"....
and change the username attribute from 'machine' to 'system'. Save the file,
and restart IIS.
I have trawled the internet in the last couple of days, and have discovered
many others have experienced the same problem. For most, it was a matter of
applying the ASPNET account permissions to the virtual folder, but there are
still a number of other people (like myself) for whom this problem persists.
I have even ran aspnet_regiis.exe, but still no joy.
My system specification is as follows:
Windows XP Professional SP1.
Internet Explorer 6.0.2800 SP2.
..NET Framework v1.1
Visual Studio .NET 2003
Below is the exception:
Server Error in '/EC315CH02' Application.
--------------------------------------------------------------------------------
Server cannot access application directory 'E:\Documents and
Settings\...<SubFolders>...\'. 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 it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access
application directory 'E:\Documents and Settings\...<SubFolders>...\'. The
directory does not exist or is not accessible because of security settings.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Server cannot access application directory
'E:\Documents and Settings\...<SubFolders>...\'. The directory does not exist
or is not accessible because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDi rectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +264
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +990
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +128
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Does anyone know what could be the problem???
Can anyone provide any assistance to resolve it???
--
....Yogesh
"If a pig loses its voice, is it disgruntled???" 2 1533
Is E a mapped drive? A mapped drive works only for the current logon session
which isn't the one ASP.NET is running in since it's running as a different
user.
-Brock
DevelopMentor http://staff.develop.com/ballen For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could happliy browse up until last week. As of Monday, if I browse to any of the sites, I get an HttpException saying "The directory does not exist or is not accessible because of security settings." I honestly have not changed anything at all.
I have checked and re-checked that ASPNET indeed has the three required permissions on the virtual directories (ie. Read, Read & Execute, and List Folder Contents). As a workaround, the only way that I am able to currently browse to the sample websites is I 'upgrade' the access level privilege in the machine.config as follows:
Go to folder C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG, and edit the machine.config file. Find <processModel enable="true" timeout="Infinite".... and change the username attribute from 'machine' to 'system'. Save the file, and restart IIS.
I have trawled the internet in the last couple of days, and have discovered many others have experienced the same problem. For most, it was a matter of applying the ASPNET account permissions to the virtual folder, but there are still a number of other people (like myself) for whom this problem persists. I have even ran aspnet_regiis.exe, but still no joy.
My system specification is as follows:
Windows XP Professional SP1. Internet Explorer 6.0.2800 SP2. .NET Framework v1.1 Visual Studio .NET 2003 Below is the exception:
Server Error in '/EC315CH02' Application. ---------------------------------------------------------------------- ---------- Server cannot access application directory 'E:\Documents and Settings\...<SubFolders>...\'. 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 it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access application directory 'E:\Documents and Settings\...<SubFolders>...\'. The directory does not exist or is not accessible because of security settings.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Server cannot access application directory 'E:\Documents and Settings\...<SubFolders>...\'. The directory does not exist or is not accessible because of security settings.] System.Web.HttpRuntime.EnsureAccessToApplicationDi rectory() +72 System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +264 [HttpException (0x80004005): ASP.NET Initialization Error] System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +990 System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +128 ---------------------------------------------------------------------- ---------- Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Does anyone know what could be the problem???
Can anyone provide any assistance to resolve it???
No, Drive E is a local hard drive.
Cheers....
.....Yogesh
"Brock Allen" wrote: Is E a mapped drive? A mapped drive works only for the current logon session which isn't the one ASP.NET is running in since it's running as a different user.
-Brock DevelopMentor http://staff.develop.com/ballen For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could happliy browse up until last week. As of Monday, if I browse to any of the sites, I get an HttpException saying "The directory does not exist or is not accessible because of security settings." I honestly have not changed anything at all.
I have checked and re-checked that ASPNET indeed has the three required permissions on the virtual directories (ie. Read, Read & Execute, and List Folder Contents). As a workaround, the only way that I am able to currently browse to the sample websites is I 'upgrade' the access level privilege in the machine.config as follows:
Go to folder C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG, and edit the machine.config file. Find <processModel enable="true" timeout="Infinite".... and change the username attribute from 'machine' to 'system'. Save the file, and restart IIS.
I have trawled the internet in the last couple of days, and have discovered many others have experienced the same problem. For most, it was a matter of applying the ASPNET account permissions to the virtual folder, but there are still a number of other people (like myself) for whom this problem persists. I have even ran aspnet_regiis.exe, but still no joy.
My system specification is as follows:
Windows XP Professional SP1. Internet Explorer 6.0.2800 SP2. .NET Framework v1.1 Visual Studio .NET 2003 Below is the exception:
Server Error in '/EC315CH02' Application. ---------------------------------------------------------------------- ---------- Server cannot access application directory 'E:\Documents and Settings\...<SubFolders>...\'. 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 it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access application directory 'E:\Documents and Settings\...<SubFolders>...\'. The directory does not exist or is not accessible because of security settings.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Server cannot access application directory 'E:\Documents and Settings\...<SubFolders>...\'. The directory does not exist or is not accessible because of security settings.] System.Web.HttpRuntime.EnsureAccessToApplicationDi rectory() +72 System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +264 [HttpException (0x80004005): ASP.NET Initialization Error] System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +990 System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +128 ---------------------------------------------------------------------- ---------- Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Does anyone know what could be the problem???
Can anyone provide any assistance to resolve it??? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DC Gringo |
last post by:
I accidentally changed permissions on a large number of files for my
machine/aspnet account. Is there an easy way to restore the defaults?
--
_____
DC G
|
by: Matthew Lee |
last post by:
I am using a C# / ASP.NET application to fire an XCOPY job from the
webserver to a UNC share. This setup works fine when copying to a
local machine but refuses to work on the remote copy. The...
|
by: Doctor Who |
last post by:
I am running a Windows 2003 Server w/Framework 1.1 loaded. We have built a
..NET 2003 app and it requires that ASPNET be assigned permissions to several
folders and servcies.
The ASPNET account...
|
by: Simon Harris |
last post by:
Hi All,
I've recently install the framework on a web server (First 'production' one
I've done)
Should the ASPNET account have read/write access to the web root and beyond?
Or just the areas...
|
by: djoledjole |
last post by:
I must give ACL permissions to ASPNET account on the file.How to do this
from ASP.NET code(VB.NET)
| |
by: Joel Leong |
last post by:
Hi All,
I wish to clone ASPNET account and my web app will impersonate to this
account. I don't wish to remove the ASPNET account away because some other
applications are utilizing this ASPNET...
|
by: M. Simioni |
last post by:
Hi, i'm always auditing ASPNET's account accesses on my webserver, a
WIN2K_SP4 + IIS5 + SQLServer2K_SP3a machine.
Nearly all the applications work correctly, but i constantly find a
message in...
|
by: palakwai_919 |
last post by:
We have a Windows 2000 server with Beta 2 of the 2.0 Framework installed and
the 1.1 Framework. For some odd reason when we hit our 2.0 Framework
application we get the following error:
Server...
|
by: Paul Aspinall |
last post by:
Hi
I am trying to print, server side, from my web application.
I'm getting problems, as my ASPNET account is a local account, and is not
trusted on the domain to print to printers (ie. does not...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |