PSMHealthCheck returns HTTP 500 error
95
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:59 PM
Symptom
Accessing https://<server>/psm/api/health returns the below error:
HTTP Error 500.0 -Internal Server Error Module "AspNetCOreModule" not found
Environment
12.2;12.4;12.3;12.5;12.6;12.7 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) PSM
IIS
Cause
The "aspnetcore.dll" file is missing under c:\windows\system32\inetsrv\ after reinstalling ".NET Core"
(version 2.0.3 -> 3.1.28).
Resolution
The issue can be resolved by the below steps
1: From IIS > Modules screen, delete AspNetCoreModule (code column: blank, module type: managed).
2: From IIS>Modules screen, register AspNetCoreModuleV2 (%ProgramFIles%\IIS\Asp.Net Core Module Module\V2\aspnetcore2.dll).