Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
819 views
in Technique[技术] by (71.8m points)

asp.net core mvc - MVC 6 Hosted on IIS HTTP Error 500.19

Am getting HTTP Error 500.19 when accessing MVC 6 app in IIS on Windows 10.

In IIS I have set the App pool to 'No Managed Code'

The app is hosted in the root of a new Web Site.

I published the app using Visual Studio 2015 with the following settings.

Configuration : Debug Target DNX Version: dnx-clr-win-x64.1.0.0-rc1-update1

The web.config is the boilerplate provided by Visual Studio

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/>
    </handlers>
    <httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false" startupTimeLimit="3600"/>
  </system.webServer>
</configuration>

Any ideas what is going wrong?

Thanks

Mike

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

For RC2 and above, HttpPlatformHandler has been replaced by ASP.NET Core Module

Install the new module from here.

The announcement can be found here.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...