# Microsoft IIS extension problem

**URL:** <https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [January 29, 2024, 5:01pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889 "2024-01-29T17:01:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohanZuleta](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@JohanZuleta](https://community.dynatrace.com/u/JohanZuleta)\
**Post date:** [January 29, 2024, 5:01pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/1 "2024-01-29T17:01:16Z")

</div>

Good morning community.  
I need to retrieve the metrics from the installed extension of an operating system, Windows Server 2003 Version 5.2 R2. The installed extension is MICROSOFT IIS.

 ![JohanZuleta_0-1706708261580.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/463465640818e15676dab2e217b709528dcf6b91.png)

The extension meets the installation requirements:  
- ActiveGate 1.245.0 or higher  
- ActiveGate Group: default

![JohanZuleta_1-1706708284658.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/f/6f79b2a8cbd94e1fcf4354505e1861585f306c24.png)

 ![JohanZuleta_2-1706708300886.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2b3768f60b872b1c5b0e5f4ced891f04e22ae11c.png)

However, it generates the following error:  
_“Failed to assign monitoring configuration to ActiveGate. Reason: The monitoring configuration requires ActiveGate version 1.245.0 or later that supports data source WMI and belongs to group ‘default.’”_

---

<div class="post-metadata">

**Author:** ![DavidMass](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/davidmass/32/9065_2.png) [@DavidMass](https://community.dynatrace.com/u/DavidMass)\
**Post date:** [January 29, 2024, 5:29pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/2 "2024-01-29T17:29:32Z")

</div>

Hi&nbsp;[@JohanZuleta](https://community.dynatrace.com/user/66049)&nbsp;,&nbsp;  
Yes, as you mentioned the OA doesn’t yet support Windows Server 2023 (EDIT : the OA no longer supports Windows 2003) ([Technology support — Dynatrace Docs](https://docs.dynatrace.com/docs/setup-and-configuration/technology-support#windows)). I would need to defer to that team to know when that support would come.

![DavidMass_0-1706549161863.png](https://global.discourse-cdn.com/dynatrace/optimized/3X/d/1/d1aea8e24048ab34f39acf1ffd34cd0f17bc1b4c_2_690x42.png)

However, as this extension is based on WMI, another option is to use an ActiveGate to remotely monitor IIS. Please take a look at this documentation (under Remote enable permission on the host) to see how to get that set up :&nbsp;[WMI data source — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/wmi-extension#monitored-host)

---

<div class="post-metadata">

**Author:** ![carlos\_carreno](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/carlos_carreno/32/28820_2.png) [@carlos\_carreno](https://community.dynatrace.com/u/carlos_carreno)\
**Post date:** [January 29, 2024, 6:34pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/3 "2024-01-29T18:34:36Z")

</div>

“Thanks for the input. Do you have any solution or path to install the OneAgent on a Server 2003?”

---

<div class="post-metadata">

**Author:** ![JohanZuleta](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@JohanZuleta](https://community.dynatrace.com/u/JohanZuleta)\
**Post date:** [January 29, 2024, 6:34pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/4 "2024-01-29T18:34:45Z")

</div>

@[**DavidMisa**](https://community.dynatrace.com/user/909) &nbsp;actualizo información es Windows Server 2003 versión 5.2 R2

---

<div class="post-metadata">

**Author:** ![Miguel\_RinconG](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/miguel_rincong/32/29455_2.png) [@Miguel\_RinconG](https://community.dynatrace.com/u/Miguel_RinconG)\
**Post date:** [January 29, 2024, 6:44pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/5 "2024-01-29T18:44:26Z")

</div>

Hola Johan,

OneAgent no cuenta con soporte para Windows Server 2003, te podria recomendar las siguientes extensiones:

Para el sistema operativo windows 2003, puedes monitorear con la extension [Remote Windows host monitoring.&nbsp; Esto es realizado mediante WMI.](https://www.dynatrace.com/hub/detail/remote-windows-host-monitoring/?query=windows&filter=all)

Para el IIS la extension&nbsp;[Microsoft IIS](https://www.dynatrace.com/hub/detail/microsoft-iis/?query=iis&filter=all#overview), la cual tambien&nbsp; usa WMI para el monitoreo.

--------------------------------------------------------------------------------------------------------

Hello Johan,

OneAgent does not have support for Windows Server 2003, I could recommend the following extensions:

- For Windows 2003 operating system, you can monitor with the Remote Windows host monitoring extension. This is done through WMI.
- For IIS the Microsoft IIS extension, which also uses WMI for monitoring.

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [January 30, 2024, 6:10am UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/6 "2024-01-30T06:10:38Z")

</div>

Hola,

I want help, but…

Need&nbsp;[@dannemca](https://community.dynatrace.com/user/18264)&nbsp;here.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [January 30, 2024, 7:36pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/7 "2024-01-30T19:36:44Z")

</div>

In fact we need [@DanielS](https://community.dynatrace.com/user/35788) , nuestro Spanish master!!

---

<div class="post-metadata">

**Author:** ![carlos\_carreno](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/carlos_carreno/32/28820_2.png) [@carlos\_carreno](https://community.dynatrace.com/u/carlos_carreno)\
**Post date:** [January 31, 2024, 5:01pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/8 "2024-01-31T17:01:16Z")

</div>

There is an update in English about the issue; the initial request has been edited.

---

<div class="post-metadata">

**Author:** ![JohanZuleta](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@JohanZuleta](https://community.dynatrace.com/u/JohanZuleta)\
**Post date:** [February 7, 2024, 7:30pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/9 "2024-02-07T19:30:22Z")

</div>

Good afternoon community,

Let me tell you where I am at.

I installed two extensions: Remote Windows Host Monitoring and Microsoft IIS. The first one works well for me, and I can already see infrastructure metrics with a local user on the host being monitored. However, under the Microsoft IIS extension, we encountered the following error:

Content: Failed to assign monitoring configuration to ActiveGate. Reason: GENERIC\_ERROR: Status GENERIC\_ERROR (27) returned from 1 agent (x.x.x.x: Cannot execute query: IIS Site on device x.x.x.x err: Exception occurred (invalid query)); Attached is the log for reference.

x.x.x.x belongs to the IP of the host being monitored.

Thank you for your assistance.

---

<div class="post-metadata">

**Author:** ![ben\_davidson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ben_davidson/32/20391_2.png) [@ben\_davidson](https://community.dynatrace.com/u/ben_davidson)\
**Post date:** [February 14, 2024, 4:11pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/10 "2024-02-14T16:11:32Z")

</div>

Can you try executing the WMI queries directly on the host that you are trying to monitor? Here are the two main queries that the extension uses.

```c
$query1 = "SELECT Name, TotalApplicationPoolUptime, CurrentWorkerProcesses, MaximumWorkerProcesses, TotalApplicationPoolRecycles, CurrentApplicationPoolUptime, TimeSinceLastWorkerProcessFailure FROM Win32_PerfFormattedData_APPPOOLCountersProvider_APPPOOLWAS WHERE Name != '_Total'"

```

```c
$query2 = "SELECT Name, CacheHitRate, CurrentQueueSize FROM Win32_PerfFormattedData_Counters_HTTPServiceRequestQueues WHERE Name != '_Total'"

```

You can execute each query with the following commands:

```c
Get-WMIObject -query $query1
Get-WMIObject -query $query2

```

If the queries produce an error on the host you are trying to monitor, the extension will not work either. Please provide the OS version of the host and the version of Internet Information Services Manager. Also, check in the IIS Manager that the sites are present on the host.

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [February 20, 2024, 1:48pm UTC](https://community.dynatrace.com/t/microsoft-iis-extension-problem/43889/11 "2024-02-20T13:48:39Z")

</div>

I’ve edited the post with a quick translation to english.
