HTTP错误500.19-内部服务器错误。当我在iis中托管.net核心Web应用程序时,获取错误500.19。

时间:2019-12-19 13:32:22

标签: .net iis .net-core hosting iis-10

我已经在IIS中托管了.net核心Web应用程序。当我运行应用程序时,出现错误“ HTTP错误500.19-内部服务器错误”

Detailed Error Information:
Module     IIS Web Core
Notification       Unknown
Handler    Not yet determined
Error Code     0x8007000d
Config Error       
Config File    \\?\C:\inetpub\wwwroot\HMACServer\web.config
Requested URL      http://localhost:6781/
Physical Path      
Logon Method       Not yet determined
Logon User     Not yet determined

我尝试通过更改仍面临相同问题的权限来进行尝试。

<?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=".\HmacCoreServer.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>

0 个答案:

没有答案