How can i make my page, not to show error?
-
Hi. In my webapplication, i never handle errors by try catch (my code language is c#). But I handle all errors in PageError and Applicationerror events. But after handling them, I want to show my message in another page. I do that on this way: Response.Write("window.open('errorpage.aspx')"); But I have a problem. On this way, the first page shows the exception and the code which error was raised. But I want to show the original page, because I show my message in another page. Please offer my method to do the way which I want to handle my errors. Thanks Rastgar
-
Hi. In my webapplication, i never handle errors by try catch (my code language is c#). But I handle all errors in PageError and Applicationerror events. But after handling them, I want to show my message in another page. I do that on this way: Response.Write("window.open('errorpage.aspx')"); But I have a problem. On this way, the first page shows the exception and the code which error was raised. But I want to show the original page, because I show my message in another page. Please offer my method to do the way which I want to handle my errors. Thanks Rastgar
-
Hi. In my webapplication, i never handle errors by try catch (my code language is c#). But I handle all errors in PageError and Applicationerror events. But after handling them, I want to show my message in another page. I do that on this way: Response.Write("window.open('errorpage.aspx')"); But I have a problem. On this way, the first page shows the exception and the code which error was raised. But I want to show the original page, because I show my message in another page. Please offer my method to do the way which I want to handle my errors. Thanks Rastgar
m.rastgar wrote:
Please offer my method to do the way which I want to handle my errors.
Debug and eliminate them, then they won't show up and you won't have to worry about displaying them.
only two letters away from being an asset
-
m.rastgar wrote:
Please offer my method to do the way which I want to handle my errors.
Debug and eliminate them, then they won't show up and you won't have to worry about displaying them.
only two letters away from being an asset
Mark Nischalke wrote:
Debug and eliminate them
And how exactly do you debug and eliminate Natwork outages, timeouts (except raising the script timeout to an unusually high number) or any number of other exceptions that can happen during the ongoing usage of any application?
-
Mark Nischalke wrote:
Debug and eliminate them
And how exactly do you debug and eliminate Natwork outages, timeouts (except raising the script timeout to an unusually high number) or any number of other exceptions that can happen during the ongoing usage of any application?
Seriously, if those of you posting here are employed as programmers then I should become a consultant so I can get paid $$$ to clean up all the mess you all are inevitably creating. If your not going to use try catch blocks, at least use an error handling class.
-
Seriously, if those of you posting here are employed as programmers then I should become a consultant so I can get paid $$$ to clean up all the mess you all are inevitably creating. If your not going to use try catch blocks, at least use an error handling class.
Hey, me first on the clean up gig, I posted first.:-D
only two letters away from being an asset
-
Seriously, if those of you posting here are employed as programmers then I should become a consultant so I can get paid $$$ to clean up all the mess you all are inevitably creating. If your not going to use try catch blocks, at least use an error handling class.
-
m.rastgar wrote:
Please offer my method to do the way which I want to handle my errors.
Debug and eliminate them, then they won't show up and you won't have to worry about displaying them.
only two letters away from being an asset