protected void Application_Error(object sender, EventArgs e) { // TODO: Log any unhandled exceptions Exception ex = Server.GetLastError(); }