Now I'm having the same on a subdomain, but the fix isn't working.
also when disabling and enabling ASP.NET support and as the fix suggested, the No managed code is reset in IIS --> result asp.net core 5.0 site crashes.
I got it working by:
first disabling asp.net support
enabling asp.net...