title: Response.TrySkipIisCustomErrors not working
body: <p>I have a page where i want the page to return a 404 response but remain on that page. Please don't ask why - the client wants it that way even after i discussed it with him. </p>
  
  <p>I've got a .net page written in C# running under iis 8 and the app pool is configured to run under 4.0 integrated mode</p>
  
  <p>When i set the statuscode to 404 in the page, it gets sent to the custom 404 error page that's set up for this site. After googling i found another post on SO mention using Response.TrySkipIisCustomErrors. From what i read it sounds like it's exactly what i need. I tried setting it to true and it had no effect in the behavior of the page - still get sent to the customer 404 error page that's setup in iis.</p>
  
  <p>Anyone have any ideas why this isn't working?</p>