KB0042 - HTTP Error 500.19 - internal server error 0x8007000d

KB0042 - HTTP Error 500.19 - internal server error 0x8007000d

Problem

When trying to browse your instance of PowerShell Universal (running on IIS under Windows Server via the ZIP install of PowerShell Universal [1] ) you receive  HTTP Error 500.19 - Internal Server Error  with error code  0x8007000d



Cause

You may have installed the wrong .NET setup file or overlooked installing it[2]

Solution

Be sure that you installed the current version of the recommended "Hosting Bundle" from the ASP .NET Core Hosting Bundle (currently 7.x) per the documentation[3]

(figure shows the setup screen of the correct installer)


(figure shows how the ASP .NET Core Hosting Bundle should appear in the Server's Control Panel)

Always be sure to reboot the server after installing the hosting bundle

Reference