Mar15

Clear and rebuild the SharePoint 2010 Configuration Cache

Author // Rogério Cruzeiro Categories // How To

Microsoft SharePoint Foundation Usage Data Import Job Fail

Possible solution for Usage Data Import Job Fail and Execute Method SPUsageImportJobDefinition Fail errors:

Every 15 minutes this warning appears on the event viewer:

"The Usage Data Import timer job failed. You can rerun this job using the Timer Job Status page in the SharePoint Central Administration site."

UsageDataImportWarning

 Followed by the error:

"An update conflict has occurred, and you must re-try this action. The object SPUsageServiceInstance was updated by DOMAIN\farmaccount, in the OWSTIMER process, on machine SHAREPOINTSERVERNAME.  View the tracing log for more information about the conflict."

 

Possible resolution

Clear SharePoint CONFIGURATION cache. (not output cache, configuration cache). 

  1. Stop the Windows SharePoint Services Timer service
  2. Navigate to the cache folder
    • In Windows Server 2008, the configuration cache is in the following location: %SystemDrive%:\ProgramData\Microsoft\SharePoint\Config\GUID
    • In Windows Server 2003, the configuration cache is in the following location: %SystemDrive%:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\GUID
  3. Locate the folder that has the file "Cache.ini" in it
  4. Back up the Cache.ini file. DO NOT DELETE THIS FILE
  5. Delete all the XML configuration files in the GUID folder.
    • Make sure that you do not delete the GUID folder and the Cache.ini file that is located in the GUID folder.
  6. Edit the Cache.ini file and replace all content with "1" (without quotes).
  7. Start the Windows SharePoint Services Timer service
  8. Make sure the the xml files are re-created in after you start the service
  9. Wait untill all files are re-created and the value in the Cache.ini file matches the one on the backup file and repeate the procedure on every SharePoint servers in the farm.

About the Author

Rogério Cruzeiro

Being a qualified .NET and SharePoint Consultant, I have over 5 years of experience in Software Development, with special focus on collaboration and content management platforms, solution integration and business intelligence.

I'm particularly pleased to work with Microsoft technologies, especially with the SharePoint platform, ASP.NET, C# and PowerShell, and I'm always searching for new programming methods and for new ways of doing things more efficiently.

My strengths include:

  • SharePoint Development
  • .Net & Web Development
  • PowerShell Scripting
  • SharePoint Migrations
  • SharePoint 2010 Administration
  • SharePoint 2010 Configuration