Outlook unable to synchronize SharePoint library - error 0x80004005

by Doug Luxem   Last Updated October 19, 2019 22:00 PM - source

We have one large library (~10 GB) on SharePoint that cannot be synchronized with Outlook, even if you only attempt to synch one of the smaller sub folders in the library. Other libraries (or other library sub folders) work fine with Outlook.

This is with MOSS 2007 SP1 and Outlook 2007 SP2.

The error is:

Task 'SharePoint' reported error (0x80004005): 'An error occurred either in Outlook or SharePoint. Contact the SharePoint site administrator.'

Outlook Error

Reproducing the error

  1. Open up the large SharePoint document library in Internet Explorer
  2. From the Actions menu, select Connect to Outlook
  3. Select Allow on the stssync: security warning that pops up
  4. Outlook automatically tries an initial sync and sync status immediately shows the above error.

Update 1: I verified the same issue occurs on Windows XP SP3 with IE 6 using Outlook 2007 SP2 and the same SharePoint library (it was originally tested on Windows 7). The issue is definitely related to the library or Outlook.

Update 2: Using stsadm I exported the site with this large document library (8.6 GB 15,000 items) and imported it on to a development system. The result is the same on the development system - multiple clients are unable to connect Outlook to the library and get the 0x80004005 error above.



Answers 3


From other posts it looks like this could be a System.Runtime.InteropServices.COMException on your server.

For other scenarios the same error message has been fixed in a windows update. You could check that windows update has been run on your PC / SharePoint Server and Exchange Server.

Or it could simply be a bug.

http://support.microsoft.com/kb/914962

http://support.microsoft.com/kb/893617/

Shiraz Bhaiji
Shiraz Bhaiji
February 19, 2010 17:05 PM

I had also once curious troubles with Office and Sharepoint. My error was unexpected in Word.

I whould try Office Diagnostics Diagnose and repair crashing Office programs by using Office Diagnostics just to be sure there is nothing wrong with the installation.

Ivo Looser
Ivo Looser
February 25, 2010 13:27 PM

SOLUTION

I have been troubleshooting this issue with Microsoft, and we have found the root cause of the error in Outlook. The error is caused by trying to synchronize folders that have two dashes ("--") in the folder name or folder path (other special characters may cause the same error.) The problem is unrelated to the size of the library or the number of items.

The fix is to rename folders that contain two or more dashes in a row. Files with two dashes are not an issue.

Doug Luxem
Doug Luxem
March 31, 2010 15:41 PM

Related Questions


change SharePoint logo?

Updated June 21, 2016 08:00 AM

can't add sharepoint users from trusted domain

Updated May 22, 2016 08:00 AM



Sharepoint 2007 Event ID 6482

Updated July 10, 2015 15:00 PM