Hi all,
I'm trying to install the Remote IIS Management tools.
Is used the following script:
dism /online /enable-feature /featurename:IIS-WebServerRole dism /online /enable-feature /featurename:IIS-WebServerManagementTools dism /online /enable-feature /featurename:IIS-ManagementService Reg Add HKLM\Software\Microsoft\WebManagement\Server /V EnableRemoteManagement /T REG_DWORD /D 1 net start wmsvc sc config wmsvc start= auto
However this fails with the following error
The Web Management Service service is starting. The Web Management Service service could not be started. A service specific error occurred: 2147483656. More help is available by typing NET HELPMSG 3547.
In the eventlog I am greeted by the following error:
Failed to find the RegisterModule entrypoint in the module DLL C:\Windows\Microsoft.NET\Framework64\v4.0.30319\webengine.dll. The data is the error.
The source is HostableWebCore (? I don't have that installed, why does it need that?)
Then there's a warning:
A listener channel for protocol 'http' in worker process '4132' serving application pool 'WMSvcAppPool' reported a listener channel failure. The data field contains the error number.
Again, HostableWebCore is the source.
Then there's an error from IIS-IISManager:
IISWMSVC_STARTUP_UNABLE_TO_ACTIVATE_HWC Failed to activate the Hostable Web Core (HWC). Web Management Service startup failed. Please reference the Win32 error in this event for further information. Exception:System.Runtime.InteropServices.COMException (0x8007007F): The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.Web.Management.Server.WebServer.Microsoft.Web.Management.Server.Interop.IWebServer.Start() Process:WMSvc User=NT AUTHORITY\LOCAL SERVICE
Which is the fact that it can't find the prodecure (linked to first error).
And lastly an error from the Service Control Manager:
The Web Management Service service terminated with service-specific error %%-2147483640.
Trying to start the service by hand yields the following:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>net start wmsvc The Web Management Service service is starting. The Web Management Service service could not be started. A service specific error occurred: 2147483656. More help is available by typing NET HELPMSG 3547.
Which doesn't help me further.
- I tried reinstalling the stuff (except IIS, I don't know if it retains the settings should I uninstall and reinstall it).
- I rebooted (well, the machine that is, I just had sleep)
- Searched on the web, but no avail
- I compared applicationHost.config between the 2 servers (one fails, one doesn't). Bothdon't have the HostableWebcore installed
- I generated a new self-signed certificate for the server where it fails and tried to use that one in the WMSvc
- I tried installing Web Deploy after having read that you should have the Feature Delegation tab in IIS, which I don't have. But that one fails also because it cannot start the WMSvc
Anybody who can shed some light on this?
Thanks!