【发布时间】:2017-08-16 19:27:59
【问题描述】:
我按照this 教程在Windows 10 上的IIS-10 中部署了ASP.NET Core 1.1.1 应用程序。但是当我尝试在IIS 中打开Modules 时,出现以下错误[要清晰查看,您可以点击图片放大]:
注意:
还有 Web.config 文件:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!--
Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
-->
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
</system.webServer>
</configuration>
更新:问题可能与this 帖子有关
【问题讨论】:
-
你能把它改成
<aspNetCore processPath="dotnet" arguments=".\YOUR_WEB_APP_NAMESPACE.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />吗?
标签: iis asp.net-core iis-10