none
The system cannot find the file specified - The server encountered an unexpected error and stopped. (FIM 2010)

    Question

  • I cannot start FIM service on Windows Server 2008 R2.
    Because of this, my Sharepoint Portal 2010 Sync Profile service doesn't work.
    Where is what is logged in System Event.

    Can I do something ti fix this ?

    The server encountered an unexpected error and stopped.
     
     "ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of Server failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of SQLInstance failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of DBName failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(281): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(3518): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): service.cpp(1528): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): service.cpp(977): Error creating com objects. Error code: -2147024894. This is retry number 0.
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of Server failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of SQLInstance failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of DBName failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(281): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(3518): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): service.cpp(1528): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): service.cpp(977): Error creating com objects. Error code: -2147024894. This is retry number 1.
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of Server failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of SQLInstance failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of DBName failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(281): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(3518): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): service.cpp(1528): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): service.cpp(977): Error creating com objects. Error code: -2147024894. This is retry number 2.
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of Server failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of SQLInstance failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of DBName failed with 2
    BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(281): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): server.cpp(3518): 0x80070002 (The system cannot find the file specified.)
    BAIL: MMS(4828): service.cpp(1528): 0x80070002 (The system cannot find the file specified.)
    ERR: MMS(4828): service.cpp(977): Error creating com objects. Error code: -2147024894. This is retry number 3.
    BAIL: MMS(4828): service.cpp(991): 0x80070002 (The system cannot find the file specified.)
    Forefront Identity Manager 4.0.2450.5"


    itgoran
    Wednesday, April 28, 2010 2:20 PM

Answers

  • Well, after couple of hours of try and failed I found a solution and blog it here .
    I hope that solution will help and save time.


    itgoran
    Sunday, May 09, 2010 9:00 PM

All replies

  • I've gotten the exactly same issue. Can't figure out what's happening either. The same log entries in the Event log. Running Windows Server 2008 R2 as well. Installed all prereqs for SharePoint.

    I do have a problem with the "Secure Store Services" (in SharePoint 2010) as well - can't Generate a new Key. Get the error: "Master key was not populated while trying to set credentials" in the sharepoint log file.  Could it be someting related to the "windows identity foundation" / Geneva / Secure Tokens. In this area I'm absolutely no expert. This error I'll post in the SharePoint forum as well.

    The errors may be related...

    Regards,

    Frode

    Thursday, April 29, 2010 10:50 AM
  • Exactly the same issue getting the Sharepoint 2010 User Profile Syn to work :(

    At abit of a loss now, not sure what else to try, looks like it's a bug

    Friday, April 30, 2010 11:00 AM
  • same issue. Win 2008 R2 with MOSS 2010 and all needed s/w installed. If anyone find solution please post it here.
    Friday, April 30, 2010 5:06 PM
  • I've reinstalled SharePiint 2010. The Secure Store Services issue went away, but the FIM issue (and the resulting Profile Sync issue) remains.

    /Frode

    Monday, May 03, 2010 11:33 AM
  • SharePoint 2010 is NOT currently supported by FIM 2010.  Only WSS 3.0 can be used with FIM.

    The question was already asked, and confirmed as not supported by Andreas here:
    http://social.technet.microsoft.com/Forums/en-AU/ilm2/thread/2d8a48c9-38c7-4cce-998d-d09942b9ee21

    Monday, May 03, 2010 11:09 PM
  • Hi.

    In my case it is the FIM services automatically deployed by SharePoint 2010 that don't work. FIM 2010 Portal may not be supported, but SharePoint 2010 are depending on a couple of the services. It's the User Profile Services that wan't work without them.

    I've tried several different installations (on different servers), but the issue remains in my environement.

    /Frode 

    Tuesday, May 04, 2010 4:58 AM
  • Hi again.

    The issue is definitely related to the rights that the farm admin account (entered when running the SharePoint wizrad and creating the farm). This domain account must have extra Active Directory rights. This article specifies what they are: http://technet.microsoft.com/en-us/library/ee721049(office.14).aspx. But I'm not sure that Replicate Directory Changes is the only permission needed. I had to add more to make things work, but haven't pin pointed excatly which (yet).

    PS! Running with Domain Admin rights works, but NOT recommended in a production farm.

    Regards,
    Frode Sorhoy

    Tuesday, May 04, 2010 10:41 AM
  • Well, after couple of hours of try and failed I found a solution and blog it here .
    I hope that solution will help and save time.


    itgoran
    Sunday, May 09, 2010 9:00 PM