add error handling page to project
-
i want to know where do i have to make changes in order to add complile error hanle page? i have created a page and i want to put it in project. what do i do for it to be working? thank you
You want a page to handle compiler errors? Your site won't run if you have a compile error! In the event you actually mean something else - add the file to your project by right-clicking on the project & selecting "Add Existing Item...", browse for file & add it. Then add a Global.asax file to the project (assuming you don't already have one). Inside the AppilcationError event of the Global.asax file add code to handle your error & redirect to your error page as required.
I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.
• • •
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson