Issue : UiPath studio fails to load with error message - “An unexpected error occurred while starting UiPath Studio. Unfortunately it needs to be closed.”
Error message in Studio logs - "An unexpected error occurred, shutting down the application | [TargetInvocationException] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Windows.Markup.XamlParseException: The invocation of the constructor on type ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ that matches the specified binding constraints threw an exception. —> System.TypeInitializationException: The type initializer for ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘System.Windows.Media.Fonts’ threw an exception. —> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1 —> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: "
Solution - This is an issue with windows patch KB4055002 which Microsoft has confirmed. This patch has impacted all the WPF applications. Please refer to link https://support.microsoft.com/en-us/help/4074906/typeinitializationexception-or-fileformatexception-error-in-wpf-apps-t
for more insight about the issue and solution.