Posted By

housecor on 09/08/10


Tagged

404


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

galofre
franksmile0310
Tyster


show 404 page


 / Published in: C#
 

This will only show when you're remote unless you have web.config setup to show customerrors locally.

  1. throw new HttpException(404, "File not Found");

Report this snippet  

You need to login to post a comment.