How to fix: IIS Error: ios_base:failbit set: iostream error.

Sat May 01 2021

Eric Thomas D. Cabigting

Installing a .net 5 application into IIS and you might have run into something like this:

Here are the steps to check:

  • Check if the folder has permission for IUSR
  • Check if the latest windows hosting bundle for the .net version is installed
  • Finally restart the windows server
  • Everything should be working!
Let's Connect

Hey! My inbox is always free! Currently looking for new opportunities. Email me even just to say Hi! or if you have questions! I will get back to you as soon as possible!

Github IconLinkedin icon