ASP.NET 使用 VS2017 在 iisexpress 上部署核心 2.0 Web 应用程序导致 HTTP 错误 502.3 - 网关错误
ASP.NET core 2.0 web application deployment on iisexpress using VS2017 results in HTTP Error 502.3 - Bad Gateway
使用 Visual Studio 2017(预览版)部署 ASP.NET Core 2.0 MVC Web 应用程序会在浏览器中显示错误页面:
HTTP Error 502.3 - Bad Gateway
The specified CGI application encountered an error and the server terminated the process.
切换到 .NET Core 1.1
或 .NET Core 1.0
时效果很好。 但是当我使用 .NET Core 2.0
构建和部署时,它会显示上面的错误页面在浏览器中。
有什么提示吗?
修复了在 VS2017 中创建向导的项目中使用 .netcore 2.0
重新创建应用程序项目的问题。
问题可能出在创建项目后切换到 .netcore 2.0
。
使用 Visual Studio 2017(预览版)部署 ASP.NET Core 2.0 MVC Web 应用程序会在浏览器中显示错误页面:
HTTP Error 502.3 - Bad Gateway The specified CGI application encountered an error and the server terminated the process.
切换到 .NET Core 1.1
或 .NET Core 1.0
时效果很好。 但是当我使用 .NET Core 2.0
构建和部署时,它会显示上面的错误页面在浏览器中。
有什么提示吗?
修复了在 VS2017 中创建向导的项目中使用 .netcore 2.0
重新创建应用程序项目的问题。
.netcore 2.0
。