Outlook Does Not Finish Send and Receive of OAB

This week, the Send and Receive task in Outlook 2007 SP2 and Outlook 2010 started hanging while trying to download from Exchange Server 2007 SP3 on SBS 2008. If I highlighted the stuck process, I could see that it wasn’t able to get the Offline Address Book:

Outlook OAB 1

Some articles point to Autodiscover as the problem. I learned the trick of holding the Ctrl key while right-clicking on the Outlook icon in the system tray. That let me Test E-Mail Autoconfiguration and determine that my autodiscovery wasn’t working too well. (Hint:  you should see URLs for OOF and OAB, the user name it would use, etc.) With the help of this article on the Official SBS Blog, and the Go Daddy picture on Susan Bradley’s blog, I got autodiscovery cleared up by adding a SRV record to my Go Daddy DNS.

But still my OAB wouldn’t finish downloading. When I browsed to the full OAB URL provided by the autodiscovery, I got a “500 – Internal server error” (and another time, a “Runtime Error”).

Outlook OAB 2

Fix:  Give Authenticated Users Read Permission

The 500 error led me to this article which recommends changing the permissions on the web.config file in the OAB directory. Sure enough, that solved it! Here are the simplified instructions that worked for me:

1. On the SBS 2008 server, open IIS manager. Navigate to Server > Sites > SBS Web Applications, then the OAB virtual directory. On the right side, switch to Content View.

Outlook OAB 3

2. Right-click on the web.config file and select Edit Permissions. In my case, I saw only SYSTEM, the SBS admin user, and the Administrators group listed. We want to add Authenticated Users, so click on Edit and and then Add and put the Authenticated Users in there. I assigned only Read rights (that is, I removed Read & execute):

Outlook OAB 4

Once I okayed that new permission, Outlook was immediately able to download the Offline Address Book. I did not need to restart IIS or Outlook.

Oh, and trying to browse directly to the OAB URL now fails with a 403 – Forbidden message:

Outlook OAB 5

Fortunately it seems that Outlook knows how to provide credentials and get what it needs.

Is This Safe?

l’m always a little nervous to follow the recommendation of some web site that tells me to add permissions. However, as the site pointed out, the web.config files in the Autodiscover and owa folders already allow Authenticated Users at least Read access, so it makes sense that it’s okay for the OAB to have that permission as well.

4 thoughts on “Outlook Does Not Finish Send and Receive of OAB

  1. Minty

    Great Solution…Really helpmed me out here and not just on SBS on Exchange Server 2007.thanks

  2. Korr

    Worked! Thanks!

    Server 2008 R2
    Exchange 2010
    Outlook 2010

  3. Paul

    Wow, after searching the web for all types of fixes this one was the solution and was a quick fix without any service interruption.

    Thanks so much!!!!

  4. Sagar

    Hi Mark,

    Your solution worked. Troubleshooting OAB can be tricky as outlook just don’t gives out any error.
    My autodiscover and everything was working. It’s when I copy pasted the OAB url in browser and I got an 500 error, I started googling and landed on this page.

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.