Troubleshooting an ASP .NET Application
Error Handling
-
Error handling is a collection of techniques that allow you to
identify errors
in your code.
-
Many errors are caused by incorrect syntax or spelling errors.
-
These are easily handled by Visual Studio .NET's intellisense
feature.
-
To handle errors that arise in execution, you can write code
that interprets error
messages and that executes when an error is detected, and generates custom
error messages and global error handlers.
The final web pages should appear as follows:
ch10Home.aspx
catMenuList.aspx
CustomError.aspx Error404.aspx