Posted on: 1/31/2015 1:34:57 AM | Views : 528

Hello I have application which I have deployed on production. I have handled errors on Global.asax File
void Application_Error(object sender, EventArgs e) { Exception ex = Server.GetLastError().GetBaseException(); if (ex != null) { TBErrorsModel err = new TBErrorsModel(); err.ErrorMessage = ex.Message.ToString(); err.ErrorStackTrace = ex.StackTrace.ToString(); err.data = ex.Data.ToString(); err.source = ex.Source.ToString(); err.targetSite = ex.TargetSite.ToString(); int rowAffected = TBErrorsController.Insert(err); } } Now I get all the information But I cant get exact Page and exact Function name which causes the error. Please any one has idea how to find exact location of error?

Go to the complete details ...