Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

User Profile Service Application_SyncDB_0521bfcf77694b419f8086e9e7d94822 issues

$
0
0

HI, I following this try to fix my MOSS2010 USer profile Sych issues,

http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/398f3553-5de7-456b-b935-4e22cee26b2f

1)   Login as farm account

2)   Backup the User Profile DB and the User Profile Sync DB

3)   Stop the SharePoint 2010 Timer service:
PS D:\> net stop sptimerv4

4)   Delete the data in the Sync DB using the following PowerShell script:
PS D:\> Get-SPDatabase

5)   Copy the GUID associated with the User Profile Sync DB in the command line below
PS D:\> $syncdb=Get-SPDatabase -Id <GUID of User Profile Sync DB>

6)   Execute these commands, in exactly the following order. This is not a script. So please cut and paste each of these commands one by one.
PS D:\> $syncdb.Unprovision()
PS D:\> $syncdb.Status='Offline'
PS D:\> Get-SPServiceApplication
#Copy the GUID associated with the User Profile Service and paste it after "Id" in the next command:
PS D:\> $upa=Get-SPServiceApplication -Id <GUID of User Profile Service
PS D:\> $upa.ResetSynchronizationMachine()
PS D:\> $upa.ResetSynchronizationDatabase()

7)   Provision the Sync DB:
PS D:\> $syncdb.Provision()

8)   Add the User Profile Synchronization service account (farm account) as the dbowner on the Sync DB (using SQL Server Management Studio).

9)   Start the SharePoint 2010 Timer service
PS D:\> net start sptimerv4

10) Start the User Profile Synchronization Service in the Central Administration UI.

11) After the User Profile Synchronization Service is started, reset IIS.
PS D:\> iisreset

12) Create connections to data sources in the Central Administration UI.

13) Run full user profile synchronization.

 

But I can not go on at Step 8, my database is running sql 2005 sp3. when I try to add permission to sych database owner, it failed. I check the server level security for my farm account, it shows user dbo and default schema is dbo. I can not change user mapping.

 

Please someone help! Thanks

 

Rose


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images