By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,281 Members | 2,201 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,281 IT Pros & Developers. It's quick & easy.

redirect to my custom error page

P: n/a
Hi friends,

I have implemented custom error handling at page level and application
level. If there is any syntax error in my aspx class file it will redirect
to error page when I run the page. But if any syntax error in my component
class (Code dir) it will not redirect to my custom error page. Is there any
way that will redirect to my custome error page in case of all type of
compile time error and runt time error anywhere in my application.

Thanks

-Mukund

--

----------------------------------------------------------------
Mukund Patel
Sr. Software Engineer
IntraAction Software
Ahmedabad, India
PH: 9426501727
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
in Global.asax Application_Error event and do a redirect from there.

hth,
Av.
http://dotnetjunkies.com/WebLog/avnrao
http://www28.brinkster.com/avdotnet
"Mukund Patel" <mu****@intraactionsoftware.com> wrote in message
news:O$**************@TK2MSFTNGP14.phx.gbl...
Hi friends,

I have implemented custom error handling at page level and application
level. If there is any syntax error in my aspx class file it will redirect
to error page when I run the page. But if any syntax error in my component
class (Code dir) it will not redirect to my custom error page. Is there any way that will redirect to my custome error page in case of all type of
compile time error and runt time error anywhere in my application.

Thanks

-Mukund

--

----------------------------------------------------------------
Mukund Patel
Sr. Software Engineer
IntraAction Software
Ahmedabad, India
PH: 9426501727

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.