Event ID 5553 failure trying to synch sitexxxx for ContentDB xx WebApp xx. Exception message ...
轉(zhuǎn)自http://www.cnblogs.com/DongJie1982/archive/2008/06/30.html
當(dāng)用stsadm.exe 工具 backup 一個(gè)網(wǎng)站集然后 restore到其他Application 上,Event Log里面經(jīng)常出現(xiàn)下列錯(cuò)誤:
Event Type:?Error
Event Source:?Office SharePoint Server
Event Category:?User Profiles
Event ID:?5553
Date:??4/28/2008
Time:??4:00:03 PM
User:??N/A
Computer:?*****
Description:
failure trying to synch site 2a918abf-12ce-4819-811d-803f0f87d313 for ContentDB 1c85deaa-d2a2-4f01-90ec-fca3f691dab3 WebApp ada1f800-c105-4970-bca0-c43d699daadc.? Exception message was Cannot insert duplicate key row in object 'dbo.UserMemberships' with unique index 'CX_UserMemberships_RecordId_MemberGroupId_SID'.
出現(xiàn)這種原因是:在一個(gè)form 場(chǎng)里,Backup當(dāng)前的網(wǎng)站級(jí),讓后restore到另外一個(gè)Application下面.在兩個(gè)application地?cái)?shù)據(jù)會(huì)產(chǎn)生相同的Guid,這樣當(dāng)同步操作,會(huì)殘生沖突.
解決問(wèn)題如下:
?? 根據(jù)上面的ContentDB去SQLServer?找到那個(gè)網(wǎng)站級(jí):
??? Database: Sharepoint_Config, Table dbo.Objects
??? SELECT Id, ClassId, ParentId, Name, Status, Version, Properties
??? FROM Objects WHERE (Id = ‘ada1f800-c105-4970-bca0-c43d699daadc’)
??用這個(gè)的Name字段可以找到網(wǎng)站集,比如是88.
???去管理中心找到網(wǎng)站集所對(duì)應(yīng)的內(nèi)容數(shù)據(jù)庫(kù)。比如是MOSS_QAS_88_Content
繼續(xù)下列操作.
??? A.先分離數(shù)據(jù)庫(kù):
????????? Ststam -o preparetomove?-contentdb {SQLServer:DatabaseName} -site {site collection's Url}
??? B.刪除?內(nèi)容數(shù)據(jù)庫(kù):
??????? Stsadm -o?deletecontentdb -url?{Application's url.Ex:http://Moss:8080} -databasename {DatabaseName} -databaseserver {SQL Sever name}?
?? C,重新附加數(shù)據(jù)庫(kù):
?????????stsadm -o addcontentdb -url?{Application's url.Ex:http://Moss:8080} -databasename {DatabaseName} -databaseserver {SQL Sever name
??
Ok.重啟動(dòng)一下IIS.
?
"%systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\stsadm" -o preparetomove -contentDB 172.20.0.50:MOSS_QAS_88_Content
"%systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\stsadm" -o deletecontentdb -url http://localhost:88/ -databasename MOSS_QAS_88_Content
"%systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\stsadm" -o addcontentdb -url http://localhost:88/ -databasename MOSS_QAS_88_Content
轉(zhuǎn)載于:https://www.cnblogs.com/ceci/archive/2009/03/03/1401920.html
總結(jié)
以上是生活随笔為你收集整理的Event ID 5553 failure trying to synch sitexxxx for ContentDB xx WebApp xx. Exception message ...的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 转帖:RIA(Rich Internet
- 下一篇: 深证指数