I recently had an issue where a kiosk application I was developing would crash on a Windows Embedded 7 system, if the user clicked on a PasswordBox control. Annoyingly, I couldn’t replicate this in my test environment.
The Application would crash, and frustratingly, not actually hit any of my Error Handlers. However, the Windows Application Event Log shined a little more on the issue, returning the following;
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unrecoverable system error.
at MS.Internal.Invariant.FailFast(System.String, System.String)
After doing some digging around, I found that I wasn’t the only person that this had happened to;
Where the final post by Brendave suggested installing the following fonts on the machine;
- Arial (TrueType)
- Courier New (TrueType)
- Times New Roman (TrueType)
I couldn’t actually find Marlette on my system, so didn’t copy this one, and I also assumed that if it was working ok on my system anyway, then chances were this Font being missing wasn’t the issue.
After installing these fonts, magically the issue was solved.