Outlook unable to synchronize SharePoint library – error 0x80004005

outlook-2007sharepointsharepoint-2007

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.

Best Answer

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.