The basic 404 error or file not found page serves two specific purposes. Firstly, to alert the user that the item they were expecting is
not currently available. Secondly, to alert the
webmaster that a file is missing or a link is targeting something incorrectly. In order to provide users with a page that will show up
whenever a 404 error occurs you need to change the settings on your web server to target a specific page or contact your hosting company to do this for you. Once setup, the location of any file that is requested and not found in the server will be made available as a query string value and can be outputted as a message to the webmaster. Sending a message to the webmaster can be done a number of ways this example demonstrates the use of CDONTS....
Everyone has seen an HTTP 404 error at some point. You follow a link on a web page, and BOOM - File not found. Perhaps the author spelt it incorrectly, or the page was uploaded to the server by mistake. This tutorial`ll show you how to handle this 404 error gracefully by displaying your custom error page, and send an email to yourself so the problem gets fixed.... Tags:
The author writes "It is important to know what is going on with your site in development and production. By implementing proper error logging, you can quickly track down errors, and provide your team members with enhanced error information." This tutorial describes how to create a simple and effective logging system using the new ASP Error object....
This example demonstrates how to serve a custom page to users whenever a 404 error occurs as well as log the user info such as ip, referer, request, agent into a database....
Here you will find an error class called CError that allows you to display a custom dialog box with the option to have a detailed message, a general message, and log the error in a file for later reference. Also uses some JavaScript and DHTML to allow the user to drag the dialog box around.... Tags:
Unexpected errors can stop programs and your application coul be down immadiately. But `On Error Resume Next` funtcion help you to avoid to stop unexpected errors on code. All you need to put this code after a code block....
Problems and coding syntax mistales can been in every serverside application. Security of application is very important. You should need to understand what`s going wrong in deep of an apllication. This sample of code is an easy to use an error handling message writer. ....
While redirecting from a page in asp we get a very common error: The HTTP headers are already written to the client browser. Response object error `ASP 0156 : 80004005
Header Error
/test.asp, line 135
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
The Redirect method of the Response object operates by sending the 302 Object Moved response header,... Tags:
ASP.NET is more easier than other development technologies and languages. While working on asp.net platform, you may access to system windows event log. Using System namespace you retrieve messages....