K
Kris Meher
Hi
My code
Global.asax
Application_Start()
{
// Code
// There is possibility of Exception in above Code
}
Applicaton_Error()
{
// in the Redirect Page i m displying the Error Message
//from Server.GetLastError();
Server.Transfer("CapError.aspx");
}
My problem:-
For the "First" time when the application is loaded,
there is possible exception.
After encountring Exception the Asp.net is executing
Application_Erorr().
But the page is "not" Transfering to CapError.aspx.
(I tried with Response.Redirect as well)
I didnt touch WebConfig file.
Could some one please help me out.
Thanks
Kris
My code
Global.asax
Application_Start()
{
// Code
// There is possibility of Exception in above Code
}
Applicaton_Error()
{
// in the Redirect Page i m displying the Error Message
//from Server.GetLastError();
Server.Transfer("CapError.aspx");
}
My problem:-
For the "First" time when the application is loaded,
there is possible exception.
After encountring Exception the Asp.net is executing
Application_Erorr().
But the page is "not" Transfering to CapError.aspx.
(I tried with Response.Redirect as well)
I didnt touch WebConfig file.
Could some one please help me out.
Thanks
Kris