I blew away everything (again): website, folders, permissions, everything.
I uninstalled the DotNet Core 2.2 hosting package, rebooted server, reinstalled it and verified that it is installed perfectly (Modules check first, then went into the system32, found the dll and verified it to be the correct one).
I re-published to a file and uploaded the NC 4.2 (mind you, NopCommerce 4.2 has not been altered in any way shape or form - verified this with WinMerge).
FYI: This was an upgrade from 4.1 to 4.2, the SQL upgrade script was run, all data/images/etc are identical! The site runs perfectly from Visual Studio 2017.
I changed the IUSR permissions to Modify where needed (web.config, AppData, images, bundles, etc)
I rebooted the server for good measure.
Same problem -static files are not served correctly (ARRGGGHH!!!)
example error:
The script from “https://www.____.com/lib/jquery/jquery-3.3.1.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type
I verified MIME types to be 100% correct. All other websites running on IIS are serving up static files just fine (dotnetcore 2.0, & 2.1, ASP.Net webforms, ASP.Net MVC all working just fine!)
In the browser development console, I can see many errors (all regarding javascript being served w/incorrect MIME type - which is a completely bogus error since I verified in IIS, that they are served as "TEXT/JAVASCRIPT" (If I could upload pictures to this forum, I could show screenshots)
If I try to just load favicon.ico, the BINARY is spit out onto the web page (instead of the icon)! WTF? DotNetCore 2.2 is completely ignoring the MIME types (which, is probably why nothing is working - only basic HTML is displayed)
I'm at a loss as to how to solve this.