Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

    Advertisements
  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

User Profile Service Error & Solution

Posted by Paul on July 27, 2012


I had following error setting up User Profile Service and accessing through Server Object Model.

I thought of sharing the solution as this could help others:

Error with FIMSynchronizationService : (viewed from Windows Event Viewer – eventvwr.exe)

The server encountered an unexpected error and stopped.

"ERR: MMS(2504): libutils.cpp(10513): RegQueryValueEx of Server failed with 2

BAIL: MMS(2504): libutils.cpp(10515): 0x80070002 (The system cannot find the file specified.)

ERR: MMS(2504): libutils.cpp(10513): RegQueryValueEx of SQLInstance failed with 2

BAIL: MMS(2504): libutils.cpp(10515): 0x80070002 (The system cannot find the file specified.)

ERR: MMS(2504): libutils.cpp(10513): RegQueryValueEx of DBName failed with 2

BAIL: MMS(2504): libutils.cpp(10515): 0x80070002 (The system cannot find the file specified.)

BAIL: MMS(2504): server.cpp(359): 0x80070002 (The system cannot find the file specified.)

BAIL: MMS(2504): server.cpp(3860): 0x80070002 (The system cannot find the file specified.)

BAIL: MMS(2504): service.cpp(1539): 0x80070002 (The system cannot find the file specified.)

ERR: MMS(2504): service.cpp(988): Error creating com objects. Error code: –2147024894. This is retry number 0.

BAIL: MMS(2504): clrhost.cpp(224): 0x80131022

BAIL: MMS(2504): scriptmanagerimpl.cpp(7670): 0x80131022

BAIL: MMS(2504): server.cpp(251): 0x80131022

BAIL: MMS(2504): server.cpp(3860): 0x80131022

BAIL: MMS(2504): service.cpp(1539): 0x80131022

ERR: MMS(2504): service.cpp(988): Error creating com objects. Error code: –2146234334. This is retry number 1.

BAIL: MMS(2504): clrhost.cpp(224): 0x80131022

BAIL: MMS(2504): scriptmanagerimpl.cpp(7670): 0x80131022

BAIL: MMS(2504): server.cpp(251): 0x80131022

BAIL: MMS(2504): server.cpp(3860): 0x80131022

BAIL: MMS(2504): service.cpp(1539): 0x80131022

ERR: MMS(2504): service.cpp(988): Error creating com objects. Error code: –2146234334. This is retry number 2.

BAIL: MMS(2504): clrhost.cpp(224): 0x80131022

BAIL: MMS(2504): scriptmanagerimpl.cpp(7670): 0x80131022

BAIL: MMS(2504): server.cpp(251): 0x80131022

BAIL: MMS(2504): server.cpp(3860): 0x80131022

BAIL: MMS(2504): service.cpp(1539): 0x80131022

ERR: MMS(2504): service.cpp(988): Error creating com objects. Error code: –2146234334. This is retry number 3.

BAIL: MMS(2504): service.cpp(1002): 0x80131022

Forefront Identity Manager 4.0.2450.47"

Solution

I did the following solution: Hotfix for Microsoft SharePoint Server 2010

Description of the SharePoint Server 2010 cumulative update package (SharePoint server-package): April 24, 2012

Ensure

Please ensure that the following too:

1. Following Windows Services are running:

a. Forefront Identity Manager Service

b. Forefront Identity Manager Synchronization Service

2. Following SharePoint Services are running: (inside Central Administration > Manage services on server)

a. User Profile Service

b. User Profile Synchronization Service

3. Add spadmin to Local machine Administrators group ( server manager > users > groups > open administrators group > add spadmin)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s