Pages

Search This Blog

Thursday, August 23, 2012

"440 Login Timeout" error with Exchange 2007 OWA

Today I was working with one of our clients with an Exchange 2007 OWA issue . The issue was that for every time he tries to connect to OWA he got error “440 Login Timeout” either via browser or via IIS manager , as below :
image
This error indicates corruption of Outlook Web Access related virtual directories , and hence the solution was to rebuild it again as follow :
  • First , export all OWA settings by executing the following command at elevated Exchange Management Shell  :
Get-OwaVirtualDirectory |fl > Owavdir.txt
  • Then execute the following commands to remove all Outlook Web Access related virtual directories ( Line by line ) :
  • Remove-OwaVirtualDirectory "exchange (default web site)"
  • Remove-OwaVirtualDirectory "public (default web site)"
  • Remove-OwaVirtualDirectory "exchweb (default web site)"
  • Remove-OwaVirtualDirectory "owa (default web site)"
  • Finally , re-create Outlook Web Access related virtual replacing internalURL | externalURL with those for your organization :
  • New-OwaVirtualDirectory "exchange" -OwaVersion Exchange2003or2000 -VirtualDirectoryType Mailboxes -WebSiteName "Default Web Site"
  • New-OwaVirtualDirectory "public" -OwaVersion Exchange2003or2000 -VirtualDirectoryType PublicFolders -WebSiteName "Default Web Site"
  • New-OwaVirtualDirectory "exchweb" -OwaVersion Exchange2003or2000 -VirtualDirectoryType Exchweb -WebSiteName "Default Web Site"
  • New-OwaVirtualDirectory -name "owa" -OwaVersion Exchange2007 -WebSiteName "Default Web Site" –InternalURL https://internalURL/owa -ExternalURL https://externalURL/owa
Once completed , perform IIS restart and try to browse OWA . Hope that it works for you as for me Winking smile