Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error when you start Exchange Management Shell (EMS) or Exchange Management Console (EMC): "The requested HTTP URL was not available"


View products that this article applies to.

Symptoms

When you try to start Microsoft Exchange Management Shell (EMS) or Microsoft Exchange Management Console (EMC) on a server that is running Microsoft Exchange 2010, you receive the following error:

Connecting to remote server failed with the following error message : The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic.

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

↑ Back to the top


Cause

The HTTP binding on the Default Web Site in Internet Information Services (IIS) is either missing or is invalid.

↑ Back to the top


Resolution

  1. Open IIS Manager, and then navigate to Default Web Site.
  2. Right-click Default Web Site, and then click Edit Bindings.
  3. If a binding exists for HTTP, clear the host name value.
  4. If no binding exists for HTTP, create a new binding that has no host name and a value of All Unassigned for the IP address.
  5. Restart IIS.

↑ Back to the top


More information

This error typically occurs in the following scenario:

  1. You are running multiple websites.
  2. You try to set up a redirect, for example, to https://mail.contoso.com/owa by requiring Secure Sockets Layer (SSL) on the Default Web Site.
  3. You create another website to do the redirect back to the SSL-enabled website.

Windows Remote PowerShell requires port 80 to be available on the Default Web Site. If you want to set up an automatic redirect to /owa and redirect http requests to https, follow the instructions in the section, "For a Configuration in Which SSL is Required on the Default Web Site or on the OWA Virtual Directory in IIS 7.0" on the following Microsoft website:

http://technet.microsoft.com/en-us/library/aa998359(EXCHG.80).aspx

↑ Back to the top


Keywords: KB2027062

↑ Back to the top

Article Info
Article ID : 2027062
Revision : 9
Created on : 1/23/2013
Published on : 1/23/2013
Exists online : False
Views : 743