【发布时间】:2018-12-10 16:15:32
【问题描述】:
我想在 Windows 服务器 IIS 上托管 nopcommerce 4.10。我已经安装了 .net 核心托管包、.net Sdk 并且还设置了它的环境变量 c++ 可再发行包也安装了。但我仍然得到这个屏幕。我也启用了标准输出,但没有得到任何日志。
我已经尝试了论坛和所有其他网站的许多解决方案,但仍然遇到同样的问题。
网页配置
<configuration>
<system.webServer>
<modules>
<!-- Remove WebDAV module so that we can make DELETE requests -->
<remove name="WebDAVModule" />
</modules>
<handlers>
<!-- Remove WebDAV module so that we can make DELETE requests -->
<remove name="WebDAV" />
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule"
resourceType="Unspecified" />
</handlers>
<!-- When deploying on Azure, make sure that "dotnet" is installed and the
path to it is registered in the PATH environment variable or specify the
full path to it -->
<aspNetCore requestTimeout="23:00:00" processPath="%LAUNCHER_PATH%"
arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false"
stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" startupTimeLimit="3600"
/>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
【问题讨论】:
-
您安装了最新的 nopCommerce 版本吗?我也遇到了同样的问题,但是当我安装最新版本时,一切正常。
-
最新的4.10
-
.net 内核怎么样?您是否安装了最新的 .net 核心版本?
标签: asp.net-mvc asp.net-core .net-core