# ElasticAPM WCF auto instrumentation not working

**URL:** <https://discuss.elastic.co/t/elasticapm-wcf-auto-instrumentation-not-working/243115>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [July 29, 2020, 7:54pm UTC](https://discuss.elastic.co/t/elasticapm-wcf-auto-instrumentation-not-working/243115 "2020-07-29T19:54:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio\_Charpinel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergio_charpinel/32/47551_2.png) [@Sergio\_Charpinel](https://discuss.elastic.co/u/Sergio_Charpinel)\
**Post date:** [July 29, 2020, 7:54pm UTC](https://discuss.elastic.co/t/elasticapm-wcf-auto-instrumentation-not-working/243115/1 "2020-07-29T19:54:46Z")

</div>

**Kibana version** : 7.8.0

**Elasticsearch version** : 7.8.0

**APM Server version** : 7.8.0

**APM Agent language and version** : .NET Framework / 1.6.1

**Browser version** : Latest of Chrome

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: Docker.

**Fresh install or upgraded from other version?** Fresh

**Is there anything special in your setup?** No

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:  
I've created a test project with a WCF service and I can see the ElasticAPM agent auto creates spans for WCF calls, as shown below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/2/024e92d614ce0d98d26f479b8b60554216d43285.png)

But in my production project the WCF calls are not showing up. I'm using the same server and agent version. Any ideas how to troubleshoot this?

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [July 29, 2020, 9:32pm UTC](https://discuss.elastic.co/t/elasticapm-wcf-auto-instrumentation-not-working/243115/2 "2020-07-29T21:32:28Z")

</div>

Hi @Sergio_Charpinel,

Look at the [troubleshooting section of our docs](https://www.elastic.co/guide/en/apm/agent/dotnet/current/troubleshooting.html). If you can’t figure it out, try to collect logs from the agent and paste the logs here. With that hopefully we’ll be able to help more.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 19, 2020, 5:32pm UTC](https://discuss.elastic.co/t/elasticapm-wcf-auto-instrumentation-not-working/243115/3 "2020-08-19T17:32:28Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
