Event ID 5553

Source: Internet
Author: User

When stsadm.exe is used to back up a website set and restore it to other applications, the following errors often occur in the 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
User: N/
COMPUTER :*****

Description:
Failure trying to synch site failed for contentdb login 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 '.

The reason for this is: in a form field, back up the current website level and restore it to another application. the same guid will be generated for data in two application locations. In this way, conflicts will occur during synchronization.

The solution is as follows:

Use contentdb to go to sqlserver to find the website level:
Database:Sharepoint_config,Table DBO. Objects
Select ID, classid, parentid, name, status, version, Properties
From objects where (ID = '5bafe2af-48a7-4043-a36d-29160f3b88e2 ')

After the website is set, continue with the following operations.

A. Detach the database first:

Ststam-O preparetomove-contentdb {sqlserver: databasename}-site {site collection's URL}

B. Delete the content database:

Stsadm-O deletecontentdb-URL {application's URL. Ex: http: // MOSS: 8080}-databasename {databasename}-databaseserver {SQL Sever name}

C. Reattach the database:

Stsadm-O addcontentdb-URL {application's URL. Ex: http: // MOSS: 8080}-databasename {databasename}-databaseserver {SQL Sever name

OK. Restart IIS.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.