c# - aspNetCore 2.2.0 - AspNetCoreModuleV2 错误

标签 c# asp.net asp.net-core

将我的项目更新为“Microsoft.AspNetCore.All”2.2.0 后,在 IIS 中运行时出现错误,但在 Visual Studio 中运行时却没有。

HTTP-Fehler 500.21 - 内部服务器错误 Der Handler "aspNetCore"weist das ungültige Modul "AspNetCoreModuleV2"in der Modulliste auf.

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

最佳答案

你只需要在下面安装这个包。之后你可以使用 AspNetCoreModuleV2 :)

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

安装时注意以管理员身份安装。作为安装的一部分,applicationHost.config 文件将更新为包含 AspNetCoreModuleV2 及其 dll。这就是为什么以管理员权限运行安装很重要的原因之一。

关于c# - aspNetCore 2.2.0 - AspNetCoreModuleV2 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53729956/

相关文章:

c# - WCF - 大文件上传 - (413) 请求实体太大

c# - 简单的自定义 Web 控件

asp.net - web.config - 自动生成发布版本

c# - 如何在不停止应用程序的情况下发布 asp.net 核心应用程序 Dll

c# - 在 c# 中的 sql server 更新查询中传递数字列名时出现语法错误

c# - FindByIdentity 在 ASP.NET webapp 中因 PricipalOperationException 而失败

c# - DbSet 查找总是返回 null

c# - Aspnet Core Decimal 绑定(bind)不适用于非英语文化

asp.net-core - ASP.NET Core 最大并发连接数?

c# - 使用 C# 将默认值插入 SQL Server