We help IT Professionals succeed at work.

Autodiscover Crashes

imccoy asked
Last Modified: 2012-05-11
I have an Exchange 2007 sp1 Rollup 10 server installed on a Hyper-V VM server running MS Server 2008 R2 x64 sp1. As far as I know autodiscover has never worked. I have run all of the powershell commands with the cert I have from Entrust. I can access OWA, but users can't update their OAB. They get the error:

17:05:30 Synchronizer Version 12.0.6554
17:05:30 Synchronizing Mailbox 'user name'
17:05:30 Done
17:05:36 Microsoft Exchange offline address book
17:05:36              Not downloading Offline address book files.  A server (URL) could not be located.
17:05:36       0X80004005

I think the problem is that the MSExchangeAutodiscoverAppPool crashes and stops. The server posts these errors in the event logs:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          4/22/2011 5:10:32 AM
Event ID:      5011
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      exchange.xxxxx.com
A process serving application pool 'MSExchangeAutodiscoverAppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '4172'. The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
    <EventID Qualifiers="32768">5011</EventID>
    <TimeCreated SystemTime="2011-04-22T10:10:32.000000000Z" />
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Security />
    <Data Name="AppPoolID">MSExchangeAutodiscoverAppPool</Data>
    <Data Name="ProcessID">4172</Data>

Log Name:      Application
Source:        MSExchange Common
Date:          4/22/2011 5:10:32 AM
Event ID:      579
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      exchange.xxxxx.com
Removal of privileges from process "c:\windows\system32\inetsrv\w3wp.exe" (PID=4492, LABEL=MSExchangeAutodiscoverAppPool) failed with error code 0x80070005.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="MSExchange Common" />
    <EventID Qualifiers="49156">579</EventID>
    <TimeCreated SystemTime="2011-04-22T13:27:20.000000000Z" />
    <Security />

I've installed all of the important updates, except those dated 4/12/2011.
Watch Question

Check the  Autodiscover Virtual Directory properties
Windows 2003 - Go to the Identity tab and ensure that it is not set to a user
Windows 2008 - Go to Advanced settings and check the Identity under Process model ensuring it is set to LocalSystem

Change will require recycling the app pool


Thanks for the reply.

It is already set to LocalSystem.


Anybody have any suggestions?
the error code 0x80070005 is E_ACCESSDENIED
you may want to check file level permissions
C:\Program Files\Microsoft\Exchange Server\ClientAccess\AUtodiscover
Make sure ADministrators and System have full access
Authenticated users with Read and Execute

Run an ExBPA with a permissions check
https://server/autodiscover/autodiscover.xml is that working fine?


What is the result of the Outlook "Test email autoconfiguraiton" @ the affected client machines.

You have the OAB distribution both with the web and public-folder(s) correct?


All permissions are correct on the Autodiscover folder.
The ExBPA didn't give any big red 'x's. It only gave a tree view of permissions.

e aravind:
For https://server/autodiscover/autodiscover.xml, I get a 503 - Service Unavailable. Which makes sense because the autodiscover app crashes and stops the service.

I can't find the 'Test email autoconfiguraiton' option.

You have the OAB distribution both with the web and public-folder(s) correct? Yes
Unlock this solution and get a sample of our free trial.
(No credit card required)


Changing authentication to Pass through Authentication worked. Thanks.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.