在IIS上本地运行ASP.NET 5项目

时间:2016-06-28 12:36:24

标签: c# asp.net iis

我想让https://github.com/warden-stack/Warden/tree/master/src/Web/Warden.Web在IIS上工作。它在Visual Studio中通过IIS Express运行时有效,但是当我发布它并在/ wwwroot中设置物理地址时 - 我收到以下错误:

error 500.19

app config advanced

app config basic

这是在已发布的web.config中:

<configuration>
  <system.webServer>
    <handlers>
      <add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
    </handlers>
    <httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="false" stdoutLogFile="..\logs\stdout.log" startupTimeLimit="3600"></httpPlatform>
  </system.webServer>
</configuration>

我需要更改什么才能让ASP5在本地运行IIS?如果这是可能的话。

0 个答案:

没有答案