<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article IIS Application Pools Crash When OneAgent Deep Monitoring Is Enabled (ConfuserEx Obfuscation) in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/IIS-Application-Pools-Crash-When-OneAgent-Deep-Monitoring-Is/ta-p/292795</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;Summary&lt;/H2&gt;
&lt;DIV&gt;This community article applies to Dynatrace OneAgent for Windows /.NET running on &lt;STRONG&gt;Microsoft IIS&lt;/STRONG&gt; with &lt;STRONG&gt;deep monitoring&lt;/STRONG&gt; enabled. It helps you diagnose and resolve &lt;STRONG&gt;IIS application pool crashes&lt;/STRONG&gt; that occur because the application is &lt;STRONG&gt;obfuscated &lt;/STRONG&gt;with ConfuserEx or a similar tool, which includes protection that terminates the process when a instrumentation is detected.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H2&gt;Problem&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;IIS application pools crash&lt;/STRONG&gt; shortly after application startup when &lt;STRONG&gt;OneAgent deep monitoring&lt;/STRONG&gt; is enabled.&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Dynatrace OneAgent logs&lt;/STRONG&gt; show that assemblies/modules &lt;STRONG&gt;cannot be instrumented&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Example logs line from OneAgent logs -
&lt;PRE&gt;&lt;CODE&gt;Module is unsupported (obfuscated or unsupported version). Skipping instrumentation. (AppConfig.dll)&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Why this happens&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;ConfuserEx&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;is a .NET obfuscation tool that includes&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;anti‑debugging and anti‑tampering protections&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;When ConfuserEx detects:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a debugger,&lt;/LI&gt;
&lt;LI&gt;a profiler,&lt;/LI&gt;
&lt;LI&gt;or runtime instrumentation (such as Dynatrace OneAgent deep monitoring), it intentionally terminates the process by calling:
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE&gt;Environment.FailFast&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;
&lt;P&gt;This behavior is implemented directly in ConfuserEx, as shown here:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaveshbjoshi_1-1769495875418.png" style="width: 15px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31750i106F82F0DD784C38/image-dimensions/15x15?v=v2" width="15" height="15" role="button" title="bhaveshbjoshi_1-1769495875418.png" alt="bhaveshbjoshi_1-1769495875418.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;ConfuserEx source (AntiDebug.Safe.cs)&lt;/SPAN&gt;
&lt;P&gt;&lt;A href="https://github.com/yck1509/ConfuserEx/blob/v1.0.0/Confuser.Runtime/AntiDebug.Safe.cs#L13" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/yck1509/ConfuserEx/blob/v1.0.0/Confuser.Runtime/AntiDebug.Safe.cs#L13&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaveshbjoshi_1-1769495875418.png" style="width: 15px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31750i106F82F0DD784C38/image-dimensions/15x15?v=v2" width="15" height="15" role="button" title="bhaveshbjoshi_1-1769495875418.png" alt="bhaveshbjoshi_1-1769495875418.png" /&gt;&lt;/span&gt; Microsoft documentation-&amp;nbsp;&lt;SPAN&gt;Environment.FailFast Method&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.environment.failfast" target="_blank" rel="noopener nofollow noreferrer"&gt;https://learn.microsoft.com/en-us/dotnet/api/system.environment.failfast&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;It's important to note that Applications using ConfuserEx are known to be incompatible with the Dynatrace OneAgent, and crashes in such scenarios are expected. As a result, using ConfuserEx with the Dynatrace .NET agent is not supported.&lt;/DIV&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Troubleshooting steps&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;Confirm with the application&amp;nbsp;&lt;SPAN&gt;Developers whether ConfuserEx or any other obfuscator is used.&lt;/SPAN&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Check for OneAgent logs with entry -&amp;nbsp;&lt;CODE&gt;Module is unsupported (obfuscated or unsupported version). Skipping instrumentation. (AppConfig.dll)&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Check the windows event logs. You may search for following entry in the Windows Events.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaveshbjoshi_2-1769495918732.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31751iF0F2B3D565804CA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaveshbjoshi_2-1769495918732.png" alt="bhaveshbjoshi_2-1769495918732.png" /&gt;&lt;/span&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;DIV&gt;&lt;STRONG&gt;Option 1:&lt;/STRONG&gt;&amp;nbsp;Disable deep monitoring for the affected process group.&lt;BR /&gt;&lt;STRONG&gt;Option 2:&lt;/STRONG&gt;&amp;nbsp;Rebuild the application without ConfuserEx obfuscation.&lt;/DIV&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Note:&lt;/H2&gt;
&lt;P&gt;In some scenarios the obfuscation tool may not crash the process but might lead to missing code-level data in trace and break some trace correlation.&lt;/P&gt;
&lt;H2&gt;What's next&lt;/H2&gt;
&lt;P&gt;If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;OneAgent Support Archive from the affected host.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 16 Apr 2026 09:51:04 GMT</pubDate>
    <dc:creator>bhaveshbjoshi</dc:creator>
    <dc:date>2026-04-16T09:51:04Z</dc:date>
    <item>
      <title>IIS Application Pools Crash When OneAgent Deep Monitoring Is Enabled (ConfuserEx Obfuscation)</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/IIS-Application-Pools-Crash-When-OneAgent-Deep-Monitoring-Is/ta-p/292795</link>
      <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;*&lt;EM&gt;Use a table of contents for longer articles.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;H1&gt;Summary&lt;/H1&gt;
&lt;P&gt;&lt;EM&gt;*This is a mandatory section.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Short description of which part of the Dynatrace platform the article refers to and what kind of problem it will help resolve / task it will describe.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Problem&lt;/H1&gt;
&lt;P&gt;&lt;EM&gt;*This is a mandatory section.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Provide a precise description of the problem / task to be described.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Troubleshooting steps&lt;/H1&gt;
&lt;P&gt;&lt;EM&gt;*This section can be omitted.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Resolution&lt;/H1&gt;
&lt;P&gt;&lt;EM&gt;*This section can be omitted for ticket‑creation articles.&lt;/EM&gt;&lt;/P&gt;
&lt;H1&gt;What's next&lt;/H1&gt;
&lt;P&gt;&lt;EM&gt;*This is a mandatory section.&lt;/EM&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Apr 2026 09:51:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/IIS-Application-Pools-Crash-When-OneAgent-Deep-Monitoring-Is/ta-p/292795</guid>
      <dc:creator>bhaveshbjoshi</dc:creator>
      <dc:date>2026-04-16T09:51:04Z</dc:date>
    </item>
  </channel>
</rss>

