Solved

WinRM issue with Exchange 2013

Posted on 2014-07-30
3
3,369 Views
Last Modified: 2014-08-02
Hello Experts –

I have a client with a small branch office with a single Windows 2012 server.  This server is a DC and does have Exchange 2013 on it as well.  All was fine until their IT removed the WSUS role from it.  When this occurred, the feature “WinRM IIS Extension” was removed.

They first notice a problem when one of the local users tried to access their mailbox that is hosted on that server (Ex2013) and could not.  They went to open the Exchange Admin Center and got the following error:

“This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
For more information about HTTP errors, see Help.”

I was brought in at this time to see if I could figure it out.  Once I was informed of what had transpired I tried to get into the Exchange Management Shell (Powershell) and got the following errors:

VERBOSE: Connecting to ServerX.domainY.local.
New-PSSession : [serverX.domainY.local] Connecting to remote server serverX.domainY.local 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.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
VERBOSE: Connecting to ServerX.domainY.local.
New-PSSession : [serverX.domainY.local] Connecting to remote server serverX.domainY.local 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.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
VERBOSE: Connecting to ServerX.domainY.local.
New-PSSession : [serverX.domainY.local] Connecting to remote server serverX.domainY.local 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.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
WARNING: No Exchange servers are available in the Active Directory site Default-First-Site-Name. Connecting to an
Exchange server in another Active Directory site.
VERBOSE: Connecting to ServerX.domainY.local.
New-PSSession : [serverX.domainY.local] Connecting to remote server serverX.domainY.local 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.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
VERBOSE: Connecting to ServerX.domainY.local.
New-PSSession : [serverX.domainY.local] Connecting to remote server serverX.domainY.local 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.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:


The steps I have taken to resolve the issue are as follows:

•      Added the WinRm IIS Extension back under Features
•      Ran winrm quickconfig (twice – all looks good there)
•      In IIS Manager, on the PowerShell VD \ Basic Settings, I changed the Physical Path to: XX:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\PowerShell

Despite these attempts, the issue has not changed and the messages are the same.

I am at a loss of where to go next as most other posts I see talk about simply reinstalling…not something I really want to do.  I think it is a straight forward WinRM issue but I wonder if when they removed WSUS something else was removed.

Anyone have any thoughts?

Thanks in advance –

Brad
0
Comment
Question by:dasmail2000
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
Tej Pratap Shukla ~Dexter earned 500 total points
ID: 40231047
Hey Brad,

You might have Kerbauth module configured incorrectly in Internet Information Services (IIS)  refer to this tech-net article to understand the issue clearly : http://support.microsoft.com/kb/2028305

Thanks
~Dex
0
 
LVL 1

Author Closing Comment

by:dasmail2000
ID: 40236179
You nailed it - I missed that in my searching.  Thanks!
0
 
LVL 11

Expert Comment

by:Tej Pratap Shukla ~Dexter
ID: 40237029
Most Welcome :)
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now