How to uninstall IIS from Windows Server 2012 R2, to reinstall it?

0

I have a problem with IIS since I get an error with a message from the WebSocketModule module Error code 0x80070490 when I call it from localhost to test its operation.

I have verified that the role of the IIS "Protocole WebSocket" appears as installed but when looking for it in the IIS tool inside the central panel and configuration editor does not appear system.webServer / websocket.

I tried to uninstall IIS by removing the role to reinstall it. From the server administrator "Remove roles and functions" but when I restart the system I get the following message "I can not finish installing the functions Cancel changes Do not turn off the computer" and therefore the IIS is still installed.

    
asked by Popularfan 19.10.2018 в 16:13
source

1 answer

1

Normally the error code you have is because of a problem in key registration or installation of windows components after an update.

In your case, I would remove the entire IIS role, search for all the pending updates, restart the server (preferably, if it is production you could skip this step) and then try to add the corresponding roles.

Can I imagine you are using SignalR to work with WebSockets?

    
answered by 19.10.2018 / 16:20
source