Here’s an issue I encountered this week, SMS Executive detected that SMS_Migration_Manager stopped unexpectedly in the event viewer of a secondary site. The problem happens under SCCM 2012 R2 CU1.
Migration manager is the migration service that execute jobs or instructions during the migration. You can refer to Neil Peterson post for more information about Migration Manager.
Symptom
The logs shows that the problem is permanent and happens every hour.
migmctrl.log
ERROR: [MigMCtrl]: FAILED to CREATE JobManager instance. error = The parameter is incorrect., 80070057
ERROR: [MigMCtrl]: FAILED to START WorkItemMgr. error = The parameter is incorrect., 80070057
ERROR: [MigMCtrl]: FAILED to INITIALIZE. error = The parameter is incorrect., 80070057
Cause
I’m still trying to figure out why the SMS_Migration_Manager stopped unexpectedly. I’ll post more information if I find the root cause of this issue.
Resolution
To resolve the SMS_Migration_Manager stopped unexpectedly issue, please follow this procedure:
- Connect on an healthy central administrative site or primary site where the problem is not present.
- Copy microsoft.configurationmanagement.migrationmanager.dll from the healthy server to unhealthy server in a temp folder.
- I suggest to backup the unhealthy DLL file in case you need to rollback.
- Place the new file from healthy server under (installation directory)\(microsoft configuration manager folder)\bin\x64 replacing existing file in the unhealthy server.
- Open command prompt with admin privileges and navigate to c:\windows\microsoft.net\framework64\v4.0.30319
- Run command : regasm.exe (installation directory)\(microsoft configuration manager folder)\bin\x64\microsoft.configurationmanagement.migrationmanager.dll /codebase
- Restart SMS_Executive service on the unhealthy server.
Verification
You can see migmctrl.log having no error after the resolution and few hours. You should not see the SMS_Migration_Manager stopped unexpectedly in the event viewer.
Codi Campbell
05.02.2016 AT 08:40 AMJoe
11.09.2015 AT 12:04 PMNicolas Pilon
11.10.2015 AT 11:18 AMMatt C
10.08.2014 AT 06:16 AM