I am using visual studio 2022, wasm + hosted site project, the default boiler plate. I am publishing it to iis server and i get the following error.

I am clueless as why such an error is occuring. I can see the file doenet.timezones.blat in the framework folder but unable to browse in the browser. I get

Has some one hosted the blazor application in the IIS server manually? I am banging my head with this error and I could not get past it. Kindly help
After a lot of trying, I found that .blat and .dat extensions were missing in the MIME types so I did the following:
Open the IIS Manager, Click on the machine name(root dir) Right side click on MIME type and add the following values


and voila ! the error disappeared. I really sweated it out, i dont want others to suffer the same frustration i went through!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With