Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I got a strange problem with Sharepoint 2010 User Profile Synchronization Service (UPS).

I have User Profile Service Application(UPA) and User Profile Service is started. Two FIM Service is stopped (cause UPS not started?). When I tried to start UPS, it stuck in starting.

So, I stop UPS with PowerShell, then deleted old UPA and created a new one. I click UPA link, then got "An unexpected error has occurred". ULS Log shows:

  • UserProfileApplication.DumpSynchronizationStatusToFile: Unexpected exception: System.NullReferenceException: Object reference not set to an instance of an object.
  • UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.

Is it necessary that UPS & FIM Service started for managing UPA ? Or just User Profile started then we can see UPA page ?

If I want to start UPS, should I start two FIM service by manually operated ?

share|improve this question
    
My UPA question seems like this - stackoverflow.com/questions/4428552/… . I do iisrest and restart "User Profile Service (not User Profile Synchronization Service)" many times, but didn't work. –  evenrain Mar 7 '13 at 1:56
    
Another Question is, I re-create UPA many times and create new Application Pool each time. How to delete un-used Application Pool ? –  evenrain Mar 7 '13 at 2:11
add comment

3 Answers 3

Setting up the User Profile Service is no easy task. Your problems seem very "normal", but you have to follow a couple of steps before you get it working.

First delete all your old User Profile Applications and all associated data.

Then follow the steps of this awesome guide from Spencer Harbar:

You won't find better information than this article. Follow it to the letter and you will have a working UPS. And by the way: You shouldn't have to do anything with FIM, everything should be done for you automatically.

share|improve this answer
add comment

Setting up User Profile sync is quite a extensive process and needs you to check a lot of things even before you start. To this end, I'm going to point you to one of the best articles on the net which will describe what you need to do: http://www.harbar.net/articles/sp2010ups.aspx

share|improve this answer
    
I have read this article, but the question that I should solve first is managed UPA. I create a new UPA and can't do anything but get "An unexpected error has occurred". –  evenrain Mar 7 '13 at 1:23
add comment

No its not necessary for the UPS & FIM service to be started for managing UPA. You can manage User Profiles, Mysite settings etc. In otherwords, you can see the UPA page even if the UPS & FIM services are in a stopped state.

If you want to start UPS, you DONT and should not start the FIM service manually. It should automatically start with the UPS.

I would try to reboot the server first and see if you get the error message.

After you get the UPA up and running, check permissions.

AD permissions and local server permissions (while provisioning) are important. If you are not running in a Windows 2008 R2 forest / domain mode or higher, then your UPS account should be a member of the "Pre-windows 2000 Compatible Access" group in AD. (thats 9 of of 10 times the UPS gets stuck in 'starting').

I have blogged about UPS permissions. Hope this is of help. http://www.jeremytaylor.net/2012/10/06/checking-the-user-profile-sync-permissions-sharepoint/

share|improve this answer
    
I saw the two FIM service is "Disabled", is it normal ? And should I change "Log On As" to "Local System" before I start UPS? –  evenrain Mar 7 '13 at 1:28
    
I think a thing that I can't see UPA page after I created it. But after I started UPS (even though it stuck on starting), I can see the UPA page. Why ? –  evenrain Mar 7 '13 at 1:49
    
did you check harbar.net/articles/sp2010ups.aspx ? –  Jeremy Taylor Mar 7 '13 at 13:10
    
My blog post (link posted in my answer above) points to harbar.net's article as well as to a codeplex permissions checker PowerShell script that would help troubleshoot your issues with the stuck on starting. The UPA page should display even if the TWO FIM services are disabled. Forefront Identity Manager Service (FIMService) Forefront Identity Manager Synchronization Service (FIMSynchronizationService) Dont change anything manually on those services! It should be the "farm account" - set by SharePoint. –  Jeremy Taylor Mar 7 '13 at 13:19
    
Yes, I search my issue few days ago in Google. Many people provide harbar's article link. But I couldn't open UPA page now, so I think I should solve it first. –  evenrain Mar 8 '13 at 2:38
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.