{"id":1386,"date":"2021-10-19T10:24:20","date_gmt":"2021-10-19T08:24:20","guid":{"rendered":"https:\/\/www.web-workers.ch\/?p=1386"},"modified":"2021-10-29T09:42:21","modified_gmt":"2021-10-29T07:42:21","slug":"how-to-fix-exchange-offline-adressbook-download-issue-0x8004010f","status":"publish","type":"post","link":"https:\/\/www.web-workers.ch\/index.php\/2021\/10\/19\/how-to-fix-exchange-offline-adressbook-download-issue-0x8004010f\/","title":{"rendered":"How to fix Exchange Offline Adressbook download issue (0x8004010f)"},"content":{"rendered":"<p>You may see the error below in Outlook connected to an on premise Exchange server:<\/p>\r\n<p><em>0x8004010F: The operation failed. An object could not be found.<br \/><\/em>or<em><br \/><span>0x8004010F: Outlook data file cannot be accessed.<\/span><\/em><\/p>\r\n<h3>Outlook profile on client<\/h3>\r\n<p>You may want to check first if there is an issue with the Outlook profile on your Windows client. Follow this article to rule this out: <a href=\"https:\/\/docs.microsoft.com\/en-us\/outlook\/troubleshoot\/synchronization\/error-0x8004010f-when-sending-or-receiving-emails\" target=\"_blank\" rel=\"noopener\">Error 0x8004010F when sending or receiving email &#8211; Outlook | Microsoft Docs<\/a>. If this does not solve the issue, proceed to the next chapter.<\/p>\r\n<h3>Exchange database indexes<\/h3>\r\n<h4>Verify if the database indexes on the Exchange server are healthy<\/h4>\r\n<p>Launch the Exchange Management Shell and use the following command to verify the index status of your database(s), if they are not healthy fix the indexes.<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Get-MailboxDatabaseCopyStatus -Server EXCH16 | ft -auto\r\n\r\nName Status CopyQueueLength ReplayQueueLength LastInspectedLogTime ContentIndexState\r\n---- ------ --------------- ----------------- -------------------- -----------------\r\npriv1\\EXCH16 Mounted 0 0 Failed\r\npub2\\EXCH16 Mounted 0 0 Failed<\/code><\/pre>\r\n<\/div>\r\n<p>You may also see some event log recrods related to the database index:<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>Log Name: Application\r\nSource: MSExchangeFastSearch\r\nEvent ID: 1009\r\nLevel: Warning\r\nTask cageory: General\r\n\r\nThe indexing of mailbox database pub2 encountered an unexpected exception. Error details: Microsoft.Exchange.Search.Core.Abstraction.OperationFailedException: The component operation has failed. ---&gt; Microsoft.Exchange.Search.Core.Abstraction.CatalogReseedException: Some of the notifications for database 'fe54e013-c0d0-46e8-9b72-e55ddc155b80 (pub2)' are missing. Requesting a reseed.\r\nat Microsoft.Exchange.Search.Engine.SearchFeedingController.DetermineFeederStateAndStartFeeders()\r\nat Microsoft.Exchange.Search.Engine.SearchFeedingController.InternalExecutionStart()\r\nat Microsoft.Exchange.Search.Core.Common.Executable.InternalExecutionStart(Object state)\r\n--- End of inner exception stack trace ---\r\nat Microsoft.Exchange.Search.Core.Common.Executable.EndExecute(IAsyncResult asyncResult)\r\nat Microsoft.Exchange.Search.Engine.SyncRootController.ExecuteComplete(IAsyncResult asyncResult)<\/code><\/pre>\r\n<\/div>\r\n<h4>Recreate database index if required<\/h4>\r\n<p>Hint: Those steps do not procude an Exchange downtime &#8211; but the search functionality inside of Outlook will be unavailable<br \/>The performance of your Exchange server may be impacted, think about the best time window for this procedure.<\/p>\r\n<p>1. Launch a command prompt with administative privileges and stop following services:<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>net stop HostControllerService\r\nnet stop MSExchangeFastSearch<\/code><\/pre>\r\n<\/div>\r\n<p>2. Delete or rename the index folder in the exchange database folder<\/p>\r\n<p>The index folder contains a GUID inside your database folder.<br \/>E:\\priv1\\2C227528-1308-4387-966E-BBF4010D58F112.1.Single<br \/>E:\\pub2\\FE54E013-C0D0-46E8-9B72-E55DDC155B8012.2.Single<\/p>\r\n<p>3. Restart the previously stopped services to trigger the reindex of your database automatically.<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>net start HostControllerService\r\nnet start MSExchangeFastSearch<\/code><\/pre>\r\n<\/div>\r\n<p>4. Monitor the progress by opening perfmon.exe<\/p>\r\n<p><a href=\"https:\/\/www.web-workers.ch\/index.php\/2021\/10\/19\/how-to-fix-exchange-offline-adressbook-download-issue-0x8004010f\/2021-10-19-09_57_56-chbai17-chbai-ads-exchange-2016-royal-ts\/\" rel=\"attachment wp-att-1393\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1393\" data-permalink=\"https:\/\/www.web-workers.ch\/index.php\/2021\/10\/19\/how-to-fix-exchange-offline-adressbook-download-issue-0x8004010f\/2021-10-19-09_57_56-chbai17-chbai-ads-exchange-2016-royal-ts\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/10\/2021-10-19-09_57_56-chbai17.chbai_.ads-Exchange-2016-Royal-TS.png?fit=987%2C717&amp;ssl=1\" data-orig-size=\"987,717\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"perfmon.exe\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/10\/2021-10-19-09_57_56-chbai17.chbai_.ads-Exchange-2016-Royal-TS.png?fit=987%2C717&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/10\/2021-10-19-09_57_56-chbai17.chbai_.ads-Exchange-2016-Royal-TS.png?resize=300%2C218&#038;ssl=1\" alt=\"\" width=\"300\" height=\"218\" class=\"alignnone size-medium wp-image-1393\" srcset=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/10\/2021-10-19-09_57_56-chbai17.chbai_.ads-Exchange-2016-Royal-TS.png?resize=300%2C218&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/10\/2021-10-19-09_57_56-chbai17.chbai_.ads-Exchange-2016-Royal-TS.png?resize=768%2C558&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/10\/2021-10-19-09_57_56-chbai17.chbai_.ads-Exchange-2016-Royal-TS.png?w=987&amp;ssl=1 987w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>or monitor via Exchange Management Shell:<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Get-MailboxDatabaseCopyStatus | ft -auto\r\n\r\nName Status CopyQueueLength ReplayQueueLength LastInspectedLogTime ContentIndexState\r\n---- ------ --------------- ----------------- -------------------- -----------------\r\npriv1\\CHBAI17 Mounted 0 0 Crawling\r\npub2\\CHBAI17 Mounted 0 0 Crawling<\/code><\/pre>\r\n<\/div>\r\n<p>5. After the reindex process has been completed, verify the status of the indexes. They should be healthy now.<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Get-MailboxDatabaseCopyStatus | ft -auto\r\nCreating a new session for implicit remoting of \"Get-MailboxDatabaseCopyStatus\" command...\r\n\r\nName Status CopyQueueLength ReplayQueueLength LastInspectedLogTime ContentIndexState\r\n---- ------ --------------- ----------------- -------------------- -----------------\r\npriv1\\CHBAI17 Mounted 0 0 Healthy\r\npub2\\CHBAI17 Mounted 0 0 Healthy<\/code><\/pre>\r\n<\/div>\r\n<h3>Check offline adressbook<\/h3>\r\n<h4>Check default adressbook<\/h4>\r\n<p>1. Check if your addressbook is your default addressbook:<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Get-OfflineAddressBook | select Name, IsDefault\r\n\r\nName IsDefault\r\n---- ---------\r\nDefault Offline Address List (Ex2013) True<\/code><\/pre>\r\n<\/div>\r\n<p>2. If this is the case, check if it can be found via AutoDiscover<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Get-OfflineAddressBook | select Name, VirtualDirectories, *web*\r\n\r\nName VirtualDirectories GlobalWebDistributionEnabled WebDistributionEnabled\r\n---- ------------------ ---------------------------- ----------------------\r\nDefault Offline Address List (Ex2013) {} False False<\/code><\/pre>\r\n<\/div>\r\n<p>3. If both values are &#8220;False&#8221; then try to publish your addressbook.<\/p>\r\n<p>3.a Option1: Specify virtual directory<\/p>\r\n<p>Check the paths of your offline address books:<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Get-OabVirtualDirectory | fl Server,Name\r\n\r\nServer : EXCH16-1\r\nName : OAB (Default Web Site)\r\n\r\nServer : EXCH16-2\r\nName : OAB (Default Web Site)<\/code><\/pre>\r\n<\/div>\r\n<p>and then assign the address book:<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Set-OfflineAddressBook \"Default Offline Address List (Ex2013)\" -VirtualDirectories \"EXCH16-1\\OAB (Default Web Site)\",\"EXCH16-2\\OAB (Default Web Site)\"<\/code><\/pre>\r\n<\/div>\r\n<p>3.b Option2: Allow all directories (Microsoft&#8217;s prefered solution)<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>[PS] C:\\Windows\\system32&gt;Set-OfflineAddressBook \"Default Offline Address List (Ex2013)\" -GlobalWebDistributionEnabled $true<\/code><\/pre>\r\n<\/div>\r\n<p>4. Execute iisreset.exe to apply your changes.<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism undefined-numbers lang-plain\" data-lang=\"Plain Text\"><code>C:\\Windows\\system32&gt;iisreset\r\n\r\nAttempting stop...\r\nInternet services successfully stopped\r\nAttempting start...\r\nInternet services successfully restarted<\/code><\/pre>\r\n<\/div>\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>You may see the error below in Outlook connected to an on premise Exchange server: 0x8004010F: The operation failed. An object could not be found.or0x8004010F: Outlook data file cannot be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1290,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[138,3],"tags":[146,139,142,145,143,144,28],"class_list":["post-1386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-exchange-server","category-mswin","tag-database-index","tag-exchange","tag-offline-address-book","tag-onpremise","tag-outlook","tag-synchronization","tag-windows"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/07\/post-exchange-20161.jpg?fit=710%2C315&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8sxjX-mm","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/1386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/comments?post=1386"}],"version-history":[{"count":11,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/1386\/revisions"}],"predecessor-version":[{"id":1419,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/1386\/revisions\/1419"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/media\/1290"}],"wp:attachment":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/media?parent=1386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/categories?post=1386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/tags?post=1386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}