Archive for the ‘Servers’ category

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.


repeated login prompts (credentials, username, password) for outlook 2007 on exchange 2007 when using AutoDiscover (0x80040413 error)

December 14, 2009

I think  the title says it all.  The problem was that we were using a self-signed certificate on the SmallBusiness/Exchange server.  The resolution was to go into IIS 7 and find the AutoDiscover virtual directory, go to the SSL settings for that virtual directory, and uncheck require SSL.

Turns about the above wasn’t a solution at all.  For the real solution, see:

SMTP 502 Errors with “Bad Vibes” as the response text

May 1, 2007

I was trying to send mail from PHP on my local development machine and couldn’t figure out why I kept getting this response in my PHP logs:

(code: 502, response: negative vibes)

Turns out this was because I had Thunderbird open with the WebMail extension. Apparently, it creates some kind of proxy on port 25 that I was connecting to instead of the IIS SMTP service that I thought I was connecting to. I found the explanation of this problem here: