Symptom

After PowerServer API application is deployed to IIS, users see 500.19 error as shown below when accessing any API from a browser.

Error message:

Server Error in Application "application name"

HTTP Error 500.19 – Internal Server Error

HRESULT: 0x8007000d

Description of HRESULT

The requested page cannot be accessed because the related configuration data for the page is invalid.


Environment 

PowerServer 2021


Cause

For most of PowerServer users, this is because they haven’t installed .NET Core 3.1 Hosting Bundle, which includes the .NET Runtime and IIS support.


Resolution

1. Download and install ASP.NET Core Hosting Bundle 3.1 from https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-3.1.13-windows-hosting-bundle-installer

2. If installing ASP.NET Core Hosting Bundle 3.1 doesn’t solve the issue, you can refer to the description about the 500.19 error in the following Microsoft documentation:

https://docs.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-error-500-19-webpage


 

0
0