Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We are using umbraco v7.7.0 and want to monitor our site using Microsoft Application Insights. Most types of telemetry are sent as expected, but request telemetry does not get through.
We are logging a lot of exceptions like this:
System.NullReferenceException at Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule.AddTargetHashForResponseHeader:21
Where the calling method seems to be:
Any insights into this would be appreciated, thanks.
Hey, same problem here. Just ran a sample project and can get events installing it out of the box. Can get ajax request in my umbraco website but no events!
Have you found a solution for this?
Found it! Had to reverse engineer a boiler plate project.
When I installed application insight the installer failed to add a few things in the web config:
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
<remove name="TelemetryCorrelationHttpModule" />
<add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="integratedMode,managedHandler" />
<remove name="ApplicationInsightsWebTracking" />
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
<trace autoflush="true" indentsize="0">
<add name="myAppInsightsListener" type="Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener, Microsoft.ApplicationInsights.TraceListener" />
The last part I had to comment out as it was throwing at a Debug.WriteLine and isn't needed for what I wanted by the looks of it.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted