2009
12.30

When you see the error below during site collection provisioning, you may need to clear the cache from all servers.

An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=Portal Parent=SPWebService is being updated by DOMAIN\XXXX, in the OWSTIMER process, on machine XXXX. View the tracing log for more information about the conflict.

First stop sharepoint timer job from all servers.

Go to C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\GUID directory on all servers. Note guid is not the actual name of the directory but will have some hex values. Then delete all .xml file. This will leave cacahe.ini alone in the directory.

Open the file and change the number to 1. Save the file. Repeat on all servers.

Restart the timer job on all servers.

 

Here is a simple script to clear the cache if you manage a large farm.

You just need to change the value of temp to 1st 2 number of your GUID. In my case the guid id was 3d3e2311-2756-414e-32e4-3a45433dd421. So I am setting the temp to 3d*. And we have 6 servers (Server001 – Server 006) in the farm, excluding the sql and exchange server. Save as a batch file on one of the server and you should be good to go. You need to have sc http://support.microsoft.com/kb/251192 included in the Recourse kit. Your P: drive must not be in use.

 

set temp=3d*

sc \\SERVER001 stop “SPTimerV3″

sc \\SERVER002 stop “SPTimerV3″

sc \\SERVER003 stop “SPTimerV3″

sc \\SERVER004 stop “SPTimerV3″

sc \\SERVER005 stop “SPTimerV3″

sc \\SERVER006 stop “SPTimerV3″

pause

C:

cd C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\%temp%

del *.xml

echo 1 > cache.ini

pause

net use p: /delete

net use p: \\SERVER002\c$

P:

cd P:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\%temp%

del *.xml

echo 1 > cache.ini

C:

net use p: /delete

pause

net use p: \\SERVER003\c$

P:

cd P:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\%temp%

del *.xml

echo 1 > cache.ini

C:

net use P: /delete

pause

net use p: \\SERVER004\c$

P:

cd P:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\%temp%

del *.xml

echo 1 > cache.ini

C:

net use p: /delete

pause

net use p: \\SERVER005\c$

P:

cd P:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\%temp%

del *.xml

echo 1 > cache.ini

C:

net use p: /delete

pause

net use p: \\SERVER006\c$

P:

cd P:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\%temp%

del *.xml

echo 1 > cache.ini

C:

net use p: /delete

pause

sc \\SERVER001 start “SPTimerV3″

sc \\SERVER002 start “SPTimerV3″

sc \\SERVER003 start “SPTimerV3″

sc \\SERVER004 start “SPTimerV3″

sc \\SERVER005 start “SPTimerV3″

sc \\SERVER006 start “SPTimerV3″

C:

cd C:\

pause

No Comment.

Add Your Comment