modern collaborative workplace portal

I noticed that after a complete failure of an upgrade from OpsMgr 2007 R2 CU6 to OpsMgr 2012, the SDK Service would not start.

Here’s what I did to fix it, in its entirety.  The Steps are below the screenshots.

NOTE: You might be able to begin at step 3 if the SDK assembly files are in good shape.

1.jpg

Log Name: Operations Manager
Source: OpsMgr SDK Service
Event ID: 26380
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Description:
The System Center Operations Manager SDK Service failed due to an unhandled exception.
The service will attempt to restart.

 

Here’s a screenshot of a Process Monitor capture created during the upgrade.  Note that the process name is ‘Microsoft.Mom.Sdk.ServiceHost.exe’ and the highlighted areas note v2.0.50727_64 which is referencing the 64 bit version of .NET.2.jpg

1.      Download and install the .NET Framework 2.0 Software Development Kit:

– For OpsMgr 2007 x86
 
– For OpsMgr 2007 x64
 
2.      Run the commands below to re-install the SDK assembly files. Note that the gacutil.exe tool will be in C:\Program Files\Microsoft.NET\SDK\v2.0 64bit\Bin
 
gacutil.exe /i "C:\Program Files\System Center Operations Manager 2007\SDK Binaries\Microsoft.EnterpriseManagement.OperationsManager.Common.dll" /f
 
gacutil.exe /i "C:\Program Files\System Center Operations Manager 2007\SDK Binaries\Microsoft.EnterpriseManagement.OperationsManager.dll" /f
 
 
3.      Command Prompt to:
cd C:\Windows\Microsoft.NET\Framework\v2.0.50727
 
4.      Run the commands below
InstallUtil /i "C:\Program Files\System Center Operations Manager 2007\Microsoft.Mom.ConfigService.dll"
 
InstallUtil /i "C:\Program Files\System Center Operations Manager 2007\Microsoft.Mom.Sdk.ServiceDataLayer.dll"
 
InstallUtil /i "C:\Program Files\System Center Operations Manager 2007\Microsoft.Mom.DatabaseWriteModules.dll"
 
InstallUtil /i "C:\Program Files\System Center Operations Manager 2007\Microsoft.EnterpriseManagement.HealthService.Modules.DataWarehouse.dll"
 
5.      Restart the SDK Service