删除AI时出错 [英] Error Removing AI

查看:113
本文介绍了删除AI时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从正在收集遥测信息的IIS应用程序中删除AI,尽管出现以下错误,但无法将其删除.我可以从同一服务器上的其他IIS应用程序中删除AI.

I am trying to remove AI from an IIS application which is collecting telemetry fine, i get the below error though and cant remove it. I Can remove AI from other IIS applications on the same server ok.

有什么想法吗?

谢谢

Shane

推荐答案

Shane W,

Hi Shane W,

您可以通过两种方法删除Application Insights:

There are a couple of ways in which you can remove Application Insights:

选项1:使用程序包管理控制台

Option #1: Using the Package Management Console

首先,在工具->中打开程序包管理控制台". NuGet软件包管理器->程序包管理器控制台.输入以下命令:

卸载打包Microsoft.ApplicationInsights.Web -RemoveDependencies

输入该命令后,将从项目中卸载Application Insights软件包(及其所有依赖项).

First, open the Package Management Console in Tools -> NuGet Package Manager -> Package Manager Console. Enter the following command:

Uninstall-Package Microsoft.ApplicationInsights.Web -RemoveDependencies

After entering that command, the Application Insights package (along with all of its dependencies) will be uninstalled from the project.

选项2:使用Visual Studio NuGet UI

Option #2: Using the Visual Studio NuGet UI

首先,右键单击解决方案,然后单击管理解决方案的NuGet软件包".单击此按钮将带您到一个屏幕,该屏幕使您可以编辑属于项目一部分的所有NuGet软件包.由于Application Insights是NuGet软件包 已经为该应用程序配置的,我们将要删除它.

单击名为"Microsoft.ApplicationInsights.Web"的程序包,然后选中右侧项目列表中的复选框,以选择所有项目.您还希望在卸载时删除所有依赖项,因此请点击选项"并选中 选项以删除卸载选项"下的依赖项.您的屏幕应如下所示:

First, right click on the Solution and click on "Manage NuGet Packages for Solution." Clicking this will take you to a screen that allows you to edit all of the NuGet packages that are a part of the project. Since Application Insights is a NuGet package already configured for the application, we’re just going to remove it.

Click on the package called "Microsoft.ApplicationInsights.Web," and then check the checkbox in the project listing on the right side to select all projects. You’ll also want to remove all dependencies when uninstalling, so click on "Options" and check the option to remove dependencies under "Uninstall Options." Your screen should look like this:

单击卸载"后,将显示一个对话框,显示要从应用程序中删除的所有不必要的依赖项.继续并批准将其删除.

Once you click on "Uninstall," a dialog will display that shows all of the unnecessary dependencies to be removed from the application. Go ahead and approve their removal.

完整博客在这里- https://stackify.com/remove-application-insights/

希望这会有所帮助!


这篇关于删除AI时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆