Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#

 
 
Where to Find the Error Description, Error Log Files for Asp.Net Core Applications on Windows Server 2016 with IIS 10, 8.5
 
When I publish my application to the Windows IIS Internet Information Server, the error http Error 502.5 Process Failure appears.
Where can I find an indication on the server why the application can not be started?

 
To do this, switch to Windows-> Start-> Event Viewer in Windows Server

 
Application
Then you will find the detailed error descriptions under:
Event Viewer (local) -> Windows Logs-> Application
Then wait for the ad to build (takes a few seconds)
Click on the error at Error and read the description in details

 
The errors of the Kestrel server core are displayed, which are passed from the IIS server to the core server.
 
 
Error message in the browser:

HTTP Error 502.5 - Process Failure

Common causes of this issue:

  • The application process failed to start
  • The application process started but then stopped
  • The application process started but failed to listen on the configured port

Troubleshooting steps:

  • Check the system event log for error messages
  • Enable logging the application process' stdout messages
  • Attach a debugger to the application process and inspect

 
 
Error messages:
In the EventViewer

Application 'MACHINE/WEBROOT/APPHOST/ASPCORE2_02' with physical root 'C:\_Daten\_web\AspCore2_02\' failed to start process with commandline 'dotnet .\AspCore2_01.dll', ErrorCode = '0x80004005 : 8000808c.

 
warning:

Could not create stdoutLogFile \\?\C:\_Daten\_web\AspCore2_02\logs\stdout_3928_20184188247.log, ErrorCode = -2147024893.

 
Aspnetcore hosting at:
[Lnk "http://aka.ms/dotnetcore-2-windowshosting" /]
 
Mobile
»
Kestrel web server Asp.Net Core 2 MVC hangs
»
Asp Net Core MVC: Login failed for user IIS APPPOOL \ Readdy
»
Error message: An assembly specified in the application dependencies manifest was not found
»
Asp Core Error: Could not create stdoutLogFile
»
Finding bugs in Asp.Net Core 2 MVC applications.

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de