Exchange 2010 Management Tools Fail to Connect with HTTP Error Status 500

You may encounter a “HTTP error status 500″ error connecting to Exchange Server 2010 with either the Exchange Management Console or the Exchange Management Shell.  The full error message is:

Connecting to remote server failed with the following error message : The WinRM client
received an HTTP server error status (500), but the remote service did not include any other information about the cause of the failure. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed

The System event log may contain the following event details corresponding to the connection attempt:

Log Name: System
Source: Microsoft-Windows-WinRM
Date: 12/08/2010 4:45:48 PM
Event ID: 10113
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: SERVER
Description:
Request processing failed because the WinRM service cannot load data or event source: DLL=”%ExchangeInstallPath%Bin\Microsoft.Exchange.AuthorizationPlugin.dll”

User Action
Please check if “%ExchangeInstallPath%Bin\Microsoft.Exchange.AuthorizationPlugin.dll” exists.

Additional Data
Loading %ExchangeInstallPath%Bin\Microsoft.Exchange.AuthorizationPlugin.dll failed with error=”126″ (%%126).

This can occur when the Exchange server does not have an %ExchangeInstallPath% system variable set.  To resolve the error manually add the missing system variable.

Make sure you include the trailing backslash in the path.

After adding the system variable restart the server.  You should now be able to connect to the Exchange server with the management tools.

About Paul Cunningham

Paul is a Microsoft Exchange Server specialist for one of Australia's largest companies, and is the Publisher of ExchangeServerPro.com. He is also an MCP, MCSA, MCSE, MCTS, and an MCITP for Exchange Server 2007/2010. Connect with Paul on Twitter and LinkedIn.

Leave a Comment

*