ASP.NET Error

O

Ozzie

I recently installed IIS6 with the .net extensions. I have allowed both asp
and asp.net extensions. My configuration for asp works great. Yet I am
unable to get the asp.net to work using the same configuration as I set up
for asp. Here is a very simple page saved as test.aspx:

<html>
<body>
<h1>My first asp.net page</h1>
<p> This page was last refreshed on <%
Response.Write(DateTime.Now.ToString()) %> </p>
</body>
</html>

I get this error when viewed from a browser and I've not sure where to go
from here:

Stack Trace:


[HttpException (0x80004005): Server cannot access application directory
'e:\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) +964
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
 
O

Ozzie

Fixed it. When I changed IIS home directories I failed to include the
IIS_WPG user with appropiate permissions for inetpub. Now...... what is the
IIS_WPG user?
 
K

Kevin Spencer

IIS_WPG user with appropiate permissions for inetpub. Now...... what is
the
IIS_WPG user?

Apparently, that is the User account under which your ASP.Net is running.
All processes run under a User account. Most desktop apps, for example, run
under the SYSTEM User account. ASP.Net can be configured to run under any
User account. I don't recognize the name, but apparently, it is the User
account name under which your ASP.Net app is running.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Ozzie said:
Fixed it. When I changed IIS home directories I failed to include the
IIS_WPG user with appropiate permissions for inetpub. Now...... what is the
IIS_WPG user?


Ozzie said:
I recently installed IIS6 with the .net extensions. I have allowed both asp
and asp.net extensions. My configuration for asp works great. Yet I am
unable to get the asp.net to work using the same configuration as I set up
for asp. Here is a very simple page saved as test.aspx:

<html>
<body>
<h1>My first asp.net page</h1>
<p> This page was last refreshed on <%
Response.Write(DateTime.Now.ToString()) %> </p>
</body>
</html>

I get this error when viewed from a browser and I've not sure where to go
from here:

Stack Trace:


[HttpException (0x80004005): Server cannot access application directory
'e:\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) +964
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top