IIS Web Management Service not working Error 2147483640
I just installed the Management Service role and the service will not start. Google is no help as this seems to be some really rare error. I am hoping someone can help though.
This is on IIS 7.5 on Windows Server 2008 R2. I think the problem may be because I have a wildcard certificate installed for *.foo.com because IIS can't even handle multiple SSL-enabled hostnames.
The service seems to have created its own private SSL certificate. Perhaps there's a way to specify through the commandline which cert the managed service should be using?
This is the error in Event Viewer :
The Web Management Service service terminated with service-specific error %%-2147483640.
The problem seems to have been related to the already installed wildcard certificate. Here's what needs to be done.
First the DO NOT use the Web Platform installer, follow these Web Management Install directions.
At the end of that post the part about starting the wmsvc will still fail. Ignore that for now.
Once installed go to the Management Service Delegation (from IIS Manager) and make sure Administrators are allowed to bypass Rules in the Feature Settings.
Then go to Management Service (from IIS Manager). It should no longer be greyed out. Select the self-signed SSL certificate from the drop-down. You should now be able to start the service.
This probably will come up on other installs if you already have a certificate installed. It seems Management Service cannot figure out what to do when there is more than one certificate. Probably expects to be enabled from the start before anything else is done.