当我想要进入 IIS 中的模块部分时,出现此错误。
我还安装了 URL 重写模块。我知道 web.config 文件有问题,但我不明白问题出在哪里。
这是我的 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=".\RasaBack.dll"
stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout"
hostingModel="InProcess" />
<aspNetCore processPath=".\RasaBack.exe" stdoutLogEnabled="false"stdoutLogFile=".\logs\stdout" hostingModel="InProcess" />
</system.webServer>
</system.webServer>
</location>
</configuration>
Run Code Online (Sandbox Code Playgroud)