[SUPPORT TROUBLESHOOTING] Forefront Identity Manager Synchronization Service Not Starting – Error creating com objects

PROBLEM SCENARIO

In a recent issue that i was working, the Forefront Identity Manager Synchronization Service was failing to start.  In review of the Application Event Log the following was received.

 

APPLICATION EVENT LOG

The server encountered an unexpected error and stopped.

“BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\maxml\cdext.cpp(416): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\xmlpe\xstack.cpp(405): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\xmlpe\xparse.cpp(436): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\xmlpe\xparse.cpp(517): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\maxml\mapartition.cpp(2314): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\sqlstore\partition.cpp(1064): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\sqlstore\partition.cpp(753): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\sqlstore\partition.cpp(2277): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\mastate\mastate.cpp(1106): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\mastate\mastate.cpp(883): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(532): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(3960): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1588): 0x80070057 (The parameter is incorrect.)

ERR_: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1027): Error creating com objects. Error code: -2147024809. This is retry number 0.

BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\utils\clrhost.cpp(224): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\rules\scriptmanagerimpl.cpp(7886): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(272): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(3960): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1588): 0x80131022 (unable to get error text)

ERR_: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1027): Error creating com objects. Error code: -2146234334. This is retry number 1.

BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\utils\clrhost.cpp(224): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\rules\scriptmanagerimpl.cpp(7886): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(272): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(3960): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1588): 0x80131022 (unable to get error text)

ERR_: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1027): Error creating com objects. Error code: -2146234334. This is retry number 2.

BAIL: MMS(3176): d:\bt\37281\private\source\miis\shared\utils\clrhost.cpp(224): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\rules\scriptmanagerimpl.cpp(7886): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(272): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\server.cpp(3960): 0x80131022 (unable to get error text)

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1588): 0x80131022 (unable to get error text)

ERR_: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1027): Error creating com objects. Error code: -2146234334. This is retry number 3.

BAIL: MMS(3176): d:\bt\37281\private\source\miis\server\server\service.cpp(1041): 0x80131022 (unable to get error text)

Forefront Identity Manager 4.1.3599.0”

 

 

CAUSE

There were several inconsistencies in the backend FIMSynchronizationService Database dealing with CS objects and links from CS->MV->CS issues.

NOTE: You may want to contact Microsoft Product Support for assistance in reviewing and locating these inconsistencies.

 

RESOLUTION

Restore the FIMSynchronizationService database from backup