无法在Live IIS Web App上配置Application Insights状态监视器

时间:2017-03-09 17:29:27

标签: asp.net iis visual-studio-2015 azure-application-insights

Application Insight在本地开发方面工作得非常好,但在服务器上使用状态监视器会出现问题。以下是错误:

  

该应用程序使用旧版Application Insights for   Visual Studio Online。删除ApplicationInsights.config和   Application Insights Nuget来自项目的包引用   使用Visual Studio 2013 Update 3对项目的应用程序洞察   或以后。

我按照上面的说明同样的结果。主要是我遵循了article,但我也尝试了以下内容:

  • 如果您自定义了ApplicationInsights.config。
  • ,请复制ApplicationInsights.config
  • 在解决方案资源管理器中,右键单击您的项目,然后选择“管理NuGet包”。
  • 选择浏览。
  • 搜索Microsoft.ApplicationInsights.Web,选择它并选择Install / Update。您需要2.2.0版(或更高版本)。
  • 恢复对ApplicationInsights.config所做的任何自定义。比较文件时您会看到的大多数更改都是因为我们删除了一些模块并使其他模块可参数化。
  • 重建您的解决方案。

它不起作用。

0 个答案:

没有答案