Application Insights 不工作 - 套接字异常
Application Insights not working - socket exception
我在我的 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
感谢您的建议。
如果这是在 windows 商店应用程序上,您是否在清单中启用了允许应用程序发出出站网络请求的功能?
查看相关:
An attempt was made to access a socket in a way forbidden by its access permissions
我让拥有这些说明的团队在此处更新了他们的页面:http://azure.microsoft.com/en-us/documentation/articles/app-insights-windows-monitor-usage-crashes/,这样如果您按照这些说明进行操作,它就会专门调用来检查此设置。 (他们调查了,似乎 windows phone silverlight 是现在唯一默认关闭此设置的模板,所有当前模板都默认打开网络访问?)
我在我的 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
感谢您的建议。
如果这是在 windows 商店应用程序上,您是否在清单中启用了允许应用程序发出出站网络请求的功能?
查看相关: An attempt was made to access a socket in a way forbidden by its access permissions
我让拥有这些说明的团队在此处更新了他们的页面:http://azure.microsoft.com/en-us/documentation/articles/app-insights-windows-monitor-usage-crashes/,这样如果您按照这些说明进行操作,它就会专门调用来检查此设置。 (他们调查了,似乎 windows phone silverlight 是现在唯一默认关闭此设置的模板,所有当前模板都默认打开网络访问?)