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

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.


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

Aspnetcore hosting at:
[Lnk "" /]
Asp.Net C #: Optional parameters in method
Asp.Net C #: Bool zero to bool
C#: Add Item to Array or List
C#: Split String into single Words String-Array
C#: Convert TimeSpan in Units of time, Seconds, Minutes
C#: convert var to int.
C#: Convert Var to Int
C#: line break in the code line new line
C#: Short Code in one line: result from if - else- then
How may you replace the word: this in a global static method?


Contact for Jobs, Project Requests: