RE-Installation of SCSM 2012 RC fails with error: PopulatingUserRoles error: System.Runtime.InteropServices.COMException : The security ID structure is invalid.
-
vendredi 9 mars 2012 12:18
Hi,
I'm trying to reinstall a service manager 2012 RC installation on a server. The first install was working fine until I messed up the Self Service Portal and decided to reinstall. With this I also wanted to start with a clean database so I removed this. I also removed all registry keys in HKLM/Software/Microsoft/System Center.
Near the end of the install the error appears. I have used the same accounts that I have used before. No additional patches are installed.
Any help is appreciated.
In the meanwhile I'll be installing it with new user accounts to see if that solves it.MigrateManagementPacksEnd: Begin
MigrateManagementPacksEnd: Starting in deferred mode
MigrateManagementPacksEnd: Connecting via InProc SDK
Connection opened...
MigrateManagementPacksEnd: Fixing instance space
MigrateManagementPacksEnd: Commiting transaction
MSI (s) (30:28) [13:03:34:801]: NOTE: custom action _MigrateManagementPacksEndDeferred unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
MSI (s) (30:A0) [13:03:34:804]: Executing op: ActionStart(Name=_PopulateUserRoles,,)
MigrateManagementPacksEnd: End (success)
MSI (s) (30:A0) [13:03:34:816]: Executing op: CustomActionSchedule(Action=_PopulateUserRoles,ActionType=17409,Source=BinaryData,Target=PopulateUserRoles,CustomActionData=XXXXXXX\XXXXXX|XXXX\XXXX|0|1)
MSI (s) (30:C8) [13:03:35:030]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF152.tmp, Entrypoint: PopulateUserRoles
CAPACK: Extracting custom action to temporary directory: C:\Windows\Installer\MSIF152.tmp-\
CAPACK: Binding to CLR version v2.0.50727
Calling custom action CAManaged!Microsoft.MOMv3.Setup.MOMv3ManagedCAs.PopulateUserRoles
DoesMOMDBExist: Starting attempt 0 of 5.
DoesMOMDBExist: Opened the DB connection using Data Source=CLD-SRV-DB01;Initial Catalog=ServiceManager;Integrated Security=True;Persist Security Info=False.
PopulatingUserRoles: Populating user roles for SM Server
PopulatingUserRoles error: System.Runtime.InteropServices.COMException : The security ID structure is invalid. (Exception from HRESULT: 0x80070539)
MSI (s) (30:C8) [13:03:42:734]: NOTE: custom action _PopulateUserRoles unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
CustomAction _PopulateUserRoles returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (30:A0) [13:03:42:827]: User policy value 'DisableRollback' is 0
MSI (s) (30:A0) [13:03:42:827]: Machine policy value 'DisableRollback' is 0
Action ended 13:03:42: InstallFinalize. Return value 3.
EDIT:Addition from log:
Property(S): _PopulateUserRoles = DOAMIN\A_Security_Group_without_users_in_it|DOAMIN\DOMAIN_ADMIN_ACCOUNT|0|1
- Modifié JorisTielen vendredi 9 mars 2012 12:23 Fond more log info
Toutes les réponses
-
vendredi 9 mars 2012 16:43
I've got it...
The problem was that my database had a default owner of the databases Dbo and a user. This caused the installation to fail. So if you run into this check the user that is assigned to your databases when the installer is running. If you see an account that looks odd, check it out.
I hope this will save you some days of troubleshooting.

