SOLUTION: Cannot start Exchange Management Shell. Error: Cannot determine the content type of http response…
Applies to Exchange 2010
After applied Exchange 2010 SP3 and rollup 2 for Exchange 2010 SP3 on Mailbox Server Role only Exchange Server, Exchange management shell cannot start with the following error:
Mbx1.internal.contoso.com Connecting to remote server failed with the following error message:The WinRM client cannot process the request. It cannot determine the content type of the http response from the destination computer. The content type is absent or invalid. For more information see the about_Remote_Troubleshooting Help topic
Also I saw file cannot be found (.Net framework) erros in the event log.
There are many different causes. But in my case I saw many
codeBase version=”18.104.22.168″ href=”file:///%ExchangeInstallDir%bin\fil-PH\microsoft.exchange.core.strings.resources.dll”/>
lines in C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell\web.config.
But there is no %ExchangeInstallDir% environment variable.
In web.config file replace : %ExchangeInstallDir% with C:\Program Files\Microsoft\Exchange Server\V14 and save it.
Or copy the file from another Exchange 2010 Mailbox server to the problem server.