Cannot see exceptions in Application Insigths

Julia 21 Reputation points
2021-09-23T11:21:38.903+00:00

Hello

I have an ASP.NET MVC 5 application and I have added Application Insights to it. I simply did it in Visual Studio in the meny "Configure Application Insights...". It works and I can see data in Application Insights. I see all requests, both 200 and failing ones.

But, I cannot see the Exception part. If I click on a 500 request, there is no information on what went wrong, and I cannot see the Exception information or the Stack Trace.

What can I do to be see the Exception and the Stack Trace in Application Insights.

Thanks!
Julia

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,071 Reputation points
    2021-09-24T02:09:04.793+00:00

    Hi @Julia ,
    If you have no data for Application Insights, I'm guessing that the problems are these:

    1. It's probably a firewall issue.
    2. IIS Server might be missing some prerequisites, like .NET Extensibility 4.5 or ASP.NET 4.5.

    More details,you could refer to below article:
    https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-troubleshoot-no-data

    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.