Unable to open your default e-mail folders. The Microsoft Exchange Server computer is not available. Either there are network problems or the Microsoft Exchange Server is down for maintenance.
After hours of troubleshooting, I noticed that a specific event log error kept popping up on the Exchange server when we would try to connect:
ComputerName=
It turns out that the Outlook 2003 client previously opened a multiple sessions with the server, hit the 32 session limit, then crashed or otherwise left the connections hanging open, and this was preventing all new connection attempts from succeeding.
Restarting the Exchange services would have fixed this problem, but since this would have disconnected hundreds of clients (this was during the day), restarting services wasn't an option.
It turns out that the hung connections can be closed by the Windows Sysinternals tool called TCPView (LINK). Here is how to close the connections:
- Open the Exchange Management Shell (I'm assuming you're running Exchange 2007), and run this command (USERNAME should be the user attempting to connect via Outlook):
- Get-LogonStatistics USERNAME | Format-Table username,logontime,clientipaddress
- This will output all 32 connections. Make a note of the IP address(es) that the hung connections were initiated from.
- Download TCPView (link above) and run it on the Exchange server to which the Outlook client is failing to connect. If you have a busy server it may take a few minutes for TCPView to gather all the info. You can turn off the refresh by selecting View --> Update Speed --> Paused.
- Click Options --> uncheck Resolve Addresses.
- Sort first by Remote Address, then by Process, and type "ST" in the window to scroll down to the "store.exe" process connections.
- Find the connections to the store.exe process from the IP address(es) you noted in step 2 above. Select all of those connections, right click, and click Close Connection.
- Run the command in step 1 above again in the Exchange Management Shell to verify that the user has no more open connections.
- The Outlook client should now be able to re-connect to the Exchange server successfully. You may run into this issue again if you do not resolve whatever was causing the excess connections to begin with.
No comments:
Post a Comment