Autodiscovery problems
New Member Posts: 1 Joined: 19.Jan.2011 Status: offline Hi All, Sorry if this issue has been before but I could not find answers via search button and to tell you the truth I am hammered after two days trying to solve this thing! I have a fresh install of SBS 2008 with Exchange 2007. The problem is with Out of Office Assistant which comes down to Autodiscovery not working. I think I have tried everything but maybe Im missing something simple here. I would really appreciate your help! Info: [PS] C:\Windows\System32>Get-ClientAccessServer | fl Name,AutodiscoverServiceInternalUri Name : server AutoDiscoverServiceInternalUri : https://server.domain.local/autodiscover/autodiscover.xml Name : server OutlookAnywhereEnabled : True AutoDiscoverServiceCN : server AutoDiscoverServiceClassName : ms-Exchange-AutoDiscover-Service AutoDiscoverServiceInternalUri : https://server.domain.local/autodiscover/autodiscover.xml AutoDiscoverServiceGuid : 77378f46-2c66-4aa9-a6a6-3e7a48b19596 AutoDiscoverSiteScope : {Default-First-Site-Name} IsValid : True OriginatingServer : server.domain.local ExchangeVersion : 0.1 (8.0.535.0) DistinguishedName : CN=server,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN= Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Service s,CN=Configuration,DC=domain,DC=local Identity : server Guid : 0ff7f680-74b5-4dd8-ab94-1c710ce34feb ObjectCategory : domain.local/Configuration/Schema/ms-Exch-Exchange-Server ObjectClass : {top, server, msExchExchangeServer} WhenChanged : 15/10/2010 14:22:31 WhenCreated : 24/09/2010 11:36:34 [PS] C:\Windows\System32>Get-AutodiscoverVirtualDirectory Name Server InternalUrl ---- ------ ----------- Autodiscover (SBS Web Applications) server https://server.domain.local/Aautodiscover/autodiscover.xml [PS] C:\Windows\System32>Test-OutlookWebServices | Format-List Id : 1003 Type : Information Message : About to test AutoDiscover with the e-mail address administrator@server.domain.local Id : 1007 Type : Information Message : Testing server server.domain.local with the published name https://server.domain.local/EWS/Exchange.a smx & https://mail.externaldomain.local/EWS/Exchange.asmx. Id : 1019 Type : Information Message : Found a valid AutoDiscover service connection point. The AutoDiscover URL on this object is https:/ /server.domain.local/autodiscover/autodiscover.xml. Id : 1013 Type : Error Message : When contacting https://server.domain.local/autodiscover/autodiscover.xml received the error The rem ote server returned an error: (500) Internal Server Error. Id : 1006 Type : Error Message : The Autodiscover service could not be contacted. if I type https://server.domain.local/autodiscover/autodiscover.xml in a webrowser it give me an error message: Server Error in '/Autodiscover' Application. -------------------------------------------------------------------------------- The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) Anyone? Thanks K
January 19th, 2011 2:28pm

Hi What versions of Outlook are you using? Does the OOO work from OWA? What type of certificate are you using? What names are included in the certificate? Are you using split dns?Jonas Andersson MCTS: Microsoft Exchange Server 2007/2010 | MCITP: EMA 2007/2010 | Blog: http://www.testlabs.se/blog | Follow me on twitter: jonand82
Free Windows Admin Tool Kit Click here and download it now
January 20th, 2011 5:31pm

Here's a link to the whitepaper for Exchange 2007 Autodiscover http://technet.microsoft.com/en-us/library/bb332063%28EXCHG.80%29.aspxJonas Andersson MCTS: Microsoft Exchange Server 2007/2010 | MCITP: EMA 2007/2010 | Blog: http://www.testlabs.se/blog | Follow me on twitter: jonand82
January 20th, 2011 5:41pm

Please check if there’s any error event in the application log after reproduce the OOF (Out of Office Assistant) issue Please check all the settings on the virtual directories, especially the /AutoDiscover virtual directory. Please make sure that “ASP.NET Impersonation” authentication isn’t enabled, otherwise the same issue will appear Default settings for Exchange-related virtual directories in Exchange Server 2007 Please try to recreate the /AutoDiscover virtual directory Remove-AutodiscoverVirtualDirectory "cas-servername\Autodiscover (default web site)" New-AutodiscoverVirtualDirectory -WebsiteName "Default Web Site" -WindowsAuthentication $true -BasicAuthentication $true Restart IISAdmin service Please run ExBPA against the exchange server for health checkPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2011 12:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics