Re: IIS 6 & ASPX

From: Egbert Nierop \(MVP for IIS\) (egbert_nierop@nospam.com)
Date: 02/20/03


From: "Egbert Nierop \(MVP for IIS\)" <egbert_nierop@nospam.com>
Date: Thu, 20 Feb 2003 16:19:27 +0100


"MajorGaines" <MajorGaines@Excite.com> wrote in message
news:089401c2d88d$b4bb5740$2f01280a@phx.gbl...
> Im trying to publish some websites on a windows 2003
> Server RC_2 using IIS 6 and ASP.net ( .aspx ) webpages
> with no luck all though i have zero problems publishing
> websites coded in ASP, when i try and bring up a website
Is the aspnet account enabled on the directory www_root?
Is aspx enabled at the IIS management console level (see the security tab..)

> that uses the .aspx file extension im greeted with the
> following error....
>
> Server Error in '/' Application.
> ----------------------------------------------------------
> ----------------------
>
> Server cannot access application
> directory 'D:\Test\www_root\'. 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 'D:\Test\www_root\'.
> 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 'D:\Test\www_root\'. 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) +955
> System.Web.HttpRuntime.ProcessRequestInternal
> (HttpWorkerRequest wr) +128
>
>
>
>
> ----------------------------------------------------------
> ----------------------
> Version Information: Microsoft .NET Framework
> Version:1.1.4322.342; ASP.NET Version:1.1.4322.342
>
>
>
> im really stumped on this one and would be very greatful
> for any help on this matter, i want to start converting
> all sites to ASP.NET but this issue is holding me back
> from doing that,
>
>
> Thanx !
>



Relevant Pages

  • Re: Having trouble with step 1
    ... > for 1.1 Framework ... Server Error in '/' Application. ... The directory does not exist or is not accessible because of security settings. ... An unhandled exception occurred during the execution of the current ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: ASP.NET Directory Error
    ... check the .NET framework security settings. ... | Server Error in '/sugars' Application. ... | Exception Details: System.Web.HttpException: Server cannot ... | using the exception stack trace below. ...
    (microsoft.public.dotnet.security)
  • Re: Having trouble with step 1
    ... >>That should register ASP.NET with your IIS server. ... >The directory does not exist or is not accessible because of security settings. ... An unhandled exception occurred during the execution of the current ... >- wASP ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Companyweb & Monitoring and Reporting not working
    ... You will get errors on these pages if the default security settings in IE ... Under the IIS Propertied ISAPI tab for companyweb, ... Server Error in '/Monitoring' Application. ... An unhandled exception occurred during the execution of the ...
    (microsoft.public.windows.server.sbs)
  • IIS 6 & ASPX
    ... Im trying to publish some websites on a windows 2003 ... exist or is not accessible because of security settings. ... An unhandled exception occurred during the ... using the exception stack trace below. ...
    (microsoft.public.inetserver.iis.security)