KB: VMM service does not start and returns ReflectionTypeLoadException after you apply an update rollup


After you apply an update rollup for System Center 2012 R2 Virtual Machine Manager (VMM 2012 R2), the System Center Virtual Machine Manager service may fail to start. When you try to manually start the service you receive the following pop-up message: 

The System Center Virtual Machine Manager service local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

In this situation, the VirtualMachineManager\Server\Operational log may also contain an event that resembles the following:

Log Name: Microsoft-VirtualMachineManager-Server/Operational
Source: Microsoft-VirtualMachineManager-Server
Event ID:5004

Task Category: None
Level: Critical
Keywords: (2)
User: CONTOSO\VMMServiceAccount
Computer: VMM2012R2.contoso.com
VMM encountered a critical failure and will terminate the process. Check C:\ProgramData\VMMLogs\SCVMM.fcae9dc7-0779-4dce-b873-8ac20370c6fb\report.txt for a detailed report.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<Data Name="ReportPath">C:\ProgramData\VMMLogs\SCVMM.fcae9dc7-0779-4dce-b873-8ac20370c6fb\report.txt</Data>
<Data Name="ExceptionToString">System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.BuildKnownAssemblyTypes(Assembly assembly)
at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.InitializeKnownTypesCache(List`1 assembliesToExamine)
at Microsoft.VirtualManager.Engine.Remoting.IndigoServiceHost.InitializeKnownTypesCache()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at Microsoft.VirtualManager.Engine.VirtualManagerService.OnStart(String[] args)</Data>
<Data Name="Operation">

This can occur if the update rollup for VMM consists of more than one update package. For example, say that the update rollup contains an update for VMM Server, and it also contains another update that needs to be installed wherever the VMM console is installed. In this scenario, when the server and console components are updated, interdependencies require both to be installed on the VMM server itself, with the VMM Server update being installed first. In the problem scenario described above, only the VMM console update has been applied to the VMM server.

For complete details as well as a resolution, please see the following:

KB3045931VMM service does not start and returns ReflectionTypeLoadException after you apply an update rollup (https://support.microsoft.com/en-us/kb/3045931)

J.C. Hornbeck | Solution Asset PM | Microsoft GBS Management and Security Division

Get the latest System Center news on Facebook and Twitter:

clip_image001 clip_image002

Main System Center blog: http://blogs.technet.com/b/systemcenter/

Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
Data Protection Manager Team blog: http://blogs.technet.com/dpm/
Orchestrator Team blog: http://blogs.technet.com/b/orchestrator/
Operations Manager Team blog: http://blogs.technet.com/momteam/
Service Manager Team blog: http://blogs.technet.com/b/servicemanager
Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Microsoft Intune: http://blogs.technet.com/b/microsoftintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
RMS blog: http://blogs.technet.com/b/rms/
App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

Forefront Endpoint Protection blog: http://blogs.technet.com/b/clientsecurity/
Forefront Identity Manager blog: http://blogs.msdn.com/b/ms-identity-support/
Forefront TMG blog: http://blogs.technet.com/b/isablog/
Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/
Application Proxy blog: http://blogs.technet.com/b/applicationproxyblog/
The Surface Team blog: http://blogs.technet.com/b/surface/

ConfigMgr 2012 R2