Solved

WinRM issue with Exchange 2013

Posted on 2014-07-30
3
4,036 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create a Contact 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 >> Contact ta…
In this video we show how to create an email address policy 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 Mail Flow…
Suggested Courses

630 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