دریافت خطاهای وب سایت.
Global.asax
protected void Application_Error(object sender, EventArgs e)
protected
void
Application_Error(
object
sender, EventArgs e)
{
Exception objErr = Server.GetLastError().GetBaseException();
string err = "Adress Error : " + Request.Url.ToString() +
string
err =
"Adress Error : "
+ Request.Url.ToString() +
"\n Type Message Error : " + objErr.Message.ToString() +
"\n Type Message Error : "
+ objErr.Message.ToString() +
"\n Stack Trace : " + objErr.StackTrace.ToString();
"\n Stack Trace : "
+ objErr.StackTrace.ToString();
}
چند خطا
string ff ="111111111111111111111111111111111111111111";
int a = int.Parse(ff);
آزادی و استقلال؛ در عبور از استبداد و استعمار
در فیسبوک