1

I have created a .net core 3.1.0 app and deployed it in IIS. I have installed web server hosting bundle 3.1.16. In IIS modules, I can see AspNetCoreModuleV2 and web.config also aspnetcore module is AspNetCoreModuleV2 and hostingmodel is inprocess. enter image description here enter image description here But the app is not running and it's showing 500.19 error. enter image description here If I install web server hosting bundle 1.0.16, it will resolve the problem. But as per my understanding, hosting bundle 1.x version is only needed for .net core 1.x apps. Could anyone please help me to understand this issue?

2
  • Have you installed Microsoft .NET Core X - Windows Server Hosting correctly? Commented Nov 19, 2021 at 6:19
  • Yes installed Microsoft .NET Core 3.1.16 windows server hosting. But I need to install Microsoft .NET Core 1.0.16 windows server hosting bundle also to work my 3.1 app Commented Nov 19, 2021 at 16:18

1 Answer 1

1

The issue was I was already installed 1.X hosting bundle and also installed 3.x hosting bundle. Then I uninstalled 1.x version. After that my app was not working. Then I uninstalled 3.x version and installed 3.x again. It resolved my problem.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! Similar issue for me (NET 2.x/ANCM V1 -> NET 8/ANCM V2). After ensuring that the app is now using ANCM V2, it would not run anymore after uninstalling ANCM V1. However, "repairing" the NET 8 Hosting Bundle fixed the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.