Microsoft.ApplicationInsights Error: InstrumentationKey cannot be empty RRS feed

  • Question

  • I was trying to use Microsoft.ApplicationInsights, and I installed the same through nuget. but when I am trying to use

    _telemetryClient.TrackException(ex, new Dictionary<string, string>
                                             {"Id", id.ToString()}
                                        }, null);

    I am getting an error saying: InstrumentationKey cannot be empty.

    I have already gone through the URL but I can't see any Update menu available for the config file in my VS(Note: I am using VS 2012 Pro).

    I have also tried updating the config file with the instrumentation key

    <ComponentID>{Instrumentation Key}</ComponentID>

    But, that didn't work too.


    • Moved by Daniele Muscetta Thursday, November 27, 2014 6:52 PM AI question, not OpInsights
    Thursday, November 27, 2014 12:26 AM


All replies