.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 Service Synchronization Service Stuck in "Stopping" State

Posted By:      Posted Date: October 24, 2010    Points: 0   Category :SharePoint

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?

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

User Profile Synchronization Service stuck "Starting"


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?!?

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



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

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

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

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

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 Service lookup in dataview web part

I'm attempting to setup a web part in SharePoint Designer 2007 that will list team members that are currently on call.  I've created the data connection to our oncall database and a dataview web part that has two columns.  One column lists the users ID, and the other lists their oncall priority.  This part works great! Example: USERID  |   PRIORITY ID1234   |       1 ID5678   |       2 Now, what i would like to see instead is the user's name instead of their ID. Example: USERNAME  |   PRIORITY John, D       |       1        Jane, B       |       2 I thought originally i could pull this information from AD using the user profile service from here:  http://<servername>/_vti_bin/userprofileservice.asmx?wsdl I've created the data connection to the user profile service, but at this point, i'm unsure how to merge the two data connection columns and get the right user data to display. Any tips?  Has anyone done this before?

Error while trying to access User Profile Service

Hi, I'm tryiong to setup UPA service but having some issues after running the UPA service.UPA service appears running, but clicking on the link in Central Administration does not take me to the Service Configuration page. Instead Central Admin flashes unknown error. Error log shows error message similar to the following o    User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: No User Profile Application available to service the request. Contact your farm administrator.     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)                34e709d0-90b0-4419-afd0-44aff54ac385 We have a central admin server and two WFE servers. User Profile Application is created on the application pool in central admin server and the Instance (only instance) runs on the Central Admin Server. If anyone has faced the same issue kindly revert back to me. Regards, A

User Profile Service Application_SyncDB_0521bfcf77694b419f8086e9e7d94822 issues

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)

Problems with AD Connection in User Profile Service

I found a great resource that I have used successfully to set up and configure the User Profile Service: http://www.harbar.net/articles/sp2010ups.aspx I am now tryin to do this in a new environment and everything works until i get to Configure Connection to Do a Sync and click "Populate Containers"  I don't get an AD container for "SharePoint Users" according to the example. Any pointers or assistance you could provide would be greatly appreciated. Thank you, David

User profile service


This is the event viewer  Error I am recieving

The Execute method of job definition Microsoft.Office.Server.Administration.ProfileSynchronizationSetupJob (ID e7651211-f1c0-40a4-a076-8d10d6e787ed) threw an exception. More information is included below.

An update conflict has occurred, and you must re-try this action. The object UserProfileApplication Name=User Profile Service Application was updated by IMRA\spfarm, in the OWSTIMER (3656) process, on machine ENET.  View the tracing log for more information about the conflict.

When I try to change the service account associated with the User Profile service I get this error

An object of the type Microsoft.SharePoint.Administration.SPWindowsServiceCredentialDeploymentJobDefinition named "windows-service-credentials-FIMSynchronizationService" already exists under the parent Microsoft.Office.Server.Administration.ProfileSynchronizationService named "FIMSynchronizationService".  Rename your object or delete the existing object.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 00f4ac26-e40b-4646-849d-8e95d08cff4d

Date and Time: 9/21/2010 9:40:05 AM


When I go back to

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