Autodiscover problem
We are running Exchange 2007 SP1 on Windows Server 2008 R2. Everything is working except for Autodiscover. If I attempt to open a web browser and go to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml, it returns a Runtime Error. The Application Log on the server shows: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 5/10/2010 3:30:25 PM Event time (UTC): 5/10/2010 8:30:25 PM Event ID: f90be44e0ed345fd9d89e5a840f5224c Event sequence: 64 Event occurrence: 63 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/Autodiscover-1-129179960405900831 Trust level: Full Application Virtual Path: /Autodiscover Application Path: D:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover\ Machine name: SERVER Process information: Process ID: 14224 Process name: w3wp.exe Account name: NT AUTHORITY\SYSTEM Exception information: Exception type: COMException Exception message: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) Request information: Request URL: https://autodiscover.mydomain.com:443/autodiscover/autodiscover.xml Request path: /autodiscover/autodiscover.xml User host address: 192.168.7.219 User: mydomain\User Is authenticated: True Authentication Type: NTLM Thread account name: NT AUTHORITY\SYSTEM Thread information: Thread ID: 7 Thread account name: NT AUTHORITY\SYSTEM Is impersonating: False Stack trace: Custom event details: The SSL certificate is a UCC certificate from a 3rd party and has mydomain.com, mail.mydomain.com, and autodiscover.mydomain.com as well as the internal name for the server. I've tried removing and recreating the virtual directory through powershell. Windows Authentication, Basic Authentication, and ASP.NET Impersonation are enabled for the virtual directory. I've checked the rights on the Autodiscovery directory and the xml file. If I try the web browser from the exchange server, going against local host, I get: <? xml version="1.0" encoding="utf-8" ?> - < Autodiscover xmlns =" http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006 " > - < Response > - < Error Time =" 15:52:13.5502330" Id =" 548991829" > < ErrorCode > 600 </ ErrorCode > < Message > Invalid Request </ Message > < DebugData /> </ Error > </ Response > </ Autodiscover > After which point, attempting the same from a remote pc then returns a 401 error with a body of "You do not have permission to view this directory or page". Yes, it changes it's behavior after being accessed from the local server. And Yes, I know how crazy that sounds. After a couple times accessing it on the local server, then I get the 600 code returned when accessing it from the remote machine. Along the way, I've also received a different 500 error: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 5/7/2010 3:17:29 PM Event time (UTC): 5/7/2010 8:17:29 PM Event ID: fb31df2a872641948f3fdac70a9880bc Event sequence: 161 Event occurrence: 52 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/Autodiscover-1-129177361529147323 Trust level: Full Application Virtual Path: /Autodiscover Application Path: D:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover\ Machine name: SERVER Process information: Process ID: 11296 Process name: w3wp.exe Account name: NT AUTHORITY\SYSTEM Exception information: Exception type: TypeInitializationException Exception message: The type initializer for 'Microsoft.Exchange.Autodiscover.ProvidersTable' threw an exception. Request information: Request URL: https://autodiscover.mydomain.com:443/autodiscover/autodiscover.xml Request path: /autodiscover/autodiscover.xml User host address: 192.168.7.221 User: mydomain\User Is authenticated: True Authentication Type: NTLM Thread account name: NT AUTHORITY\SYSTEM Thread information: Thread ID: 12 Thread account name: NT AUTHORITY\SYSTEM Is impersonating: False Stack trace: at Microsoft.Exchange.Autodiscover.Core.Service.ValidateAndParseRequest() at Microsoft.Exchange.Autodiscover.Core.Service.GenerateResponse() at Microsoft.Exchange.Autodiscover.Default.OnLoad(EventArgs args) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details: Running a test on www.testexchangeconnectivity.com gives " A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown". Although I've also gotten a 500 error as well as an XML response from the test that has a 601 errorcode and a message of "Provider could not be found". I've run process monitor to try to figure out what is going on and have seen the w3wp.exe process attempting to open a registry key and getting a "BAD IMPERSONATION" response. I would appreciate any and all suggestions. Thanks.
May 11th, 2010 12:16am

Exchange 2007 including SP2 is NOT supported on Server 2008 R2. SP3 will include the support.Capecol MCSA - MCTS Exchange Server 2007 - 2010 - MCITP Messaging 2010 Blog: http://capecol.spaces.live.com/default.aspx
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2010 6:01am

Hi, You can get the answer from the below link: http://msexchangeteam.com/archive/2009/11/04/453026.aspx Thanks Allen
May 13th, 2010 11:07am

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

Other recent topics Other recent topics