Quantcast
Channel: farhanfaiz's Weblog - SharePoint 2003/2007/2010 » error
Viewing all articles
Browse latest Browse all 10

STSADM: addcontentdb error

$
0
0

Scenario:

 

We created a web application and tried to replace the content database with another database. When run command:

 

stsadm –o addcontentdb –url http://abc –databasename WSS_ABC.

 

Following error displayed:

 

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

 

Resolution:

 

The solution was to force cache refresh. This can be done as under:

 

1. On Central Administration machine, move from C\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\ GUID.

2. Copy cache.ini file to another location.

3. Open the file and replace the current integer with 1.

4. Restart “Windows SharePoint Services Timer” service.
5. Run the command again.

 

Hope this workJ.



Viewing all articles
Browse latest Browse all 10

Trending Articles