这是我第一次启动ISS Windows Server 2016和ASP.NET应用程序。
有关使此应用程序运行需要做什么的任何线索?
这是我的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=".\Groliapp.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 06d4355d-1388-4f21-88d8-c0b4afb3c673-->
通常,当服务器中未安装.NET Core Runtime时,可能会发生此错误。您是否已经在服务器中安装了.NET Core Runtime?如果您尚未安装,请点击这里下载链接。
https://dotnet.microsoft.com/download/dotnet-core/current/runtime