- 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.
Sometimes the following warning also could appear in Event Viewer:
CONFIG_TEXT: Warning: Could not create stdoutLogFile \?\C:\Inetpub\vhosts\example.com\httpdocs\logs\stdout_5628_201892234319.log, ErrorCode = -2147024893.
An application was imported from another server where it is working correctly.
The application is built with .NET Core version which is not installed on the Plesk server.
Connect in to the server via RDP.
Open a web.config file of the domain
stdoutLogEnabledvalue as following in order to enable log files:
Set the log file path parameter as below:
Assign permissions for an Application Pool's user (if user does not have it): user should be able to Read, Execute and Write to directory
Open Windows explorer and find directory "
Right click on directory icon, click "Properties", find "Security" tab and click "Advanced"
Assign permissions to directory and its contents so as a result Application Pool's user has "Read", "Execute", "Write" permissions
Note: username for Application Pool user usually looks like "IWPG_example.com" You can find user of Application Pool using following steps:
- Press keys "Windows" + "R" to open "Run..." window
- Type inetmgr.exe to start IIS manager
- Navigate to the tab server_name > Application pools > find the pool of website and look at "identity" column
Open log and read the exact text of 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" %plesk_vhosts%\example.com\Web.dll
Install ASP.NET Core 1.1.2 version from here.
Note: If other errors appear, contact a website developer for further troubleshooting.