search cancel

Getting errors on "could not load type 'System.Runtime.Diagnostics.ITraceSourceStringProvider' from assembly 'System.ServiceModel.Internals"


Article ID: 162286


Updated On:


IT Management Suite


Customer updated his OS on the SMP Server. After doing so, some of our services will not start or multiple errors referring to "Could not load type 'System.Runtime.Diagnostics.ITraceSourceStringProvider' from assembly 'System.ServiceModel.Internals, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35'." are been displayed in the NS logs.


Note: This error has been also noticed on new installations, SIM failed during the configuration process:


Error 1:
error initializing engine service; retry in 15 seconds
Could not load type 'System.Runtime.Diagnostics.ITraceSourceStringProvider' from assembly 'System.ServiceModel.Internals, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   [System.TypeLoadException @ System.ServiceModel]
Date: 8/21/2015 4:02:08 PM, Tick Count: 6815453 (01:53:35.4530000), Size: 3.47 KB
Process: EventEngine (1672), Thread ID: 27, Module: EventEngine.exe
Priority: 1, Source: EventEngine.EngineService.LogException

Error 2:
Failed to create remoting request service: name='AtrsHost', retry=[3 / 5]
Scheduling for next retry ...
System.TypeLoadException: Could not load type 'System.Runtime.Diagnostics.ITraceSourceStringProvider' from assembly 'System.ServiceModel.Internals, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Date: 8/21/2015 4:02:06 PM, Tick Count: 6813812 (01:53:33.8120000), Size: 1.92 KB
Process: AtrsHost (6132), Thread ID: 46, Module: AtrsHost.exe
Priority: 2, Source: RemotingRequestService

Error 3:
Error subscribing to PPA alerts
SNMPTrapListener.cpp(Line: 149)  PPA::SNMPTrapListener::RegisterForAlerts(): SNMP trap listener thread could not start listening.
   [Altiris.PluggableProtocols.PPAException @ ]
   at Altiris.PluggableProtocols.PAL.RegisterAlertCallback(IAlertCallback callback)
   at EventReceiver.PPAHandler.SubscribeToAlerts()

Date: 8/21/2015 4:07:01 PM, Tick Count: 7108703 (01:58:28.7030000), Size: 1.52 KB
Process: EventReceiver (844), Thread ID: 5, Module: EventReceiver.exe
Priority: 1, Source: EventReceiver.PPAHandler.SubscribeToAlerts

Error 4:

<!DOCTYPE html>
        <title>Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.</title>
        <meta name="viewport" content="width=device-width" />
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
         @media screen and (max-width: 639px) {
          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
         @media screen and (max-width: 479px) {
          pre { width: 280px; }


ITMS 7.6, 8.0, 8.1


From what we were able to find out, it is a .NET issue and not caused by our product:


  • If you are running SMP 7.6 HF3 or older:
    Install .NET 4.5.2 (.NET 4.6 is not supported yet until SMP 7.6 HF4)
  • If you are running SMP 8.0 or 8.1:
    Install .NET 4.6.2