I was trying to access my local web service this morning and was getting back the dreaded, generic "Server Application Unavailable" each time I hit the service via my code or browser.

For Example:



Resulted in:

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.


Recorded in the eventlog:

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1084
Date: 29/09/2008
Time: 10:14:22
User: N/A
Computer: –PRIVATE–

aspnet_wp.exe could not be started. The error code for the failure is C0000142. 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.



Try reinstalling ASP.NET (2.0.50727) to refresh the ASP.NET settings, config, metabase and security/worker accounts on the local machine:

  1. Open a command prompt and….
  2. Stop IIS: iisreset /stop
  3. Change to the .NET Framework 2.0 root directory: C:\windows\Microsoft.Net\Framework\v2.0.50727\
  4. Reinstall ASP.NET 2.0 by using the following command: aspnet_regiis -i
  5. Start IIS again: iisreset /start
  6. Try to access your web page again.

Note: there are many other fabulous options available to refresh your IIS settings… just give aspnet_regiis /? a run!


This is a cross post from my EMC blog, mainly for backup duplicity and to aggregate some of my past postings. My EMC blog used to be under the Conchango brand but was acquired by EMC so I’ve also retrospectively refreshed some of the old links and maybe a tweak a bit of content too.
permalink to the original post here