Turn off IIS8 custom errors

Published on 2022-08-17 by Raul

Since IIS8, it's not enough to change customErrors=Off to show the error content. There's an extra step to accomplish.

So, here's the changes you  need to make to your web.config to show the errors:

   <customErrors mode="Off" />
   <httpErrors existingResponse="PassThrough" errorMode="Detailed">


Keep in touch


Hey there, I'm Raul, owner of CreativeCLR, a small consulting company.

Feel free to drop me any question you might have on this post using the comment section or the contact page.