I have a Azure service which I developed using the C#.Net. When I compiled the solution it does it without any errors.
But when I run it, it throws the below error:
Could not load type 'Microsoft.ApplicationInsights.Telemetry.Web.ApplicationInsightsModule'
The following is the section where it points to when I run the solution .
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" relaxedUrlToFileSystemMapping="true" />
<customErrors mode="Off" defaultRedirect="/Error/Error.html" />
<pages controlRenderingCompatibilityVersion="4.5" />
<httpModules>
<add name="ApplicationInsights" type="Microsoft.ApplicationInsights.Telemetry.Web.ApplicationInsightsModule" />
</httpModules>
</system.web>
Make sure you have the Application Insights API nuget package installed
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With