Link to home
Start Free TrialLog in
Avatar of Mark Galvin
Mark GalvinFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Unable to connect to Exchange Management Shell - Excahnge 2010 Hosted mode

My client has an Exchange 2010 server running in hosted mode and therefore aonly accessible via the Exchange Management Shell. All was working fine until about 2 weeks ago.

Now when the client runs up the Exchange Management Shell they get:
User generated image
As text:
VERBOSE: Connecting to server.domain.forest.ads
[server.domain.forest.ads] Connecting to remote server failed with the following error message : The WinRM client cannot complete the operation with
in the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management serv
ice is enabled. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
    + FullyQualifiedErrorId : PSSessionOpenFailed

No change has been made on the server. No updates. Nothing.

We have tried restarting the Exchange services, rebooting the server.

Any ideas?
Thanks
Mark/
Avatar of Gareth Gudger
Gareth Gudger
Flag of United States of America image

Is the WWW Publishing Service started on the server? Anything in Event Viewer?
Avatar of Mark Galvin

ASKER

Hi

WWW PS is running:
 User generated image
Seeing lots of these in the Application Log:
User generated image
And these two in the System Log:
User generated imageAND
User generated image
The last screenshot would be where I would start. If there is a problem with the Exchange PowerShell Virtual Directory in IIS, this is likely the root cause. Ran across this - http://kb.prismmicrosys.com/evtpass/evtpages/EventId_5139_Microsoft-Windows-WAS_64841.asp

Might be easier to just bounce the server. When was the last restart?
Server was last rebooted in the on the 4th Feb:
User generated image
I can try again tonight but have a feeling it wont help.
Also, I have just followed the step by step in that article and get the same result in the EMS.
Still working on this. We are upgrading the RAM in the server over the coming weeks from 6GB to 38GB. I'm hoping that this change and a full reboot will bring back the EMS to being able to connect to the server.

Thanks
Mark
Been doing some more trouble shooting today. Still not working.

I have downloaded the
And the results:
**********************
Windows PowerShell Transcript Start
Start time: 20150224144356
Username  : DOMAIN\Administrator
Machine        : SERVER (Microsoft Windows NT 6.1.7601 Service Pack 1)
**********************
VERBOSE: Connecting to SERVER.DOMAIN.FOREST.ads


[SERVER.DOMAIN.FOREST.ads] Connecting to remote server failed with the following error message : The WinRM client cannot complete the operation within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
    + FullyQualifiedErrorId : PSSessionOpenFailed
The Exchange Management Troubleshooter successfully completed connecting to:

SERVER.DOMAIN.FOREST.ads

**********************
Windows PowerShell Transcript End
End time: 20150224144701
**********************

Also, still getting the WAS error in the System log and the IIS error from the application server.

Nightmare.
ASKER CERTIFIED SOLUTION
Avatar of Mark Galvin
Mark Galvin
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Found after many hours of research.