Friends who are webmaking know that they often worry about their own web app errors, are there. In NET, you can use the email to report the error in the web application. If you can make full use of WebService, use foreign free sending mobile phone text messages for free SMS (I remember before, I don't know if there is anything), will Web The error message notification is not in front of the computer or is not in the company, is it very useful?
private void Application_Error (object sender, System.EventArgs e) {string strErrorMsg = "CSF Application Error / n / n"; strErrorMsg = "Error in Path:" Request.Path; strErrorMsg = "/ n / n Error Raw URL: " Request.Rawurl; Exception MyError = Server.getLastError (); StrerrorMsg =" / N / NERROR MESSAGE: MyError.Message; StrerrorSg = "/ N / NERROR SOURCE:" MyError.Source; strerrormsg = "/ N / NERROR Stack TRACE:" myerror.stacktrace; strerror m = "/ N / NERROR TARGETSITE:" myerror.targetsite; string stres = "Sample123@email123.com;"
// Call the Email component, there are many SENDMAILs on the Internet (stresf erroor ", strromsg);}