sharepoint 錯誤事件代號:5553

來源:互聯網
上載者:User

前幾天發現事件檢視器裡面每時每刻都有這個5553代號的錯誤,說什麼索引值衝突之類的.上網搜了一下,竟是backup和restore造成的.現在沒環境,回頭試一下,先貼上這位老兄的文章:

 

[原文地址]

當用stsadm.exe 工具 backup 一個網站集合然後 restore到其他Application 上,Event Log裡面經常出現下列錯誤:

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'.

出現這種原因是:在一個form 場裡,Backup當前的網站級,讓後restore到另外一個Application下面.在兩個application地資料會產生相同的Guid,這樣當同步操作,會殘生衝突.

解決問題如下:

   根據上面的ContentDB去SQLServer 找到那個網站級:
    Database: Sharepoint_Config, Table dbo.Objects
    SELECT Id, ClassId, ParentId, Name, Status, Version, Properties
    FROM Objects WHERE (Id = '5bafe2af-48a7-4043-a36d-29160f3b88e2')
  
   長到網站集合之後,繼續下列操作.

    A.先分離資料庫:

          Ststam -o preparetomove -contentdb {SQLServer:DatabaseName} -site {site collection's Url}

    B.刪除 內容資料庫:

        Stsadm -o deletecontentdb -url {Application's url.Ex:http://Moss:8080} -databasename {DatabaseName} -databaseserver {SQL Sever name} 

   C,重新附加資料庫:

         stsadm -o addcontentdb -url {Application's url.Ex:http://Moss:8080} -databasename {DatabaseName} -databaseserver {SQL Sever name
  

Ok.重啟動一下IIS.

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.