我在我的 Windows 商店应用程序中添加了 Application Insights,在输出中我有很多行出现异常。
我有 ApplicationInsight 消息:
Application Insights Telemetry: {"ver":1,"name":"Microsoft.ApplicationInsights.PageView",.............}
例外情况,例如:
A first chance exception of type 'System.Net.WebException' occurred in mscorlib.dll
A first chance exception of type 'System.Net.WebException' occurred in System.dll
A first chance exception of type 'System.Net.InternalException' occurred in System.dll
A first chance exception of type 'System.Net.InternalException' occurred in System.dll
A first chance exception of type 'System.Net.WebException' occurred in mscorlib.dll
A first chance exception of type 'System.Net.WebException' occurred in mscorlib.dll
A first chance exception of type 'System.TimeoutException' occurred in Microsoft.ApplicationInsights.winmd
A first chance exception of type 'System.TimeoutException' occurred in mscorlib.dll
A first chance exception of type 'System.Net.InternalException' occurred in System.dll
A first chance exception of type 'System.Net.InternalException' occurred in System.dll
异常消息是:
Message "An attempt was made to access a socket in a way forbidden by its access permissions 23.101.68.210:443"
我真的不知道是什么导致了这个异常。我尝试关闭防火墙但没有成功。我尝试在 VS 2013 中使用更新 4 开发应用程序,机器使用 Windows 2012 R2
感谢您的建议。