Paul Liebrand’s Weblog

Welcome to my blog mainly about SharePoint

New Strange Error (All profiles failed to update)

UPDATE 06/12/2008: A possible cause of this issue could be that the user has set an invalid URL for their profile picture. We had a user set their profile picture to point to a web page that contained their picture instead of the picture itself. The error message states something about the URL containing invalid data. After changing this to a correct URL the problem seemed to go away.

A few days ago we started experiencing seeing a new error message appearing in the event logs on our SharePoint servers. At the same time we noticed that some membership groups were not being updated.  The error message in the event log was:

   1: Event Type:    Error
   2: Event Source:    Office SharePoint Server
   3: Event Category:    User Profiles 
   4: Event ID:    5553
   5: Date:        3/10/2008
   6: Time:        3:42:04 PM
   7: User:        N/A
   8: Computer:    SERVER1
   9: Description:
  10: failure trying to synch site 925066d9-1415-4da3-810b-24e8af79ded0 for ContentDB 58b614ac-5ee6-4d56-8701-2b80ed8ae4ea WebApp 15c4ca18-f528-4e9b-aa92-db3e54860daa.  Exception message was All profiles failed to update.  Failing site so we can try again later..

Followed by the following error:

   1: For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
   2: Event Type:    Error
   3: Event Source:    Office SharePoint Server Error Reporting
   4: Event Category:    None
   5: Event ID:    5000
   6: Date:        3/10/2008
   7: Time:        3:00:07 PM
   8: User:        N/A
   9: Computer:    SERVER1
  10: Description:
  11: EventType ulsexception12, P1 owstimer.exe, P2 12.0.6036.5000, P3 46cbd293, P4 microsoft.office.server, P5 12.0.4518.0, P6 45417997, P7 3060, P8 21, P9 profilesynchronizationinternalexception, P10 837v.

I tried the STSADM -O SYNC commands and nothing seemed to clear up the problem. I started looking through the SharePoint logs and came across the following entry (yes — I know it is not pretty to read):

   1: 03/10/2008 15:42:04.47     OWSTIMER.EXE (0x09E4)                       0x1B28    SharePoint Portal Server          User Profiles                     62s8    Unexpected    SyncLog208000000003 WebApp SharePoint - portal.company.com80(15c4ca18-f528-4e9b-aa92-db3e54860daa), ContentDB Corpnet_Content(58b614ac-5ee6-4d56-8701-2b80ed8ae4ea), Site http://portal.company.com/sites/Site1, User DOMAIN\Username(00000000-0000-0000-0000-000000000000): failed to update list item.  Exception follows: Microsoft.SharePoint.SPException: Invalid URL value  A URL field contains invalid data. Please check the value and try again. ---> System.Runtime.InteropServices.COMException (0x81020020): Invalid URL value  A URL field contains invalid data. Please check the value and try again.     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoV...     
   2: 03/10/2008 15:42:04.47*    OWSTIMER.EXE (0x09E4)                       0x1B28    SharePoint Portal Server          User Profiles                     62s8    Unexpected    ...ersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)     at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Library.SPRequest...     
   3: 03/10/2008 15:42:04.47*    OWSTIMER.EXE (0x09E4)                       0x1B28    SharePoint Portal Server          User Profiles                     62s8    Unexpected    ....AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)     at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents)     at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSyste...     
   4: 03/10/2008 15:42:04.47*    OWSTIMER.EXE (0x09E4)                       0x1B28    SharePoint Portal Server          User Profiles                     62s8    Unexpected    ...m, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents)     at Microsoft.SharePoint.SPListItem.Update()     at Microsoft.Office.Server.UserProfiles.ProfileCopier.CopyProfileToList(UserProfile up, SPListItem itm)     
   5: 03/10/2008 15:42:04.47     OWSTIMER.EXE (0x09E4)                       0x1B28    SharePoint Portal Server          User Profiles                     837v    Exception    failure in SiteSynchronizer.Synch Microsoft.Office.Server.UserProfiles.ProfileSynchronizationInternalException: All profiles failed to update.  Failing site so we can try again later.     at Microsoft.Office.Server.UserProfiles.ProfileCopier.ThrowOnAllFailed()     at Microsoft.Office.Server.UserProfiles.SiteSynchronizer.UserSynchronizer.SynchProfilesToList(SPUser[] rguser, Int32 nSIDs, Object objTarget)     at Microsoft.Office.Server.UserProfiles.SynchCollection`2.FlushAdds()     at Microsoft.Office.Server.UserProfiles.SynchCollection`2.Add(T objAdd)     at Microsoft.Office.Server.UserProfiles.SiteSynchronizer.UserSynchronizer.SynchFull()     at Microsoft.Office.Server.UserProfiles.SiteSynchronizer.Synch()     at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolea...     
   6: 03/10/2008 15:42:04.47*    OWSTIMER.EXE (0x09E4)                       0x1B28    SharePoint Portal Server          User Profiles                     837v    Exception    ...n fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)     
   7: 03/10/2008 15:42:04.47     OWSTIMER.EXE (0x09E4)                       0x1B28    SharePoint Portal Server          User Profiles                     791t    Critical    failure trying to synch site 925066d9-1415-4da3-810b-24e8af79ded0 for ContentDB 58b614ac-5ee6-4d56-8701-2b80ed8ae4ea WebApp 15c4ca18-f528-4e9b-aa92-db3e54860daa.  Exception message was All profiles failed to update.  Failing site so we can try again later..     

The only line that really caught my eye was the one that listed a URL, one of my users, and a blank GUID. We landed up simply deleting the specified user from the site collection that was reported in the logs and then everything started flowing again.  We added the user back and everything is still working as expected. I am still not sure what caused this problem and why it was specific to this user but everything is up and running again.

Advertisements

March 10, 2008 - Posted by | SharePoint |

3 Comments »

  1. Hi,

    We are getting the same problems. Ho wdid you get to the SharePoint logs?

    Thanks

    Comment by Rany | March 19, 2008 | Reply

  2. By default the SharePoint logs are found under the 12 hive (http://wsswiki.com/12_Hive) in the Logs folder.

    Comment by liebrand | March 19, 2008 | Reply

  3. This solution worked like a charm. I deleted the user from user profile and i not longer get this error.

    Comment by Rohit | May 28, 2010 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: