More Exchange 2010 Management Tools Fun

Yet another Exchange 2010 Management Tools error case, with the error: The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer.

In this case, all of the troubleshooting used to resolve the issue previously (see my post had been done and we were still getting the errors.

In this case, the issue did come back to the web.config file(s) again. For this customer, redirection was enabled for the Default Web Site to send it to the OWA path), which when done through the IIS Management Console, enables it for all sub-directories under the web site. Even after turning the redirection off for the Powershell virutal directory in the IIS interface, we still had problems.

I ended up tracking this one down to the web.config file in the Powershell virtual directory. In the web.config, we had sections for <httpErrors> and <httpRedirect> (although it was set to false). We removed these sections from the file and then we could use the Exchange Management Tools again.

So, among the list of things to check if you’re running into these errors, along with the information in, see if you have <httpRedirect> or <httpErrors> sections in the web.config file in the Powershell. If so, delete them.

Comments (1)

  1. PLam says:

    Thank Richard, I was suspecting a problem with the Web.config settings, but never checked on this when I was having the sasme problem as described.  After removing the httpErrors entries, the EMC and Shell worked instantly!

    I can't thank you enough! I was at this for 2 days straight.