.net core HTTP 错误 500.19 - 内部服务器错误

时间:2021-01-04 07:48:49

标签: asp.net asp.net-core iis http-error

我使用的是.net core 2.2,在部署IIS时,出现如下错误。 enter image description here

我为该文件添加了权限并安装了 .net core sdk。 (SDK 2.1.811,.NET Core 运行时 2.1.23)

导致这些错误的原因是什么?

web.config 文件

<?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=".\JbeAdminApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess" />
</system.webServer>

0 个答案:

没有答案