SOLUTION: Cannot start Exchange Management Shell. Error: Cannot determine the content type of http response…

SOLUTION: Cannot start Exchange Management Shell. Error: Cannot determine the content type of http response…

Applies to Exchange 2010

Problem:

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.

Cause:

There are many different causes. But in my case I saw many

codeBase version=”14.0.0.0″ 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.

Resolution:

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.

 

 

 

 

Advertisements
Gallery | This entry was posted in Exchange Server and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s