APM feature in SCOM 2016 Agent may cause a crash for the IIS Application Pool running under .NET 2.0 runtime

Published Feb 16 2019 04:16 AM 2,472 Views
First published on TECHNET on Mar 21, 2017
Summary

APM feature in SCOM 2016 Agent may cause a crash for the IIS Application Pool running under .NET 2.0 runtime.

Cause

Several callbacks within APM code of SCOM 2016 Agent utilize memory allocation that’s incompatible with .NET 2.0 runtime and may cause an issue if this memory is later accessed in a certain way. Those particular modifications were added in SCOM 2016 Agent and are not present in SCOM 2012 R2 Agent.

Resolution

The fix for this issue is to be provided with SC 2016 OM Update Rollup 3. The aforementioned code paths will not be executed if the Application Pool is running under .NET 2.0 Runtime. We are also evaluating to release a hotfix for this issue.

Workaround

There are several workarounds for this issue:

  • Application pool can be migrated to .NET 4.0 Runtime;

  • SCOM 2016 Agent can be replaced with SCOM 2012 R2 Agent, it’s forward-compatible with SCOM 2016 Server and APM feature will continue to work with the older bits;

  • SCOM 2016 Agent can be reinstalled with NOAPM=1 switch in msiexec.exe setup command line, APM feature will be excluded from setup;

%3CLINGO-SUB%20id%3D%22lingo-sub-351779%22%20slang%3D%22en-US%22%3EAPM%20feature%20in%20SCOM%202016%20Agent%20may%20cause%20a%20crash%20for%20the%20IIS%20Application%20Pool%20running%20under%20.NET%202.0%20runtime%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-351779%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20TECHNET%20on%20Mar%2021%2C%202017%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CSTRONG%3E%20Summary%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20APM%20feature%20in%20SCOM%202016%20Agent%20may%20cause%20a%20crash%20for%20the%20IIS%20Application%20Pool%20running%20under%20.NET%202.0%20runtime.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CSTRONG%3ECause%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Several%20callbacks%20within%20APM%20code%20of%20SCOM%202016%20Agent%20utilize%20memory%20allocation%20that%E2%80%99s%20incompatible%20with%20.NET%202.0%20runtime%20and%20may%20cause%20an%20issue%20if%20this%20memory%20is%20later%20accessed%20in%20a%20certain%20way.%20Those%20particular%20modifications%20were%20added%20in%20SCOM%202016%20Agent%20and%20are%20not%20present%20in%20SCOM%202012%20R2%20Agent.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CSTRONG%3EResolution%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20The%20fix%20for%20this%20issue%20is%20to%20be%20provided%20with%20SC%202016%20OM%20Update%20Rollup%203.%20The%20aforementioned%20code%20paths%20will%20not%20be%20executed%20if%20the%20Application%20Pool%20is%20running%20under%20.NET%202.0%20Runtime.%26nbsp%3BWe%20are%20also%20evaluating%26nbsp%3Bto%20release%20a%20hotfix%20for%20this%20issue.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CSTRONG%3EWorkaround%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20There%20are%20several%20workarounds%20for%20this%20issue%3A%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EApplication%20pool%20can%20be%20migrated%20to%20.NET%204.0%20Runtime%3B%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3ESCOM%202016%20Agent%20can%20be%20replaced%20with%20SCOM%202012%20R2%20Agent%2C%20it%E2%80%99s%20forward-compatible%20with%20SCOM%202016%20Server%20and%20APM%20feature%20will%20continue%20to%20work%20with%20the%20older%20bits%3B%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3ESCOM%202016%20Agent%20can%20be%20reinstalled%20with%20NOAPM%3D1%20switch%20in%20msiexec.exe%20setup%20command%20line%2C%20APM%20feature%20will%20be%20excluded%20from%20setup%3B%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-351779%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20Mar%2021%2C%202017%20SummaryAPM%20feature%20in%20SCOM%202016%20Agent%20may%20cause%20a%20crash%20for%20the%20IIS%20Application%20Pool%20running%20under%20.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-351779%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESystem%20Center%20Operations%20Manager%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Mar 11 2019 10:35 AM
Updated by: