Gorgo.Live.ToString()

Mariusz, Gorzoch tech Blog

Archive for the ‘IIS’ Category

HRESULT for the failure: 80004005

leave a comment »

Today I was trying to deploy my solution on machine with IIS 5.0. To do so, I just download sources to the machine, opened it in VS and hited "Deploy" button (so far quire ease). Then I went to IIS manger, make sure that IIS APP was created and tryied to get to the app thru IE. With quite huge supprise my app welcomed me with message:
 
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.

 
I started to dig and inside application event log I found message:
 
aspnet_wp.exe could not be started. The error code for the failure is 80004005. 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.
 
In the first look it point me that probably I have some problems with directory rights, so I started to dig and just make sure that ASPNET account has proper permission (as described inside: http://support.microsoft.com/kb/317012/EN/ , http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158) . Unfortunetly it didn’t help to much and I still get this strange error. I even go for "ProcessMonitor" and tryied to monitor activity of inetinfo and aspnet_wp process to check if they have some probems with accessing some files or registry, but still nothing :(.
 
On the end I decided to try check security event log and I found that reason of my problem wasn’t ACL to directories but rather there was problem with account it self. When I go to security log I found exact info what was the reason:
 

Logon Failure:
  Reason:  Unknown user name or bad password
  User Name: aspnet
  Domain:  HEMPEL-EDFD147F
  Logon Type: 2
  Logon Process: seclogon
  Authentication Package: Negotiate

 
 
so… next time before I go for deep analize of the problem I’ll try to go for simple event log checking. This could save a lot of time to me this time 🙂

Written by Mariusz Gorzoch

2 June 2009 at 22:36

Posted in IIS