Server Set Up

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

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:


Server Error in '/app' Application.
----------------------------------------------------------------------------
----

Server cannot access application directory 'C:\Documents and
Settings\Administrator\My Documents\Webs\KeyWebData\app\'. 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 'C:\Documents and Settings\Administrator\My
Documents\Webs\KeyWebData\app\'. 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
'C:\Documents and Settings\Administrator\My Documents\Webs\KeyWebData\app\'.
The directory does not exist or is not accessible because of security
settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +965
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128





----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573

Got any solutions?

Chris
 
The solution is easy and the problem is quite common to new .NET IIS
installations and actually has nothing to do
with IIS/

The answer can be found here:
http://support.microsoft.com/defaul...port/kb/articles/q316/7/21.asp&NoWebContent=1

Chris Lang
http://www.keywebdata.com

Chris said:
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:


Server Error in '/app' Application.
-------------------------------------------------------------------------- --
----

Server cannot access application directory 'C:\Documents and
Settings\Administrator\My Documents\Webs\KeyWebData\app\'. 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 'C:\Documents and Settings\Administrator\My
Documents\Webs\KeyWebData\app\'. 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
'C:\Documents and Settings\Administrator\My Documents\Webs\KeyWebData\app\'.
The directory does not exist or is not accessible because of security
settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +965
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
--------------------------------------------------------------------------
--
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573

Got any solutions?

Chris
 
Back
Top