Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Installation of .NET Core 2.1 on a web server

07.11.2018 (👁45930)


 

Problem:

If you upload a new web page with Asp.Net Core 2.1 to a web server and try to start it, then first an error message 502.5 appears on the web server.

HTTP Error 502.5 - Process Failure

In the logs / log files of the Asp.Net Core 2.1 application you will find the message:

Alternatively, install the framework version '2.1.5'.

 

Solution:

You have to download the following package on the webserver and just start it. Then the asp.net Core 2.1 application can be started directly in the IIS web server

Windows ->ASP.NET Core/.NET Core: [lnk:"Runtime & Hosting Bundle"/]

 

 

 

Documentation of the installation on the web server

 

Web server: Intel 64 bit

Operating system: Windows Server 2016 Standard

 

After uploading the Asp.Net Core 2.1 files to the IIS web server, the following error message appears when starting the web page

 

Error message in the website

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 message on IIS server

File: /logs/date.log Log file at startup

It was not possible to find any compatible framework version

The specified framework 'Microsoft.NETCore.App', version '2.1.5' was not found.

  - Check application dependencies and target a framework version installed at:

      \

  - Alternatively, install the framework version '2.1.5'.

 

 

Installation of Asp.Net Core Hosting on the web server

Subject: Productive web server

 

To install the Core 2.1 Runtime environment on a productive web server running Microsoft IIS Internet Information Server, you need to install the Runtime and Hosting Bundle version.

Simply open the following link with the download of the hosting version, download the package and install. Then stop this web page with asp core 2.1 and higher on the IIS web server and start again.

 

Then on the link

[Lnk "https://www.microsoft.com/net/download/dotnet-core/2.1" /]

.NET Core 2.1 downloads

Under-> Run apps - Runtime

Windows -> ASP.NET Core / .NET Core: Runtime & Hosting Bundle

 

Installation on the web server

In my experience, you can install the Microsoft .NET Core 2.1.5 Windows Server Hosting while running.

 

Restart on the IIS server

If you then stop the Web server on the web server and restarted, then the asp.net core 2.1 application should run again

 

Thereafter, opening the web page should work on the web server as well as on a desktop client.

Open on the web server with browse website. Here error messages are displayed rather than on a normal desktop