# SQL is not possible in apm(IIS, dotnet)

**URL:** <https://discuss.elastic.co/t/sql-is-not-possible-in-apm-iis-dotnet/361554>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [June 17, 2024, 2:08am UTC](https://discuss.elastic.co/t/sql-is-not-possible-in-apm-iis-dotnet/361554 "2024-06-17T02:08:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eagles40cnuh](https://avatars.discourse-cdn.com/v4/letter/e/edb3f5/32.png) [@eagles40cnuh](https://discuss.elastic.co/u/eagles40cnuh)\
**Post date:** [June 17, 2024, 2:08am UTC](https://discuss.elastic.co/t/sql-is-not-possible-in-apm-iis-dotnet/361554/1 "2024-06-17T02:08:24Z")

</div>

**Kibana version** : 8.13.2

**Elasticsearch version** : 8.13.2

**APM Server version** : 8.13.2

**APM Agent language and version** : 1.27.1

**Browser version** : IIS 10

**Steps to reproduce** :

1. Profiler Auto instrumentation Setting
2. The post request was successfully confirmed.
3. Dependencies are not visible
4. And When I change the log to warn, it looks like this Message

{ElasticApmModule.#28} [ASP.NET](http://ASP.NET) is using LegacyAspNetSynchronizationContext and might not behave well for asynchronous code

1. Even if you look at the troubleshooting guide and change the settings, it is the same.  
(To break out of quirks mode the runtime must be explicitly specified in web.config: )

Is there any way to solve this problem?
