Event ID 6398 – User Profile Service Application – Operation is not valid due to the current state of the object
Filed Under (SharePoint 2010) by Just An Admin on 19-04-2012
We were solving a SharePoint 2010 Timer Job issue reported in our event logs when we encountered one other failed Timer job. For this we had to review all failed Timer jobs:
- Open the Central Admin
- Select Monitoring from the left menu
- Select Review job definitions from the left menu
- Select Job history from the left menu
- Select Failed jobs from the View pull down on the right top side
Besides the failed Timer job we were looking for, we also encountered the following error:
User Profile Service Application – User Profile Incremental Synchronization
Operation is not valid due to the current state of the object.
The event viewer showed us this reference of the issue:
The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 78c129da-bfe7-44e1-bf7a-23fdb3f48a42) threw an exception. More information is included below.
Operation is not valid due to the current state of the object.
After trying a few different changes in our SharePoint 2010 setup, we finally resorted to Google and found the following article: http://www.fewlines4biju.com/2011/03/error-occurred-in-deployment-step_23.html
After following the suggested steps we found that our Front End server was lister twice; once by its NetBIOS name and once by its full DNS name. The full DNS name had no installed features and displayed a red ‘no services running’ message.
After deleting the server with the full DNS name, we never encountered the error again.
Incoming search terms:
- – the execute method of job definition microsoft office server userprofiles userprofileimportjob – the execute method of job definition microsoft office server userprofiles userprofileimportjob threw an exception more information is included below operation is not valid due to the current state of the object – The Execute method of job definition Microsoft Office Server UserProfiles UserProfileImportJob Operation is not valid due to the current state of the object – The Execute method of job definition Microsoft Office Server UserProfiles UserProfileImportJob threw an exception More information is included below – microsoft office server userprofiles userprofileimportjob – user profile incremental synchronization operation is not valid due to the current state of the object – the execute method of job definition microsoft office server userprofiles lmtrepopulationjob – event 6398 sharepoint 2010 Operation is not valid due to the current state of the object