Could not load file or assembly 'Microsoft.AI.

2019-08-05 19:38发布

问题:

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

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

Could not load file or assembly 'Microsoft.AI.Web' or one of its dependencies. The system cannot find the file specified.

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.

回答1:

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.



标签: asp.net api web