aspNetCore 2.2.0

编程入门 行业动态 更新时间:2024-10-20 05:40:23
本文介绍了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 :)

dotnet.microsoft/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

本文发布于:2023-11-15 04:00:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1590951.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:aspNetCore

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!