.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

User Profile Synchronization Service stuck "Starting"

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

I've found lots of information in the forum and elsewhere about ways to stop this service, but none are working.  I did the following to try and stop it...

Deleted User Profile Service Application

Stopped User Profile Service

Rebooted both WFEs several times

Ran get-spserviceinstance and the service is 'Disabled'

The User Profile Synchronization Service is still stuck in "Starting"...so what now?!?

View Complete Post

More Related Resource Links

User Profile Synchronization Service stuck on starting

I found Ali Mazaheri's blog post on configuring User Profile Service Application and am stuck on step 4 because the Forefront Identity Management Synchronisation and Forefront Identity Manager Service are not started. The later is set to disabled. When I try and set them both to automatic and start them I get these errors in the event log.
Haven't got a clue...this is a SharePoint 2010 Enterprise Server Beta 2 build with SQL 2008 SP1 + CU3 and AD Domain Controller on a single virtual machine.
I've also checked out the MSDN article but no mention of issues here.

Log Name:      Application

Source:        Microsoft Resource Management Service

Date:          18/11/2009 6:54:10 PM

Event ID:      0

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      SPS2010.sps.spdevwiki.com


Service cannot be started. System.TypeInitializationException: The type initializer for 'Microsoft.ResourceManagement.WebServices.ResourceManagementServiceHostFactory' threw an exception. ---> System.Reflection.TargetInvocationException: Exception ha

Starting User Profile Synchronization Service Fails


Hi All,

While performing a database attach upgrade from SharePoint Server 2007 to 2010 with this article http://technet.microsoft.com/nl-nl/library/cc263299(en-us).aspx as my guide, I'm stuck at the 'Start the User Profile Synchronisation Service' section. When I use Central Administration to start the service, after a few minutes being on the status 'Starting' it reverts back to 'Stopped'.

When reviewing the logs I find the following error message:

UserProfileApplication.SynchronizeMIIS: Failed to configure ILM, will attempt during next rerun. Exception: System.Data.SqlClient.SqlException: Specified collection 'StringSchemaCollection' cannot be dropped because it is used by object '<DOMAIN>\<FARM ACCOUNT>.GetObjectCurrent'. 

The account used is already added to the local administrators group.

One solution I did find is in the following thread: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/58a404c0-af55-476c-84ad-8720de0a3292. The problem I have with this solution is that I should manually modify the user profile database, setting the correct default schem

User Profile Service Synchronization Service Stuck in "Stopping" State


Have a customer who's UPS Synchronization service is stuck in a "Stopping State"

The UPS service Application has been deleted.  A Stop-SPServiceInstance command has been run and the Get_SPServiceInstance command shows the service is "unprovisioning"

Any ideas on what can be done next to get the service in a stopped state?

Forefront Identity Manager errors when starting the User Profile Synchronization Service Application

I have seen several people who are having trouble getting the User Profile Synchronization Service to start.  None of those threads have the set of errors that I am seeing.  I have all the prerequisites installed and I am using the farm administrator account which has admin rights both on the SP server and the SQL box.  This is a split back-to-back extranet topology and there is a one way trust between the extranet domain and the internal domain.  The administrator account is an internal domain account.  I receive the following two Forefront errors every five seconds in the event log after starting the User Profile Synchronization Service Application:

.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: HostId is not registered
   at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException)
   at Microsoft.ResourceManagement.Data.DataAccess.RetrieveWorkflowDataForHostActivator(Int16 hostId, Int16 pingIntervalSecs, Int32 activeHostedWorkflowDefinitionsSequenceNumber, Int16 workflowControlMessagesMaxPerMinute, Int16 requestRecoveryMaxPerMinute, Int16 requestCleanupMaxPerMinute, Boolean runRequestRecoveryScan, Boolean& doPolicyApplicationDispatch, ReadOnlyCollection`1& activ

Unable to start user profile synchronization service

Hello, I have the following problem. user profile synchronization service doesn't start up, with the following error in log: The service encryption keys could not be found. User Action Verify that the service account has permissions to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Forefront Identity Manager\2010\Synchronization Service If the problem persists, run setup and restore the encryption keys from backup. Permissions for registry are availabele. Thank you.    

User Profile Service Synchronization Connection: Client Timout

Hi, I have scenario on configuring User Profile Synchronization service on customer site as below. Window AD Server 2003 Domain NetBIOS: foo FDQN: foo.bar.com  User Account to connect: foo\ad-connect This account already set permission as describe in http://technet.microsoft.com/en-us/library/ee721049.aspx  when I try to create connection, system took long time to process then return error as "Client Timeout". I try to check FIM and it's seems to work fine (no error return and can get users data). So could anyone told me what's wrong? Since I've didn't have much knowledge on Network and AD, please advice.Theeraphat.P SharePoint Information Worker

User Profile Synchronization service seems to stop on its own accord. What's usually the cause?


I've noticed in several environments that the UPS service stops every now and then. All I can do is go an restart it in Central Administration, and it usually retains all synchronization connection settings and works fine again. I've been too busy to examine the cause though.

Does this happen for others as well? What is the usual cause for it to stop?

User Profile Synchronization service is not designed to work on a stand-alone installation


There were tons of discussions and blog posts about User Profile Synch service never starting. And now it appears that this is not even supposed to work....



Sharepoint 2010 User Profile Synchronization Stuck On "Synchronizing"

I have configured my User Profile Synchronization. I have configured the synchronization connections, and started the synchronization service. My issue is when I "Start Profile Synchronization", the Profile Synchronization Status is stuck on "Synchronizing". There is no job listed in running jobs, and the job keeps running (I let it run for a daya and a half before I killed it). Nothing in logs or Event Viewer (That I could find). Any suggestions as to why this job never succeds or fails?

SharePoint 2010 User Profile Synchronization Service


I have set up SharePoint 2010 as per MS instructions and am now trying to get the User Profile Synchronization Service to start.


I have found heaps of information regarding the Service remaining in a Starting state, then reverting back to Stopped and not logging any useful information.

Other threads say:

The Server Farm account, which is created dur

sp2010 user profile service starting, started, two different status in the link, how to fix

when click application management-service applications-manage service applications see User Profile service Application STARTING, when click on it, get error:


An unexpected error has occurred.


Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 42dd77a3-3335-4472-bc38-808b2021c1f2

Date and Time: 4/8/2011 10:52:34 AM


however, when click on services on server, see User Profile service STARTED.

Profile User Synchronisation Service

Hi, I have a problem to open Profile User Synchronisation. It doesn' work, I tried to verify this problem by opening services.msc but It show an error when I try to restart the service : Error 1068 The service or the groupe of dependency can't be restarted.   Thanks

User Profile Service account Write to AD Permissions

I followed this guide here (http://www.harbar.net/articles/sp2010ups.aspx) to provision the UPS service in sharepoint 2010. I found the guide very helpful and informative. Everything is working correctly except for the write back to AD I've followed the steps and have assigned the listed permissions to the UPS service account, however I still get permissiong errors in the FIM GUI Our AD is running in a 2008 environment but is in 2003 mode, so I made sure to add the UPS account to Pre Windows 2000 Compatible access built in group and restart the server so that the new group settings would take affect. Do I need to reprovision the UPS service or something? Or am I missing something completely. (Hopefully the latter lol!) Thanks RKB

Critical Error with User Profile synchronization timer job

Hello! We are currently running SharePoint 2010 on Windows 2008 R2 servers. Our User Profile Service and User Profile Sync Service are currently running, and profile imports work fine when kicked off from Central Admin. However, the profile sync timer job always fails with the following Application Event error: Event 6398, SharePoint Foundation The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 340e8ca2-6f3b-4bd8-80f2-0fe011709805) threw an exception. More information is included below. Generic failure Looking at the ManageUserProfileServiceApplication.aspx log, indeed the only imports visible are ones which have been kicked off manually in Central Admin. The failed scheduled imports are not even recorded to this log. The ULS entry associated with this error is as follows: 08/31/2010 17:11:17.32  OWSTIMER.EXE (0x0CD0)                    0x0C04 SharePoint Foundation          Timer                          6398 Critical The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 340e8ca2-6f3b-4bd8-80f2-0fe

User Profile Service - "The specified user or domain group was not found"

Hi there, I had configured the User Profile Service and all was working well (Syncing with AD etc.). However, something has gone wrong. The services still appear to be running; both Forefront Identity Manager services are running, and the services show as 'Started' in Central Administration. The 'My Profile' and 'My Site' options have disappeared though, and browsing to the My Sites page results in an error (Could not load user profile). To make matters much worse, it seems to have also broken the Central Administration site. If I try and go to 'Manage Service Applications' I get another error (The specified user or domain group was not found). This error seems to come up on around half of the pages on the Central Administration site. Looking up the error (abb6b174-0f71-413a-a27a-41cdc87b66d0) in the logs I find this: 09/06/2010 15:35:45.44  w3wp.exe (0x0868)                        0x06A0 SharePoint Portal Server       User Profiles                  cm6y High     User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileA

User Profile Synchronization Connection disappeared

So I had finally got User Profile Synchronization working by going down the path of using the Domain Admin Active Directory account for everything (SQL service account, SharePoint Farm account, Setup account) and the User Profiles worked based on the walk through I created on SharePointAdminWiki.com.  But now, the User Profile Synchronization Connection has disappeared from the list...and if I click Create to try and recreate it I get this error: "Cannot navigate to the requested page while User Profile Synchronization is running. Please wait for the current Synchronization run to finish." There are no jobs running, and I've left it for a while and still no joy. I even tried restarting the server and still nothing! I've tried this with a Windows Server 2008 SP1 build server AND a Windows Server 2008 R2 server. I have read @jiel's and David Pae's advice on this. Are User Profiles just well and truly broken in the Public Beta? SharePoint Solution Architect, Perth Australia - MCTS WSS Dev, WSS Adm, MOSS Dev, MOSS Adm - Readify - http://wss.made4the.net/- http://www.sharepointdevwiki.com/

Configure Synchronization connections with PowerShell (User Profile)

Hi, I was checking the Pshell cmdlets for SPS2010 and wasn't able to configure the sync connection after creating the User Profile SA. Do you know if it's possible to configure this part (AD, filters, etc) in PShell ? Is it done using the "SetupSynchronizationService" method of the User Profile Service Application object ? Thanks ! Wes  
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend