Re: Server Application Unavailable

From: Bob (Bob_at_discussions.microsoft.com)
Date: 12/28/04


Date: Tue, 28 Dec 2004 09:55:02 -0800

Thanks for the prompt reply.

Have tried all your suggestions and am now getting the following message
when I try to test a .aspx page:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Server cannot access application directory 'c:\inetpub\wwwroot\'. 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:\inetpub\wwwroot\'. 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:\inetpub\wwwroot\'. 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

"Jim Cheshire (JIMCO)" wrote:

> Bob wrote:
> > Running XP Pro, FP 2003, IIS5.1, .NET Framework 1.1.
> > .aspx pages created in FP 2003 give the above error when I try to
> > test them in the browser IE6.0
> > The error log gives the following info:
> > aspnet_wp.exe could not be started. The error code for the failure is
> > 80004005. This error can be caused when the worker process account has
> > insufficient rights to read the .NET Framework files. Please ensure
> > that the .NET Framework is correctly installed and that the ACLs on
> > the installation directory allow access to the configured account.
> >
> > ASP pages run OK
> >
> > Do not have a clue how to fix this.
> >
> > Bob Fraser
>
> Bob,
>
> This simply means that the ASP.NET worker process (aspnet_wp.exe) couldn't
> start for some reason. This could be caused by a permissions problem or a
> user rights problem.
>
> The first thing to try would be this:
>
> 1. Go to a command prompt.
> 2. Change into the c:\windows\microsoft.net\framework\v1.1.4322 directory.
> 3. Run the following command:
> aspnet_regiis -u
> 4. Run the following command:
> aspnet_regiis -i
>
> When you do that, it will "reinstall" ASP.NET, but it will also correct any
> permissions for the account. If the above doesn't work, delete the ASPNET
> account and then complete the above steps again.
>
> --
> Jim Cheshire
> JIMCO
> Charity-ware Add-ins for FrontPage
> http://www.jimcoaddins.com
>
> Author of Special Edition Using Microsoft Office FrontPage 2003
>
>
>
>
>



Relevant Pages