question

ChristopherOrena-7649 avatar image
0 Votes"
ChristopherOrena-7649 asked ChrisOrena-8312 published

Classic ASP .Net website compatible with Azure Application Insights?

Hi,
I have a Classic ASP website created within a .NET solution (which has other .NET projects, websites, etc.). The website is setup to use .NET framework 4.5.1. I am trying to send telemetry data to the Azure portal - Application Insights setup for each of our environments (which have their own Instrumentation Key).

The Application Pool associated with the ASP website has version 2.0 and 32 Application = False as of now. I keep reading there is capability for classic ASP but I've seen no concrete instructions on how to actually implement from start to finish for Application Insights. For example, should I expect to create ApplicationInsights.config (NuGet Insight package files) file within .NET website/folder that's dedicated to Classic ASP files? This is probably more of a question for the Visual Studio solution/website sending side....not the Application Insights server setup receive. Please advise.

We've had no issues sending/receiving telemetry (requests, etc.) for the .NET projects (non-Classic ASP).

azure-monitor
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ChristopherOrena-7649 Thanks for reaching out. I've reached out to our Product group to know if this is a supported scenario and will let you know as I have more details.

1 Vote 1 ·
ChrisOrena-8312 avatar image ChrisOrena-8312 bhargaviannadevara-msft ·

TThank you!

1 Vote 1 ·

1 Answer

bhargaviannadevara-msft avatar image
1 Vote"
bhargaviannadevara-msft answered ChrisOrena-8312 published

@ChristopherOrena-7649 Thanks for your patience. From what I hear from our Product group, this is unfortunately not a supported scenario.
The minimum version that's supported by Azure Application Insights is .NET framework 4.5.2. Please consider an upgrade if at all feasible.

You can find the Microsoft.ApplicationInsights NuGet package and dependency details here: https://www.nuget.org/packages/Microsoft.ApplicationInsights/
Here are the languages, platforms and frameworks supported by Azure Application Insights: https://docs.microsoft.com/en-us/azure/azure-monitor/app/platforms

Hope this helps. Do let us know if you have further questions.



If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@bhargaviannadevara-msft Thanks, this was most helpful! I was able to get to work after upgrading the Framework on the dedicated Classic ASP website within the .NET solution and and doing the following steps:

  • updated framework to 4.5.2 on website/project

  • added the following NuGet package/version --> Microsoft.ApplicationInsights v2.18.0

  • added the following NuGet package/version --> Midrosoft.ApplicationInsights.DependencyCollector v2.18.0

  • added the following NuGet package/version --> Microsoft.ApplicationInsights.PerfCounterCollector v2.18.0

  • added the following NuGet package/version --> Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel v2.18.0

  • added the following NuGet package/version --> System.Diagnostics.DiagnosticSource v5.0.0

  • added Instrumentation Key to ApplicationInsights.config file (which was auto created once installed packages above)

  • created web.config file at root website/project level following these instructions --> https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net

  • added attribute to modules entry in web.config --> <modules runAllManagedModulesForAllRequests="true">



1 Vote 1 ·

@ChrisOrena-8312 Excellent, glad that helped! Thanks so much for confirming and also sharing the steps that worked for you.
Please do consider accepting the answer so it also benefits others in the community with similar asks. :)

1 Vote 1 ·