Problem:
I have a website which I am trying to host locally on Window 10 where CSS and JS not working and it is throwing 500: internal server error to load css and js files.
I have tried it on another server with different IIS version and it is working fine without any issue. but not working for IIS 10.
Solution I tried:
<system.webServer>
<staticContent>
<remove fileExtension=".ogg" />
<mimeMap fileExtension = ".ogg" mimeType = "audio / ogg" />
</staticContent>
</system.webServer>
and it resolved my issue but now audio is not available for .ogg files.