When I deploy our application on server the i am gating issue like
System.IndexOutOfRangeException: Index was outside the bounds of the array.
But i am not gating that issue on my local system.This application also deploy on our local system,local system having working properly but server system having not working.
Help me
Web Application deploy on server?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Rahul BansalRank #143 · 15.9K reputationPosted May 15, 2015, 2:12 AM EDT
void Application_Error(object sender, EventArgs e)
{
Exception ex = Server.GetLastError();
Response.Write(ex.Data + "/" + ex.InnerException + "/" + ex.Source + "/");
Response.End();
}