Jorge's Quest For Knowledge!

All You Need To Know About Identity And Security On-Premises And In The Cloud. It's Just Like An Addiction, The More You Have, The More You Want To Have!

(2010-06-12) Exchange Installation Issue With WinRM

Posted by Jorge on 2010-06-12


You have just installed the prerequisites of Exchange followed by Exchange itself and you start up the Exchange Management Console. You get the following error

image

(X) Initialization failed

The following error occurred when searching for On-Premises Exchange Server:

[rfsmbsv2.adcorp.lab] 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. It was running the command ‘Discover-ExchangeServer –UseWIA $true –SurpressError $true’.

What the heck!

Let’s try and start the Exchange Management Shell. You get the following error:

image

VERBOSE: Connecting to RFSMBSV2.ADCORP.LAB

[rfsmbsv2.adcorp.lab] 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.

+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException

+ FullyQualifiedErrorId : PSSessionOpenFailed

VERBOSE: Connecting to RFSMBSV2.ADCORP.LAB

[rfsmbsv2.adcorp.lab] 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.

+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException

+ FullyQualifiedErrorId : PSSessionOpenFailed

VERBOSE: Connecting to RFSMBSV2.ADCORP.LAB

[rfsmbsv2.adcorp.lab] 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.

+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException

+ FullyQualifiedErrorId : PSSessionOpenFailed

Failed to connect to any Exchange Server in the current site.

Please enter the Server FQDN where you want to connect:

What the heck!!!

You have not done anything yet and it is already not working. It took me quite some time to understand what was wrong and why. I understand the WHAT, but I’m not sure I really understand the WHY.

WHAT: The "WinRM IIS Extension" is the Windows Server Feature component that is causing the error

WHY: Don’t really know! (e.g. something went wrong with the installation/configuration of the Windows Server Feature component)

To cut a long story short, the solution to get rid of this error is re-install the "WinRM IIS Extension"

image

Solution Steps:

  1. Start Server Manager
  2. Click on the Features node
  3. Click on "Remove Features"
  4. Deselect "WinRM IIS Extension"
  5. Click on "Next" followed by clicking on "Remove"
  6. Click on "Close" when finished
  7. Click on "Add Features"
  8. Select "WinRM IIS Extension"
  9. Click on "Next" followed by clicking on "Install"
  10. Click on "Close" when finished
  11. Close Server Manager

When starting either the Exchange Management Console or the Exchange Management Shell, you should not get the previous error anymore. I can only tell you this worked for me!

Cheers,
Jorge
———————————————————————————————
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always evaluate/test yourself before using/implementing this!
* DISCLAIMER:
https://jorgequestforknowledge.wordpress.com/disclaimer/
———————————————————————————————
############### Jorge’s Quest For Knowledge #############
#########
http://JorgeQuestForKnowledge.wordpress.com/ ########
———————————————————————————————

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

 
%d bloggers like this: