-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TelemetryClient.Initialize should not crash in partial trust scenario #416
Comments
PR #420 |
@dnduffy The constructor for |
I'm still getting an error trying to use TelemetryClient in partial trust mode (2.4.0 version): System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Should I create another isssue or is it part of this one? @SergeyKanzhelev / @dnduffy Thank you! |
Reopened an issue |
Fixed in #1119 |
Fix issue #416. Add certain domains to dependency collector's exclude list
Reported here: https://github.com/Microsoft/ApplicationInsights-Home/issues/87
TelemetryClient
and other components should not crash when app is running in partial trustSystem.Security.SecurityException at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Environment.GetEnvironmentVariables() at Microsoft.ApplicationInsights.Extensibility.Implementation.Platform.PlatformImplementation..ctor() at Microsoft.ApplicationInsights.Extensibility.Implementation.Platform.PlatformSingleton.get_Current() at Microsoft.ApplicationInsights.TelemetryClient.Initialize(ITelemetry telemetry) at Microsoft.ApplicationInsights.TelemetryClient.Track(ITelemetry telemetry) at Microsoft.ApplicationInsights.TelemetryClient.TrackTrace(TraceTelemetry telemetry) at Microsoft.ApplicationInsights.TelemetryClient.TrackTrace(String message)
The text was updated successfully, but these errors were encountered: