无法加载文件或程序集"Microsoft.AI.Web"或其依赖项之一.该系统找不到指定的文件. [英] Could not load file or assembly 'Microsoft.AI.Web' or one of its dependencies. The system cannot find the file specified.

查看:1019
本文介绍了无法加载文件或程序集"Microsoft.AI.Web"或其依赖项之一.该系统找不到指定的文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Web服务的新手,必须将Web服务发布到服务器.

I am a new bee to web services and I have to publish a web service to a server.

我使用IIS添加了一个应用程序,但是当我尝试浏览该应用程序时,它给了我这个错误.

I added an application using IIS but when I try to browse the application it gives me this error.

无法加载文件或程序集"Microsoft.AI.Web"或其依赖项之一.系统找不到指定的文件.

我看到了有关此问题的其他答案,其中大多数与安装Microsoft.AI.Web软件包有关.这已安装在我的Web服务中,但仍然出现错误.

I had seen other answers about this issue,where most of them are related to installing Microsoft.AI.Web package. This is already installed in my web service and I am still getting the error.

预先感谢您提供解决此问题的建议.

Thanks in advance for any suggestions to resolve this.

推荐答案

在Nuget软件包管理器上,有一个针对Microsoft.ApplicationInsights的更新,更新后,该应用程序再次将应用程序添加到IIS.这解决了我的错误.

There was an update waiting on the Nuget package manager for Microsoft.ApplicationInsights, after updating it added the application again to IIS. This resolved my error.

这篇关于无法加载文件或程序集"Microsoft.AI.Web"或其依赖项之一.该系统找不到指定的文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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