Posted tagged ‘exchange 2007’

repeated login prompts in outlook 2007 with exchange 2007, AutoDiscover (0x80040413 error), Offline Address Book

December 17, 2009

For those in a hurry, the quick solution is to install:

Update Rollup 9 for Exchange Server 2007 Service Pack 1

More details: we had an “out of the box” Small Business Server 2008 setup with Exchange 2007 setup with the Client Access Role enabled.  Clients were mixed Outlook 2003 and 2007.  Outlook 2003 clients would connect fine, but 2007 clients could not download the address book.  Furthermore, Outlook 2007 would throw up repeated login prompts and eventually the auto-discover tests would fail.

Our first test was to browse to the Offline Address Book URL through a browser, which revealed a 500 status error, and was a result of the permissions on that virtual directory’s web.config file were wrong and was preventing us from accessing it.  It was missing the Authenticated Users having access.  So we gave Authenticated Users read access to that file and the 500 errors went away.

However, once we did that, Outlook 2007 clients would repeatedly prompt for user name and password.  We also found that running the auto-discover tests would fail with errors that indicated a failure to authenticate.

The resolution?  So simple, but it tooks us 30+ hours of troubleshooting and a call to Microsoft support.  Hopefully, it won’t take you as long:

Update Rollup 9 for Exchange Server 2007 Service Pack 1

Once the above was installed, everything started working as expected.