Earlier today we experienced a YSOD on one of our MVC sites running on IIS on Windows Server 2003.
Usually, these are reported via e-mail using ELMAH (using this setup), but since this was a compilation issue (of some sort), it did not get reported via e-mail.
The specific error was:
"The directory 'App_GlobalResources' is not allowed because the application is precompiled."
This is a major problem, since a potential customer could notice the problem before we do. How can we make sure these YSODs are logged, when the exception handler on the site is not called?
A Yellow Screen of Death occurs when an ASP.NET web app encounters a problem and crashes.
Night Light is a Windows 10 feature that tints the screen a warm color i.e., yellow or orange. It is meant to protect users from the bright white/blue of the screen. Open the Settings app (Win+I keyboard shortcut). Go to System>Display. Turn the Night Light switch off.
It is possible to monitor the event log with VBScript. You could then email this when it occurs:
Here's an example:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/feb07/hey0226.mspx and email from vbscript: http://www.paulsadowski.com/WSH/cdo.htm
You could do this with powershell and/or another .net app on the box also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With