Wednesday, September 9, 2009

World Wide Web Publishing Error 87

Sometimes ago, I’ve encountered an error when starting the IIS web server. After some looking inside Event viewer, I saw that the World Wide Web Publishing service was unable to start due to the Error 87: The parameter is not correct.

Looking over the Internet, I found all kinds of solutions from resetting the Windows sockets (using netsh winsock reset) to reinstalling the Windows (I hate this last solution! :) ).

But I’ve remembered that I had a problem with the DTC service when invoking a service and I had to modify some registry. The correct registry are:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc]
"DCOM Protocols"=hex(7):6e,00,63,00,61,00,63,00,6e,00,5f,00,69,00,70,00,5f,00,\
  74,00,63,00,70,00,00,00,6e,00,63,00,61,00,63,00,6e,00,5f,00,73,00,70,00,78,\
  00,00,00,00,00,00,00
"UuidSequenceNumber"=dword:00fd313a

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\ClientProtocols]
"ncacn_np"="rpcrt4.dll"
"ncacn_ip_tcp"="rpcrt4.dll"
"ncadg_ip_udp"="rpcrt4.dll"
"ncacn_http"="rpcrt4.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\NameService]
"DefaultSyntax"="3"
"Endpoint"="\\pipe\\locator"
"NetworkAddress"="\\\\."
"Protocol"="ncacn_np"
"ServerNetworkAddress"="\\\\."

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\NetBios]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\SecurityService]
"9"="secur32.dll"
"10"="secur32.dll"
"14"="schannel.dll"
"16"="secur32.dll"
"1"="secur32.dll"
"18"="secur32.dll"
"68"="netlogon.dll"

Hope this helps someone/stops him to reinstall Windows! :)

No comments: