When I came into work today, I found I hadn't completely fixed the error with my Offline Address Book. While the previous post fixed a major issue, I still had problems. All the users kept getting a pop up authentication box saying they needed to log on to the OAB. When I ran the previous fix, every thing started working. However, after a period of time, no set time, the Outlook clients would start asking for a user name and password.
It seems now, every time I restart the Web Service, the authentication works properly. Well, I just created a new Self-Certificate for the web service because I noticed that autodiscover.domain.com was not one of the domains in the certificate. I changed that and everything seems to be working fine so far.
To add more than one domain name to a certificate, I used the following Exchange Management Shell command to create a certificate request: New-ExchangeCertificate -DomainName Myserver.domain.net, autodiscover.domain.net, autodiscover.domain.com -GenerateRequest:$True -privatekeyExportable:$true
After that, I created the certificate with the local server certificate website and completed the request with IIS.
I guess I'll see if this fixes this for good, though for some reason I have doubt that it will fix the problem.
EDIT: 9/26/08
Ok, so I finally figured out a solution to my problem. I found out that the OAB virtual directory was supposed to be set to not require SSL. But, whenever I would change it to not require SSL, then the clients could not download the OAB at all. It would return this error:
8:46:40 Microsoft Exchange offline address book
8:46:40 0X80190194
So I did a little more searching with that error and found another solution on Dgoldman's weblog. (http://blogs.msdn.com/dgoldman/archive/2006/11/27/Error-0x80190194-when-using-an-outlook-2007-client-to-download-a-web-distribution-enabled-oab.aspx). What I did not realize was that the system replicated the OAB files from C:\Program Files\Microsoft\Exchange Server\ExchangeOAB to c:\Program Files\Microsoft\Exchange Server\Client Access\OAB\. So I checked the second folder, Client Access\OAB, and the files had replicated.
I figured it must be a permission problem since the files had been replicating. I created a new OAB to see what the permissions where and sure enough, they were different. On the original OAB the permissions had somehow gotten really messed up. The only permissions should be Administrators and System with full control. Once I fixed that, then the clients could sync perfectly without having to restart any services.
This is one more problem I can check off my list! I've been trying to fix this for over a month now so it will be a nice change to not worry about that.
EDIT: 9/26/08
Just kidding with the last. There is something seriously wrong here. The permissions were correct.
EDIT: 11/24/2008
I know it's been a while since I've updated this, but I actually fixed the problem a couple months ago. I finally had to convert the OAB virtual directory in IIS to an application and then it worked correctly. It still works today and I haven't had problems with the syncing anymore since then so I know this was a solution to my problem.