© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
2 replies
balls mcgee

Application Insights OpenTelemetry fresh install not showing stack trace

I just installed Application Insights OpenTelemtery into a fresh copy of IdentityServer 7. I'm getting a 500 error on login. The error.type field shows
System.InvalidOperationException
System.InvalidOperationException
, but no stack trace is shown.

Identity Server 7 comes with SeriLog installed by default. I'm not sure if that's somehow intercepting something but it seems as though if it can get the error.type, it should be able to get the stack trace.

Normally I see here a checkbox
Just My Code
Just My Code
, and when I uncheck that, I see the full stack trace.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

App Insights vs Azure Monitor (OpenTelemetry)
C#CC# / help
17mo ago
Application Insights Auto Instrumentation
C#CC# / help
15mo ago
❔ Application Insights Health Checks
C#CC# / help
3y ago
How to read stack trace errors
C#CC# / help
13mo ago