.NET 5 website requires two hosting bundles?

46 Views Asked by At

I have a .NET 5 website. In one (just one) environment it won't run unless I have both the .NET 5 and .NET Core 2.1.15 hosting bundles installed. If I remove either hosting bundle (but leave the runtimes), I get error:

HTTP Error 500.19 - Internal Server Error

I don't know what the error is as it does not appear in the Windows Event viewer, and nothing appears in the IIS log file.

I do note that in the IIS manager if I click on the website, and double click "Logging", that I see the following error if .NET Core 2.1.15 hosting bundle is not installed (but works as expected otherwise):

There was an error while performing this operation. Details: Filename: \?\D:\www\web.config Error:

0

There are 0 best solutions below