Windows Defaulting language to 'Unknown Language' Causing applications to crash on startup

4

1

Recently I've noticed that windows seems to be defaulting by system language for all applications to 'Unknown Language':

Language Bar

This is causing some applications to crash on startup. If I quickly change the language when the app is loading it starts fine. One example is Visual Studio, I have node js tools installed, when the node js tools extension loads it crashes taking Visual Studio with it - the error message indicates that it has a problem loading the culture:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Globalization.CultureNotFoundException
Stack:
   at System.Globalization.CultureData.GetCultureData(Int32, Boolean)

If I start in safe mode, close the node.js tools window, and then restart the application, it loads (showing '??' in the language bar). I can then change the language back to English and open the nodejs tools window fine. After this Visual Studio will open with English as the normal language until I restart my PC.

My list of installed languages only shows English US, which is also selected as my default language: enter image description here

Output of reg query "HKCU\Keyboard Layout" /s:

HKEY_CURRENT_USER\Keyboard Layout\Preload
1    REG_SZ    00000409

HKEY_CURRENT_USER\Keyboard Layout\Substitutes

HKEY_CURRENT_USER\Keyboard Layout\Toggle
    Hotkey    REG_SZ    1

How do I resolve this?

Brian Flynn

Posted 2014-12-22T05:24:46.767

Reputation: 43

Please edit your question and add output from next command reg query "HKCU\Keyboard Layout" /s

– JosefZ – 2014-12-22T23:24:43.960

Added reg query output - Looks fine to me, from what I can find on google 00000409 is the US English Keyboard. – Brian Flynn – 2014-12-23T03:17:10.750

Try sfc /scannow to check for system corruption. If nothing is found, boot in Safe mode and check if the problem still happens, to check if this is a Windows or application error.

– harrymc – 2015-01-05T08:31:57.400

Answers

3

Seems this can be caused by this:

http://edd.stefancamilleri.com/2013/11/25/asp-net-mvc-always-throws-a-system-globalization-culturenotfoundexception/

You could try to delete all files in this folder here:

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files"

Or here (x64):

"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files"

User0

Posted 2014-12-22T05:24:46.767

Reputation: 1 058

This makes no sense to me - but it works! Thanks @User0! – Brian Flynn – 2015-01-06T07:40:25.253