aspNetCore 2.2.0-AspNetCoreModuleV2错误 [英] aspNetCore 2.2.0 - AspNetCoreModuleV2 error

查看:442
本文介绍了aspNetCore 2.2.0-AspNetCoreModuleV2错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将项目更新为"Microsoft.AspNetCore.All" 2.2.0之后,在IIS中运行时出现错误,而在Visual Studio中运行时却没有错误.

After updating my project to "Microsoft.AspNetCore.All" 2.2.0, I get an error when running in IIS, but not when running in Visual Studio.

HTTP-Fehler 500.21 - Internal Server Error Der Handler "aspNetCore" weist das ungültige Modul "AspNetCoreModuleV2" in der Modulliste auf.

HTTP-Fehler 500.21 - Internal Server Error Der Handler "aspNetCore" weist das ungültige Modul "AspNetCoreModuleV2" in der Modulliste auf.

我不知道是什么原因造成的,而www似乎没有答案. 也许有人面临着同样的事情并且有解决方案

I don't know what is causing this and the www does not seem to have an answer. Maybe someone facing the same thing and has a solution

推荐答案

您只需要在下面安装此软件包.之后,您可以使用AspNetCoreModuleV2:)

You just need to install this package below. After that you can use the AspNetCoreModuleV2 :)

https://dotnet.microsoft.com/download/thank-you/dotnet-runtime-2.2.2-windows-hosting-bundle-installer

安装时,请注意以管理员身份安装.作为安装的一部分,applicationHost.config文件将更新为包括AspNetCoreModuleV2及其dll.这是使用管理员特权运行安装很重要的原因之一.

When installing, please notice to install as administrator. As part of the installation the applicationHost.config file will be updated to include AspNetCoreModuleV2 and its dll. this is one of the reasons why it's important to run installation with admin privilege.

这篇关于aspNetCore 2.2.0-AspNetCoreModuleV2错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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