satyawan pisal

satyawan pisal

  • 1.9k
  • 139
  • 7.9k

Page transfer to "ccav.aspx" that time I got error

Dec 18 2020 1:29 AM
Error-
 
17 Dec 2020 21:59:00,950 [50928] ERROR ErrorLog - Thread was being aborted.
17 Dec 2020 21:59:00,950 [50928] ERROR ErrorLog -
17 Dec 2020 21:59:01,295 [50928] ERROR ErrorLog - at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.AbortCurrentThread()
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at System.Web.HttpServerUtility.Transfer(String path)
at customerdetails.btncheckout_click(Object sender, EventArgs e) in e:\..........\customerdetails.aspx.cs:line 1781
 
Code- 
 
if (done == 0)
{
}
else
{
details.Visible = true;
bindccdetails();
UpdatePanel2.Update();
Server.Transfer("~/ccav.aspx");   //  i got error here
}
}
else
{
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('Your Cart List Is Empty')", true);
}
}
}
catch (Exception ex)
{
logger.Error(ex.Message);
logger.Error(ex.InnerException);
logger.Error(ex.StackTrace);
}
}

Answers (1)