Search This Blog

Wednesday, November 4, 2009

Opening handle to W3SVC: OpenService failed with HRESULT 80070424

This post is regarding error "Opening handle to W3SVC: OpenService failed with HRESULT 80070424".

During installation of our Asp.net application on server, we received this error. The Operating System of the server was windows server 2003. After search from net, we come to know that IIS is not installed properly. The service name W3SVC (World Wide Web Publishing C:\WINDOWS\system32\inetsrv\inetinfo.exe) was not available in services.msc.

We remove IIS from the system and installed again but problem still persists. All other setting required to deploy asp.net sites was proper. After some time, we realize that, the administrator has no any permission to write to registery.

To resolve this problem, we give Read/Write permission to following key in registery. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost. We uninstalled the IIS and install the same again. Now W3SVC service is created. and problem resolved.