ASP.net Core IIS published report errors 502.5

First, the operating environment
system server is Server 2012 64-bit Windows, of ASP.net Core program is a small application MVC, the choice is an independent publication, the target system is Win81 x64.

Second, the error causes
the release of a bunch of stuff open after copying the IIS server management, confirmed aspnetcore moudle already installed, add the site. Because it is of ASP.net Core, managed code is not required, the application pool in which the selected program is managed without managed code. Then click Browse, loved to see the 502.5 error page.
Here Insert Picture Description

Third, the solution
to help the Almighty Baidu, a bit enthusiastic users refer to the article, said that as long become an independent publication can be solved, but my problem is not with.
Look wave error page, probably know of ASP.net Core inside the exe program not up and running. Depending on the error retrieving step prompts to view the wave of the system log, system log in to view the general server management tool which will be able to see an open, or Right My Computer -> Administration -> Event Viewer to see there, see the following two errors.
Here Insert Picture Description

Then there is the code probably guessed by the Kestrel, and Kestrel failed to start due. The sites on IIS to disable, and then directly open the run xxx.exe released, try to access, you can find access. Determining the code no problem, there may be a reverse proxy and the IIS code of Kestrel server there is a conflict in the Advanced Settings page of the application thread pool to load a user configuration settings to True. My problem is solved.

Reference article
https://www.cnblogs.com/hoyu/archive/2018/03/06/8514243.html

Published 15 original articles · won praise 2 · Views 4866

Guess you like

Origin blog.csdn.net/weixin_38138153/article/details/84203083