Hi TransBind
you can use IIS management to define your 404 page, as seen in the image,
you go to IIS, right click on the website --> go to properties --> Custom errors tab and change
or if you want to control it programmbly, you can use HTTP Handlers and HTTP Modules in ASP.NET
check out these links
http://www.15seconds.com/issue/020417.htmhttp://www.csharpfriends.com/Articles/getArticle.aspx?articleID=392http://www.developerfusion.com/article/4643/implementing-http-handlers-in-aspnet/read about HTTP Handlers and HTTP Modules in ASP.NET or google it and you will find alot of resources