How to create/Configure Error page in asp.net web application
When any error was occurred into our asp.net web application it is require that client doesn't know about this error. At that time we need to implement error page redirection and the error details are directly sent to Website administrator vie email.
Error Page Creation Steps
Step 1 – Create Global.asax file into your project and write following code into “Application_Error”
if (Application["actualerrorpage"].ToString().IndexOf("Validation of viewstate MAC failed") <= 0 && Application["errorurl"].ToString().IndexOf("ScriptResource.axd") <= 0 && Application["errorurl"].ToString().IndexOf("WebResource.axd") <= 0 && Application["actualerrorpage"].ToString().IndexOf("The state information is invalid for this page and might be corrupted") <= 0)
MailToSendSite("ToEmail", "Error in Your Site Name", "ToEmail", mbody.ToString(), null, null, "HostName", "FromEmail", "EmailPassword");
I blew-up my Linux server yesterday which runs Homebridge, by updating NodeJs from 12.x to 14.x! Whoops! What a mess, even trying to demangle and get working again! BUT Veeam Backup and Replication to the Rescue. with a feature, I've not used before
Why restore the VM, when you can just restore the changed blocks! and rollback the changes in the VM OS! from a backup!
first time I've used this function, and now my Homebridge server is working again!
Topics cover everything from those justarting out to advanced techniques. This webinars are free to join and recordings are made available afterwards, so if you missed one that interested you, you can still get some valuable info. Enjoy!