App-Domain error with ASP.NET

  • Thread starter Thread starter Stephen
  • Start date Start date
S

Stephen

Hey, I downloaded the Community Starter Kit from www.asp.net and installed
one with the setup program. Now I am adding to it and don't want to mess up
the original, so I want to run a second one side-by-side on the server.
When I load any page I get this:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.

The event log gives me this error from ASP.NET 1.1:
Failed to execute request because the App-Domain could not be created.
Error: 0x80070005 Access is denied.

Any Ideas?
 
Hi Stephen,

Thanks for posting.

Based on my past experience, the error may occur if the ASPNET account
(that is used to run the ASP.NET worker process by default) does not have
correct permissions on your Virtual Directory contents.

To fix this, we could go to the virtual directory folder and add enough
NTFS permissions (e.g. Read, Execute, List or even Full Control) for our
ASPNET account here.

Alternatively, we can also run our ASP.Net worker process with system
privileges:

1. Use Notepad to open the file
¡°c:\windows\microsoft.net\Framework\v1.1.4322\config\machine.config¡±

2. Search for the word ¡°processModel¡±. There are multiple instances of
¡°processModel¡±. The one we are looking for is like the following:

<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
restartQueueLimit="10" memoryLimit="60" webGarden="false"
cpuMask="0xffffffff" userName="machine" password="AutoGenerate"
logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00" maxWorkerThreads="20" maxIoThreads="20"
/>

3. Notice the two key/value pairs:

userName=¡°machine¡±
password=¡°AutoGenerate¡±

Let's try changing the ¡°username¡± from ¡°machine¡± to ¡°SYSTEM¡±.

4. Reboot your machine.

I hope this helps.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top