i have site build on windows server and aspx pages calling from database .. how can i redirect to 404 page ?
You can set CustomError to On in web.config and give the name of the aspx file to redirect to when server gets 404 error.