简体   繁体   English

IIS web.config 错误 - HTTP 错误 500.19 - 内部服务器错误

[英]IIS web.config Error - HTTP Error 500.19 - Internal Server Error

I'm unable to resolve the error HTTP Error 500.19 - Internal Server Error .我无法解决错误HTTP Error 500.19 - Internal Server Error I've installed donet 3.1 hosting bundle and url rewrite module as suggested by other answers.我已经按照其他答案的建议安装了 donet 3.1 托管包和 url 重写模块。

Any idea what the issue is?知道问题是什么吗? I've spend a lot of hours and still couldn't fix it.我已经花了很多时间,但仍然无法修复它。

在此处输入图片说明

Error:

Detailed Error Information:
Module     IIS Web Core
Notification       Unknown
Handler    Not yet determined
Error Code     0x8007000d
Config Error       
Config File    \\?\C:\catalog\web.config

Config Source:
   -1: 
    0: 

XML:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath="dotnet" arguments=".\catalog.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>

Figured it out.弄清楚了。 From the downloads page of donet I downloaded the aspnetcore-runtime instead of the hosting bundle.我从 donet 的下载页面下载了 aspnetcore-runtime 而不是托管包。

在此处输入图片说明

After downloading the hosting bundle and installing it, everything works fine.下载hosting bundle并安装后,一切正常。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM