Tuesday, October 15, 2013

SharePoint 2010: Event ID 6398, The Execute method of job definition Microsoft.SharePoint.Administration.SPSqmTimerJobDefinition threw an exception

 If you notice the above error in your SharePoint 2010 Farm, the likely culprit is the CEIP (Customer Experience Improvement Program)

Resolution
For completeness it is worth disabling CEIP, first do this as the farm level.
  • In Central Administration, select System Settings
  • Click Configure privacy options under Farm Management
  • Under Customer Experience Improvement Program, select ‘No, I don’t wish to participate’
Next this needs to be disabled for all web applications, including Central Administration.
  • Select Application Management, then Manage Web Applications
  • Select the first Web Application in the list and click General Settings
  • At the very bottom of list, select No in the Enable Customer Experience Improvement Program
  • Repeat for all Web Applications in the farm.
In theory, this should be sufficient to disable CEIP across the farm, however running SP1 and the June CU, you will find that the error still appears, therefore the last resort is to disable the Timer Job.
  • Click Monitoring then Review  Job Definitions under the Timer Jobs heading.
  • In the list, click on CEIP Data Collection.
  • At the bottom of the page, click Disable.
The errors will not longer appear and although you could simply just disable the timer job to begin with, I feel it’s better to have the farms configuration set correctly too.

Thursday, October 10, 2013

SharePoint 2013: Disable LoopbackCheck with Powershell

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword

Tuesday, October 8, 2013

SharePoint 2013: Event ID 6398, An update conflict has occured, and you must re-try this action

You see the following error in the Application Log:




Problem:  The Configuration Cache needs to be rebuilt
  • Stop the SharePoint Timer Service
  • Browse to C:\ProgramData\Microsoft\SharePoint\Config\<GUID>
    •  'ProgramData' is a hidden folder
    • Where <GUID> is the folder ID with the most recent timestamp that also contains .xml files and the cache.ini file.
  •  Make a copy/backup of the cache.ini file
  • Delete all of the .xml files in the <GUID> folder
  • Edit the cache.ini file, replacing the existing number with 1
  • Save the cache.ini file
  • Start the SharePoint Timer Service
  • Verify that new .xml files are created in the <GUID> folder.
NOTE:  You may have to restart IIS and the User Profile Synchronization Service after performing this procedure.