Configuring the User Profile Service Application in SharePoint 2013

Hello All.

This is a small sharing regarding an exception that was encountered when configuring the User Profile Service Application for SharePoint 2013.

I was preparing the SP 2013 environment. I was done with installation and central administration configuration. Next I started with the User Profile Service Application. I created a new User Profile Service Application. When I attempted to access the User Profile it produced the following exception:

User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have bfc81ba0-789c-4972-bed6-cd7a3e60457b at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs() at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)

After doing some research I found that the following services were stopped (_admin/Server.aspx).

  • User Profile Service
  • User Profile Synchronization Service

So I started these services and tried to access the User Profile Service Application again but no luck. But then I did an IISRESET and then access the User Profile Service Application and that worked like a charm.

But then next I noticed that the User Profile Synchronization Service was in the “Starting” mode for some time and then stopped. I went through the SP logs and found the following exceptions.

OWSTIMER.EXE (0x25CC) 0x004C SharePoint Foundation Topology 8xqz Medium Updating SPPersistedObject UserProfileApplication Name=User Profile Service Application. Version: 13333 Ensure: False, HashCode: 5871419, Id: 1969f112-342f-4845-bacd-1c5b7be0913e, Stack: at Microsoft.Office.Server.Administration.UserProfileApplication.Update() at Microsoft.Office.Server.Administration.UserProfileApplication.ResetILMFlags() at Microsoft.Office.Server.Administration.ProfileSynchronizationSetupJob.Execute(SPJobState state) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
OWSTIMER.EXE (0x25CC) 0x004C SharePoint Foundation Topology 75bd
High UpdatedConcurrencyException: The object UserProfileApplication Name=User Profile Service Application was updated by another user. Determine if these changes will conflict, resolve any differences, and reapply the second change. This error may also indicate a programming error caused by obtaining two copies of the same object in a single thread. Previous update information: User: <User Name> Process:OWSTIMER (9676) Machine:<Machine Name> Current update information: User: <User Name> Process:OWSTIMER (9676) Machine:<Machine Name>
OWSTIMER.EXE (0x25CC) 0x004C SharePoint Foundation Topology 8xqz Medium Updating SPPersistedObject UserProfileApplication Name=User Profile Service Application. Version: 13343 Ensure: False, HashCode: 63289421, Id: 1969f112-342f-4845-bacd-1c5b7be0913e, Stack: at Microsoft.Office.Server.Administration.UserProfileApplication.Update() at Microsoft.Office.Server.Administration.UserProfileApplication.ResetILMFlags() at Microsoft.Office.Server.Administration.ProfileSynchronizationSetupJob.Execute(SPJobState state) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 3bca319c-c15d-f09a-9557-4865fa31fa48
07/23/2013 10:38:17.72 OWSTIMER.EXE (0x25CC) 0x004C SharePoint Foundation Topology 8xqz Medium Updating SPPersistedObject ProfileSynchronizationSetupJob Name=ProfileSynchronizationSetupJob. Version: 13329 Ensure: False, HashCode: 13815511, Id: c7317b26-6311-46fa-97f2-50e3c2a376a1, Stack: at Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.Administration.ProfileSynchronizationSetupJob.Execute(SPJobState state) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 3bca319c-c15d-f09a-9557-4865fa31fa48


For the preceding exception we need to reset the timer service. So I reset the timer service and the User Profile Synchronization Service started.

So here my intention is to just share the kind of exception that could result if those services are stopped and then an IISRESET is required.

Thanks!

Up Next
    Ebook Download
    View all
    Learn
    View all