1- On visual studio 2019 and .net core 2.2, created a default web application and didn't change any thing on my project, just publish it.
2- Installed the same version of the run-time from this link and put publish folder on the IIS (Windows 10 X64 enterprise), port 5000.
3- On the IIS changed CLR version to "No Managed Code" and brows website but I got this error message:
HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information: Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x8007000d Config Error Config File \\? \C:\WebApplication1\WebApplication1\bin\Release\netcoreapp2.2\publish\web.config Requested URL http://localhost:5000/ Physical Path Logon Method Not yet determined Logon User Not yet determined
After looking for this error code "Error Code 0x8007000d" on this link I do not know what's the problem. Should I set a config or what?
Edited: This application works fine on visual studio
Install .NET Core 2.2 Runtime & Hosting Bundle for Windows and simply refresh your page. The error is caused because AspNetCoreModule is not installed in your PC.
You can read more about ASP.NET Core Module here.
User contributions licensed under CC BY-SA 3.0