- Plesk Onyx for Windows
Unable to open website with the following error:
PLESK_INFO: HTTP Error 502.5 error.
PLESK_INFO: An error occurred while starting the application.
In Event Viewer, the error below is shown:
CONFIG_TEXT: Application 'MACHINE/WEBROOT/APPHOST/example.com/httpdocs' with physical root 'C:\Inetpub\vhosts\example.com\httpdocs\' failed to start process with commandline '"C:\Program Files\dotnet\dotnet.exe" .\Web.dll', ErrorCode = '0x80004005 : 80008083.
An application was imported from another server where it is working correctly.
Incorrect version of ASP.NET Core on the Plesk server.
Log in to the server via RDP.
Open a web.config file of the domain %plesk_vhosts%\example.com\httpdocs.
Change "stdoutLogEnabled="true"" parameter to enable log files, and set the log file path parameter
- Set permissions for an application pool user (if he does not have it): he should be able to access and write to
Open log and find the exact error message:
PLESK_INFO: The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found.
- Check application dependencies and target a framework version installed at:
- The following versions are installed:
- Alternatively, install the framework version '1.1.2'
If there is no output in the log file, open command line and execute the following command:
C:\> "C:\Program Files\dotnet\dotnet.exe" C:\Inetpub\vhosts\example.com\Web.dll
Install ASP.NET Core 1.1.2 version from here.
Note: Of other errors appear, contact a website developer for further troubleshooting.