Wednesday, January 16, 2008

Clearing the SharePoint configuration cache

Sometimes you see some weird errors occurring when you change settings in SharePoint Server 2007  - such as when you try to modify an alternate access mapping (see KB939308 ). I also noticed some issues when changing settings concerning search.  A work around seems to be clearing the SharePoint configuration cache:

  1. Stop the Timer service. To do this, follow these steps:
    1. Click Start, point to Administrative Tools, and then click Services.
    2. Right-click Windows SharePoint Services Timer, and then click Stop.
  2. Delete or move the contents of the following folder: %ALLUSERSPROFILE% \Application Data\Microsoft\SharePoint\Config\GUID
  3. Start the Timer service. To do this, follow these steps:
    1. Click Start, point to Administrative Tools, and then click Services.
    2. Right-click Windows SharePoint Services Timer, and then click Start.

Note The file system cache is re-created after you perform this procedure. Make sure that you perform this procedure on all servers in the server farm on which the Timer service is running.

PS Joe Rodgers talks about the same workaround in Clearing the SharePoint configuration cache for Timer Job and PSConfig errors.

4 comments:

Anonymous said...

You forgot an important point, the .ini file shouldn't be deleted, and it's content should be edited and set as "1", once you restart the service, the previous value should be there again, or at least that's how i did it.

jopx said...

The way of working described also seemed to work

Alexandre de Luccia said...

Dont find folder in windows server 2003

Doreen said...

Is an IISRESET of server necessary after restartingi the timer service?