Symptoms
- Website hosted at Plesk or Websites & Domains > example.com > Website Preview shows the following error:
HTTP Error 500.21 - Internal Server Error
Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
- After starting the Failed Requests Tracing in Plesk at Domains > example.com, the following traces can be found:
Warning -MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName AspNetCoreModuleV2
Notification EXECUTE_REQUEST_HANDLER
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode The operation completed successfully.
Cause
Missing .Net Core version 2.2 required.
Resolution
-
Connect to the server via RDP.
-
Install the required version 2.2 manually using the installer downloaded from the .NET Core website.
Additional step that helped in particular case: set the Let’s encrypt certificate in Hosting Settings of the domain:
