# After updating Apm Agent from 1.1.2 to 1.2 transactions are empty

**URL:** <https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [December 9, 2019, 9:31am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081 "2019-12-09T09:31:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![insanity13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/insanity13/32/57444_2.png) [@insanity13](https://discuss.elastic.co/u/insanity13)\
**Post date:** [December 9, 2019, 9:31am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/1 "2019-12-09T09:31:16Z")

</div>

**Kibana version** : 7.5.0 (Cloud)

**Elasticsearch version** : 7.5.0 (Cloud)

**APM Server version** : 7.5.0 (Local)

**APM Agent language and version** : 1.2 .Net (Full)

**Browser version** : -

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

**Fresh install or upgraded from other version?** APM Agent Upgrade

**Is there anything special in your setup?** Elastic Cloud with Local APM Server

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

**Steps to reproduce** :

1. Working with Apm Agent 1.1.2
2. Update Nuget to 1.2

Metrics and Errors catching well, but transactions are empty:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/f/af01ee88a3e4952fd5b535bd839563e53c6d1509.png)

APM Server logs

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/7/d7ca8886cb715e68ef709f6a31c5bd0da95b71ce.png)

---

<div class="post-metadata">

**Author:** ![Sergey\_Kleyman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_kleyman/32/39333_2.png) [@Sergey\_Kleyman](https://discuss.elastic.co/u/Sergey_Kleyman)\
**Post date:** [December 9, 2019, 9:54am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/2 "2019-12-09T09:54:38Z")

</div>

Hi Mikhail,

I see that you also upgraded APM Server to the latest version as well - in order to determine if the agent or the server upgrade is the culprit I would suggest to try the latest version (1.2) .NET Agent with the previous version of APM Server and/or the other way around - the previous version (1.1.2) of .NET Agent with the latest version of APM Server.

In addition it would be helpful if you could provide agent's logs.

---

<div class="post-metadata">

**Author:** ![insanity13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/insanity13/32/57444_2.png) [@insanity13](https://discuss.elastic.co/u/insanity13)\
**Post date:** [December 9, 2019, 10:01am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/3 "2019-12-09T10:01:59Z")

</div>

I apologize, I did not describe this above.  
First, I updated the Agent, the server remained unchanged. When I noticed that the transactions were not being logged, I decided to update the server, but this did not help.

---

<div class="post-metadata">

**Author:** ![Sergey\_Kleyman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_kleyman/32/39333_2.png) [@Sergey\_Kleyman](https://discuss.elastic.co/u/Sergey_Kleyman)\
**Post date:** [December 9, 2019, 11:24am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/4 "2019-12-09T11:24:37Z")

</div>

So it seems that we should focus on the agent upgrade - it would be helpful if you could provide agent's logs.

---

<div class="post-metadata">

**Author:** ![insanity13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/insanity13/32/57444_2.png) [@insanity13](https://discuss.elastic.co/u/insanity13)\
**Post date:** [December 9, 2019, 11:59am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/5 "2019-12-09T11:59:33Z")

</div>

Sorry, but how it can be done?

---

<div class="post-metadata">

**Author:** ![Sergey\_Kleyman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_kleyman/32/39333_2.png) [@Sergey\_Kleyman](https://discuss.elastic.co/u/Sergey_Kleyman)\
**Post date:** [December 9, 2019, 5:55pm UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/6 "2019-12-09T17:55:29Z")

</div>

By default .NET Agent writes its log to standard output (AKA console) so you can redirect application's standard output to a file.  
Also the log has higher chance of helping us if we increase the log level (preferably to `Trace`). You can configure Agent's log level either via [`ELASTIC_APM_LOG_LEVEL` environment variable](https://www.elastic.co/guide/en/apm/agent/dotnet/current/config-supportability.html#config-log-level) which works for any .NET application or if you cannot use environment variables you configure via one of the methods specific to the application framework. At the moment we have alternative configuration sources for applications built using [ASP.NET](https://www.elastic.co/guide/en/apm/agent/dotnet/current/configuration-on-asp-net.html) or [ASP.NET Core](https://www.elastic.co/guide/en/apm/agent/dotnet/current/configuration-on-asp-net-core.html).

---

<div class="post-metadata">

**Author:** ![pkimber](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkimber/32/31633_2.png) [@pkimber](https://discuss.elastic.co/u/pkimber)\
**Post date:** [December 10, 2019, 6:57pm UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/7 "2019-12-10T18:57:38Z")

</div>

I have the same issue with the python / Django client and ElasticSearch / Kibana 6.x. This started a couple of months ago...

---

<div class="post-metadata">

**Author:** ![insanity13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/insanity13/32/57444_2.png) [@insanity13](https://discuss.elastic.co/u/insanity13)\
**Post date:** [December 11, 2019, 4:36am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/8 "2019-12-11T04:36:54Z")

</div>

Thanks.  
Agent logs: [https://1drv.ms/u/s!AqxP74CRWKVAh8URjARsvhT9iGcgPA?e=9XQ7QV](https://1drv.ms/u/s!AqxP74CRWKVAh8URjARsvhT9iGcgPA?e=9XQ7QV)  
I see only one problem "I see only one problem. But this should not affect the work.".  
But this should not affect the work.

---

<div class="post-metadata">

**Author:** ![insanity13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/insanity13/32/57444_2.png) [@insanity13](https://discuss.elastic.co/u/insanity13)\
**Post date:** [December 11, 2019, 10:52am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/9 "2019-12-11T10:52:24Z")

</div>

I have found a reason. Web.Config had an old entry of the assembly System.Diagnostics.DiagnosticSource.

Changed it to

And now it works. Thanks for Help!

---

<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:** [January 1, 2020, 6:52am UTC](https://discuss.elastic.co/t/after-updating-apm-agent-from-1-1-2-to-1-2-transactions-are-empty/211081/10 "2020-01-01T06:52:24Z")

</div>

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