Today I faced a weird problem. This time I was preparing a SharePoint farm for one of our developers, but when I was trying to start the User Profile Service App, it doesn’t start. At the begginig I was mad, because I made this process tons of times, and it was the first time that this service was driving me crazy.
When I tried to start the service, I checked the Event Viewer log to see what is happening and saw the following error:
The server encountered an unexpected error and stopped.
“BAIL: MMS(8164): sql.cpp(2325): 0x80230404 (The operation failed because the attribute cannot be found)
ERR: MMS(8164): storeimp.cpp(5790): Failed to get computer id info from db.
BAIL: MMS(8164): storeimp.cpp(5792): 0x80230447 (Service start up has failed. Cannot read computer_id from the FIM Synchronization Service database.)
BAIL: MMS(8164): storeimp.cpp(5869): 0x80230447 (Service start up has failed. Cannot read computer_id from the FIM Synchronization Service database.)
BAIL: MMS(8164): storeimp.cpp(482): 0x80230447 (Service start up has failed. Cannot read computer_id from the FIM Synchronization Service database.)
BAIL: MMS(8164): server.cpp(388): 0x80230447 (Service start up has failed. Cannot read computer_id from the FIM Synchronization Service database.)
BAIL: MMS(8164): server.cpp(3860): 0x80230447 (Service start up has failed. Cannot read computer_id from the FIM Synchronization Service database.)
BAIL: MMS(8164): service.cpp(1539): 0x80230447 (Service start up has failed. Cannot read computer_id from the FIM Synchronization Service database.)
ERR: MMS(8164): service.cpp(988): Error creating com objects. Error code: -2145188793. This is retry number 0.
BAIL: MMS(8164): clrhost.cpp(224): 0x80131022
BAIL: MMS(8164): scriptmanagerimpl.cpp(7670): 0x80131022
BAIL: MMS(8164): server.cpp(251): 0x80131022
BAIL: MMS(8164): server.cpp(3860): 0x80131022
BAIL: MMS(8164): service.cpp(1539): 0x80131022
ERR: MMS(8164): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 1.
BAIL: MMS(8164): clrhost.cpp(224): 0x80131022
BAIL: MMS(8164): scriptmanagerimpl.cpp(7670): 0x80131022
BAIL: MMS(8164): server.cpp(251): 0x80131022
BAIL: MMS(8164): server.cpp(3860): 0x80131022
BAIL: MMS(8164): service.cpp(1539): 0x80131022
ERR: MMS(8164): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 2.
BAIL: MMS(8164): clrhost.cpp(224): 0x80131022
BAIL: MMS(8164): scriptmanagerimpl.cpp(7670): 0x80131022
BAIL: MMS(8164): server.cpp(251): 0x80131022
BAIL: MMS(8164): server.cpp(3860): 0x80131022
BAIL: MMS(8164): service.cpp(1539): 0x80131022
ERR: MMS(8164): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 3.
BAIL: MMS(8164): service.cpp(1002): 0x80131022
Forefront Identity Manager 4.0.2450.47”
I have to say that this machine was a SharePoint 2013 RTM with any CU installed and configured with a SQL Server 2014.
So, after applied CU April 2013, the problem was solved
Hope that helps