Blank custom 404 page after deploying to IIS 7.5
问题 Incorrect urls like http://localhost:54321/foo/bar and errors like HttpNotFound() are handled in my localhost without problems. After deploying to IIS 7.5, it return a blank page on both of the above scenarios. I've seen someone else had this problem Here(It was the comment from Moulde with several upvotes). The code: Web.Config <system.web> <customErrors mode="Off" redirectMode="ResponseRedirect"> <error statusCode="404" redirect="~/Error/NotFound"/> </customErrors> </system.web> <httpErrors