I started to get the "
Server Application Unavailable" error after a system restore. I tried reinstalling asp.net and many other googled suggestions but this is what finally worked for me:
1. Open a command prompt
2. Stop IIS: iisreset /stop
3. Change to the .NET Framework 2.0 root directory: C:\winnt\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
after this I received a different and more confusing error message:
'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be found
Googling found the link below. And then from a CMD box:
CD C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\
and finally copy the missing DLL's:
copy c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll
copy c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.wrapper.dll
Fixed. Wish I knew why it broke.
Update June 2008 then again August 2008
Just had this problem again, this time it was fixed by just doing the first part.