A good way of handling a website exception is to mail it to the Administrator. The easiest way is to trap it in the Application level event (Application_Error event)and send an email with the exception Message ///<summary>///Handles all errors at the application level.///</summary> protected void Application_Error(Object sender, EventArgs e) { Exception ex = Server.GetLastError(); MailMessage msgMail = new MailMessage(); //Make this configurable in web.config msgMail.From = "autoadmin@sms.com"; //Make this configurable in web.config msgMail.To = "admin@sms.com"; msgMail.Subject = ex.Message.ToString (); msgMail.Body = ex.ToString (); msgMail.BodyFormat = MailFormat.Html; //Make this configurable in web.config SmtpmsgMail.SmtpServer = "localhost"; SmtpmsgMail.Send( mail ); }