OAB Sync Issues
Hi All,
We recently transitioned from Exchange Server 2000 to 2007, running on Windows Server 2008 R1. The problem is after this transition was made all Outlook users that have an email account on this mail server are receiving emails every hour in the sync issues folder that reads:
"10:29:31 Synchronizing Mailbox 'Mailbox Name'
10:29:31 Done
10:34:35 Microsoft Exchange offline address book
10:34:35 Not downloading Offline address book files. A server (URL) could not be located.
10:34:35 0X8004010F"
I've been working on this problem for some time now but can't find a solution to it. Does anyone know why the users are getting these error messages? Is it the OAB files that are trying to be generated and aren't able because all users are online?
Any help/advice would be greatly appreciated.
Thanks,
Mel
January 15th, 2010 1:35am
Hi Mel,The error mentioned is because the Exchange 2007 database is not pointed to an OAB or probably a wrong OAB.1. Got to EMC.2. Server Configuration - Maiox - Mailbox database properties - Client settings - Make sure its pointing to right OAB.Also refer to :How to View and Modify Offline Address Book Settingshttp://technet.microsoft.com/en-us/library/aa997668(EXCHG.80).aspx &How to Provision Recipients for Offline Address Book Downloadshttp://technet.microsoft.com/en-us/library/aa996345(EXCHG.80).aspx
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2010 1:52am
Hi Nair,
I took a look at the OAB settings and it seems correct. It's holding the default value gievn to it; "\Default Offline Address Book" is what it reads in the Offline Address Book field. Is there a way I can tell if this should be pointing to another address book?Is there a way that I can turn off OAB to prevent users from getting this message for the time being? I don't understand why the offline address book files are attempting to be downloaded every hour when we are connected to the network all the time. Is this a download or would this be the system trying to make the file for a user to later download?Thanks for your help, Mel
January 15th, 2010 3:40am
What version of OUtlook are you using?Have you replicated the OAB system files to 2007?Is the generation server set correctly? Can you successfully update the OAB?If you are using Outlook 2007, its probably easier to just create a new OAB and set it for Web Distribution and then set that as the default OAB for the mailbox stores:http://technet.microsoft.com/en-us/library/bb124270(EXCHG.80).aspx
How to Create an Offline Address Bookhttp://technet.microsoft.com/en-us/library/cc179201.aspx
Plan Outlook 2007 Offline Address Book deployment<!---->
<!---->
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2010 3:52am
Hi Andy, Yes all users have Outlook 2007. Sorry I'm new to Exchange. How would I go about replicating the OAB system files to 2007? And how would I try to update the OAB? I did go to Tools -> Send/Recieve -> Download Address Book and I get the following message as well as recieving another Sync issue email:Task 'aaa@bbb.com' reported error (0x8004010F) : 'The operation failed. An object cannot be found.'Thanks for the links I'll take a look at them now.Look forward to hearing back.Mel
January 15th, 2010 5:25am
Since you are using Outlook 2007, I would create a new web-based OAB using that link above:http://technet.microsoft.com/en-us/library/bb124270(EXCHG.80).aspx Be sure to set the mailbox storess to use it as well. ( instead of the old one):http://technet.microsoft.com/en-us/library/aa997667(EXCHG.80).aspxThen set it as default for the org:http://technet.microsoft.com/en-us/library/bb124351(EXCHG.80).aspxUpdate it to generate a new one:http://technet.microsoft.com/en-us/library/aa997684(EXCHG.80).aspxConfirm in the event log that generation was succesful.Then restart the MSExchangeFDS service on the Client Access Server and verify the updated OAB files have been copied.http://blogs.msdn.com/dgoldman/archive/2006/08/25/How-Exchange-2007-OAB-Files-are-replicated-to-a-Client-Access-Server-for-download.aspxNow close Outook 2007. Re-Open and see if you can download the OAB.If not, delete the *.oab files on the local workstation and try again.If it still doesnt work, verify that you are using the OAB virtual directory for OAB downloads using the info here by using the Test E-mail AutoConfiguration tool in Outlook 2007:http://msexchangeteam.com/archive/2007/03/05/436656.aspx
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2010 7:04am
Check the Finalize Deployment tab in Exchange Management Console (EMC) it will guide you through the task of configuring offline address book (OAB) distribution for Microsoft Office Outlook 2007 clients.This link will also help:http://technet.microsoft.com/en-us/library/bb124351(EXCHG.80).aspx
January 15th, 2010 10:57pm
Hi Andy, This morning I went through the steps you've outlined above this but was still unable to download the OAB. So I started reading through the final link you listed. Is it possible I don't have a Client Access Server setup? I went to the server manager only the Client Access Role isn't listed there to add. Although "Client Access" is under each section of the Exchange Management Console.This is what I got back from the Test E-mail AutoConfiguration tool:
Autodiscover to http:// aaa.bbb.com /QutoDiscover/autodiscover.xml FAILED (0X80004005)
Autodiscover to https://bbb.com/autodiscover/autodiscover.xml starting
Autodiscover internet timeout against URL https://bbb.com/autodiscover/autodiscoevr.xml
Autodiscover internet timeout against URL https://bbb.com/autodiscover/autodiscoevr.xml
Autodiscover to https://bbb.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
Autodiscover to https://autodiscover.bbb.com/autodiscover/autodiscover.xml starting
Autodiscover to https://autodiscover.bbb.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
Local autodiscover for bbb.com starting
Local autodiscover for bbb.com FAILED (0X8004010F)
Redirect check to http://autodiscover.bbb.com/autodiscover/autodiscover.xml starting
Redirect check to http://autodiscover.bbb.com/autodiscover/autodiscover.xml FAILED (0X80072EFE)
Srv Record lookup for bbb.com starting
Srv Record lookup for bbb.com FAILED (0X8004010F)
Thanks for your help on thisMel
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2010 3:38am
Is the workstation not a domain-joined workstation?If you didnt have a CAS, a lot of things wouldnt work :)You can view it under the serer config node in EMC or via powershell: Get-ClientAccessServer
January 16th, 2010 4:00am
Hi Mel,Can you check if you have a "A record" for "Autodiscover.domain.com" in your DNS?If you don't have, try adding it and restart your exchange services and let us know if it works.- Nagesh
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2010 4:12am
No, the workstation is in the same domain as the Exchange server.Ok thanks, I ran Get-ClientAccessServer and it returned the name of the Exchange server so I'm now sure we have a Client Access Server setup :)Do you have any other ideas for me?I'm not sure if this helps but I'm able to view the OAB file via the URL:https://server_name/OAB/92e157fd-0dc2-46fe-85f6-a5dd5ffa281d/oab.xmlI can access this from both the server and the workstation I've been testing from. Does this mean that the Internal URL of the OAB Distribution should be https://server_name/OAB?
January 16th, 2010 4:14am
Hi Nagesh,Please can you give me instruction on how to go about checking the DNS to look for the A Record for Autodiscover.domain.com?Also, does this need setting up even if all machines accessing the Exchange server are in the same domain as it?ThanksMel
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2010 4:20am
Ok, the reason I asked was because it should find the autodiscover services through the SCP in AD if the workstation is domain-joined, something I dont see in your posted output:More info:http://technet.microsoft.com/en-us/library/bb232838(EXCHG.80).aspx
Autodiscover and Exchange 2007<!---->
If you issue a Get-OabVirtualDirectory command, it will tell you what URLs are defined.
January 16th, 2010 5:24am
Hi Mel,Yes, in case if you have issues with OAB and the URL, it will help you out.Here you go.Go to DNS -> Forward lookup zones -> Domain.com -> In the right hand side, can you check if you have a "Host A" Record, where the name should say "Autodiscover" and the IP should be the CAS server's IP.- Nagesh
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2010 2:24am
Hi Mel,Yes, in case if you have issues with OAB and the URL, it will help you out.Here you go.Go to DNS -> Forward lookup zones -> Domain.com -> In the right hand side, can you check if you have a "Host A" Record, where the name should say "Autodiscover" and the IP should be the CAS server's IP.
- Nagesh
A domain-joined workstation looks for the SCP in AD for the location of the autodiscover services however.
January 18th, 2010 2:30am
Hi Andy, Thank you for your continued replies, they are really helpful and informative.I read the article on AD and Exchange Server 2007 and compared what they said we should have to our Exchange Server and AD server. Can you tell me where I should be able to see the SCP please?As far as I can see it seems our Domain server (AD) has no SCP setup. When in AD Sites and Services, under Services --> MS Exchange, there is only a 'Default ADC Policy'. I also checked Services --> MS Exchange --> <Our Domain> --> Client Access --> Auto Discover --> Outlook, here we have three object classes named: Exch, Expr and Web. Should SCP be listed here?Thanks in advance,Mel
Free Windows Admin Tool Kit Click here and download it now
January 19th, 2010 11:09pm
Hi,
You can use Set-ClientAccessServer with AutoDiscoverServiceInternalUri switch to set a URL for AutoDiscover on the SCP other than the standard fully qualified domain name of the Client Access Server.
Set-ClientAccessServer
http://technet.microsoft.com/en-us/library/bb125157(EXCHG.80).aspx
To locate SCP record, you can use adsiedit.msc tool:
Configuraiton->Services->Microsoft Exchange->orgname->Administrative Group->AGName->Servers->CASServer->Protocols->Autodiscover
~~~~~~~~~~~~~~~~
Mike Shen
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact tngfb@microsoft.com
~~~~~~~~~~~~~~~~
January 20th, 2010 3:24pm
Hi Mike, Thank you for your reply. I followed the path to locate the SCP record, only once I get to the AutoDiscover folder the only item in there is a folder with the name of our Exchange Server (which is also the CAServer). There are no records in either the AutoDiscover folder or the Exchange Server folder.Any ideas on how I can create/setup SCP? If infact SCP hasn't been setup automatically when the CAServer was setup I think I know the reason behind this. We had an old domain server at the time as our primary DC and this server at the time had low disk space so it was preventing basic operations even from filtering through to the rest of the domain, for example a new user was added. This server has since been replaced and removed from the network but maybe SCP was attempted to be setup on that server at the time. If you have the steps I need to take in order to set this up on the new DC I would really appreciate it.Thanks,Mel
Free Windows Admin Tool Kit Click here and download it now
January 20th, 2010 10:56pm
Hi,
The Exchange CAS object understand Autodiscover folder is the SCP object. If you check the class of the object, it should be serviceConnectionPoint SCP)
Thanks
Mike
January 21st, 2010 11:15am
Hi Mike, Thanks for explaining. I looked at the AutoDiscover folder and yes the class is ServiceConnectionPoint. Do you have any idea why I'm all domain-joined machines are receiving SyncIssue emails saying:
10:10:11 Synchronizer Version 12.0.6509
10:10:11 Synchronizing Mailbox '<Mailbox Name>'
10:10:11 Done
10:15:15 Microsoft Exchange offline address book
10:15:15 Not downloading Offline address book files. A server (URL) could not be located.
10:15:15 0X8004010FThis email is recieved every hour. Is there some trouble shooting I could carryout, or anything I can try?Thanks, Mel
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2010 11:28pm
Hi,Seems like this issue is going on since some time, how about try creating new OAB and set it as default and check the issue.(I am not sure if you have tried creating new OAB)After you create new OAB and point the new OAB to Mailbox Database, restart MS Exchange System Attendant service on Mailbox Server Role and MS Exchange File Distribution service on CAS server.Check if ExchangeOAB shared folder has lzx files and ClientAccess folder on CAS server.Try to download full OAB and check the issue it should work fine. ( I am assuming that this is stand alone server not a cluster)Check this link just for refrence on OAB issues and reasonhttp://msexchangeteam.com/archive/2007/04/19/437902.aspx
http://support.microsoft.com/default.aspx/kb/940726
Thanks, -GULAB
January 22nd, 2010 1:39am
Hi Gulab,Yes I created a new OAB and the other steps you listed above only the problem still persists. After downloading the full OAB there are a number of LZX files and an oab.XML file in a sub folder of the ExchangeOAB shared folder. There are other server in the network but this is the only DC at the moment, since we recently decommisioned an old DC recently. Thanks for the links I'll take a look at them now. Can you think of anything else I can look at/try to over come this issue?Thanks,Mel
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2010 5:49am
Hi Mel,
As Andy explained for domain joined client, it should locate Autodiscover URL through SCP record. Nevertheless, from your output, the Outlook attempts to use hard coded URL to locate Autodiscover.
For your reference, for domain joined client, you should get info like below:
Attempting URL https://server.domain.com/autodiscover/autodiscover.xml found through SCP
Therefore, please check whether you have logged on the domain joined client by using a domain account.
Thanks,
Mike
January 22nd, 2010 4:57pm
Hi Mike, Yes I'm logged onto a machine that is connected to the doamin.I did run the "Test Email AutoConfiguration" again though and as well as the messages I recieved before, the following three lines were received first:
Attempting URL http://qasysmail.qasys.com/QutoDiscover/autodiscover.xml found through SCP
Autodiscover to http://qasysmail.qasys.com/QutoDiscover/autodiscover.xml starting
Autodiscover request completed with http status code 403
Thanks,
Mel
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2010 1:17am
What authentication do you have listed for Get-WebServicesVirtualDirectory ?Get-WebServicesVirtualDirectory | fl WindowsAuthenticationWindowsAuthentication should be set to true.If not, http://technet.microsoft.com/en-us/library/aa997233(EXCHG.80).aspxSet-WebServicesVirtualDirectory -WindowsAuthentication:$true
January 23rd, 2010 2:21am
Hi Andy, Sorry about the very late reply.I just checked and WindowsAuthentication is set to True.Do you have any other ideas to what could be the problem?Your help is much appreciated.Thanks,Mel
Free Windows Admin Tool Kit Click here and download it now
February 10th, 2010 1:14am
Hi All, I still haven't managed to find an answer to this yet and our users are continually asking us about the Sync Issue messages they are receiving. Any additional ideas on what the problem is would be really appreciated, thanks.
Mel
February 11th, 2010 11:52pm
Hi Mel,If you could provide me the detailed Topology of your environment so that i can look into it and will try to find out the resolution for the same.Waiting for you reply/TopologyThanks,
-GULAB
Free Windows Admin Tool Kit Click here and download it now
February 12th, 2010 8:34am
Hi Mel,I have some questions for you.1: Do you have secondary website (Name : OWA) for Autodiscover, Microsoft-Server-Active Sync and OWA?If yes than, Host Headers assigned to which address?2: When you tried to browse the URL are you getting error “Page cannot be displayed"?3: When you ping the webmail.XXXXX.com what IP of the Hardware NLB for the CAS 10.00.00.000?Now try to TO set the hostentry for webmail.XXXXX.com pointing to the IP of the OWA websiteIf youbrowse http://webmail.XXXXX.com/autodiscover/autodiscover.xml and if it prompted for credentials thrice and we then get the error HTTP 401.1 - Unauthorized: Logon Failedthen follow the article You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later versionhttp://support.microsoft.com/kb/896861It shold help and your issue should get resolved. :)
Creating host A for Autodiscover in DNS should resolved the issue* I assuming that you have the same environment as one of my client had in Past*All the Best :)Thanks,
-GULAB
February 12th, 2010 8:52am
Hi Gulab, Thank you for your reply. We have Windows Server 2008 Standard loaded on our mail server, along with Exchange server 2007. The work stations mainly have Windows XP on them and Outlook 2007.I'll get back to you on your second post once I gather the information. If there is any other details that would help please let me know.Thanks, Mel
Free Windows Admin Tool Kit Click here and download it now
February 12th, 2010 10:28pm
Hi Mel, I am still waiting for your reply/update on the issue.Thanks,
-GULAB
February 14th, 2010 8:00pm
Hi Gulab, Sorry for the delayed reply, I have 1: Do you have secondary website (Name : OWA) for Autodiscover, Microsoft-Server-Active Sync and OWA?We only have one OWA setup, which I'm able to login to with my user credentials and see my mail etc.2: When you tried to browse the URL are you getting error “Page cannot be displayed"?When I browse the OWA URL I don't get any error.
When I browse to the OAB xml file I’m able to see it in the browser too, using the following URL:
https://<servername.com>/OAB/<oab_alpha-numeric number>/oab.xml
3: When you ping the webmail.XXXXX.com what IP of the Hardware NLB for the CAS 10.00.00.000?
I’m not sure if I see the IP address you are asking for when I ping the server. The only IP address I see when pinging the server is that of the actual server. Is there something I need to add to the command line to see this IP address?
Also, I tried broswing http://webmail.XXXXX.com/autodiscover/autodiscover.xmlthe following xml contents were displayed:
"<?xml version="1.0" encoding="utf-8" ?>
- <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
- <Response>
- <Error Time="14:31:19.0675640" Id="4247090710">
<ErrorCode>600</ErrorCode>
<Message>Invalid Request</Message>
<DebugData />
</Error>
</Response></Autodiscover>"
If there is any other information that would help please let me know.
Mel
Thank you for your help on this.
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2010 2:41am
Hi, I'm not sure if this has any importance but I noticed that the AutoDiscoverServiceURI is equal to:https://Webserver.com/QutoDiscover/Autodiscover.xmlI'm not sure why it's QutoDiscover instead of AutoDiscover and if this would cause any problems.I went on to run Test-OutlookWebServives and got the following:
Test-OutlookWebServices | fl Id : 1003 Type : Information Message : About to test AutoDiscover with the e-mail address <email>@<domain>.com. Id : 1007 Type : Information Message : Testing server Webserver.com with the published name https://Webserver.com/ews/exchange.asmx & .Id : 1019 Type : Information Message : Found a valid AutoDiscover service connection point. The AutoDiscover URL on this object is https://Webserver.com/QutoDiscover/Autodiscover.xml. Id : 1013 Type : Error Message : When contacting https://WebServer.com/Qutodiscover/Autodiscover.xml received the error The remote server returned an error: (403) Forbidden.Id : 1006 Type : Error Message : The Autodiscover service could not be contacted.I just wanted to post my findings incase it could help.Thanks againMel
March 2nd, 2010 5:04am
Sorry for the many posts but I just want to keep you updated. I've since chance the AutoDiscoverServiceURI to https://Webserver.com/AutoDiscover/Autodiscover.xmland now the ID: 1013 ERROR is replaced with "(404) Not Found" as you can see below.
Id : 1013 Type : Error Message : When contacting https://WebServer.com/AutoDiscover/Autodiscover.xml received the error The remote server returned an error: (404) Not Found.Also after running 'Get-AutoDiscoverVirtualDirectory | fl' I noticed that the InternalUrl and the ExternalUrl are blank. Would this cause the "(404) Not Found" error?ThanksMel
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2010 5:28am