Wednesday 17 September 2014

PartitionPropertiesCache.RefreshPartitionProperties: Encountered error: System.InvalidOperationException: Operation is not valid due to the current state of the object.

Keyword: User Profile Synchronization Service wont start


When configure user profile sync service, I get this error:

User Profile Application: SynchronizeMIIS encounters an exception: System.NullReferenceException: Object reference not set to an instance of an object.  
 at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.<>c__DisplayClass2.<IsTimerJobRunning>b__1()  
 at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()  
 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)  
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)  
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)  
 at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.IsTimerJobRunning(UserProfileApplicationJob timerJob)  
 at Microsoft.Office.Server.Administration.UserProfileApplication.SynchronizeMIIS()  
 at Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob.Execute()


This is because the FIM certificate has not been validated yet. The farm account which the sync service is running under must have access to Internet. This validation only needs to be done once, after the certificate is validated, you can disconnect Internet.



No comments:

Post a Comment