Re: 200 status code returned for IIS 404 error page
I found the answer to my problem. As has been pointed out, HTML files can't run the code to set the status code. I changed the httpErrors defaultResponseMode to "File", and that took care of it. Here...
View ArticleRe: 200 status code returned for IIS 404 error page
WilliamSnell I get the 404.html error page, but with a 200 status code. By default .html pages do not execute ASP.NET code. IIS will simply return the requested page to the requester with a status of...
View ArticleRe: 200 status code returned for IIS 404 error page
So what you are saying is if you enter a url for a page that does not exist.http://mydomain.com/nopage.aspxYou get a 404 page with a 404 status.The next bit I need to clarify. when you enter something...
View Article200 status code returned for IIS 404 error page
In my application I've set up the following pages:404.aspx 404.html 500.aspx 500.html In the aspx pages, I have a line like this to return the correct status code:<% Response.StatusCode =...
View Article
More Pages to Explore .....