Saturday, March 14, 2020

ASP.NET Core - The requested page cannot be accessed because the related configuration data for the page is invalid

Scenario:

You have installed the .NET Core SDK in your computer. Debugs in the Visual Studio are working fine. Then you publish the solution to a folder location in IIS. Then you get the below error:

Error:

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

HTTP Internal Server Error 500.19

Error code 0x8007000d

Fix:

Install the Windows hosting bundle from this link: https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.1-windows-hosting-bundle-installer

[Note: The version 3.1.1 is current as of this writing]

Installation:



VoilĂ  !! Your ASP.NET Core application starts to work in IIS

No comments:

Post a Comment