void Application_Error(object sender, EventArgs e) { ErrorLogging.AddException("Application_Error Caught!", Server.GetLastError().GetBaseException()); }