I see runtime errors in the local language of windows that are annoying (Figure below). I changed the regional settings to English from the Windows settings, as well as the international language from the settings of the Visual Studio environment, also added the globalization uiCulture="en-US" to web.config , but still failed if there is something that I donβt see?
uiCulture="en-US"
web.config
ok found that the solution just added the lines below to application_error in global.asax
Thread.CurrentThread.CurrentCulture = new CultureInfo ("en-us"); Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
Just in case, you come across localized messages and look for the original error message: you can use the service on unlocalize.com to translate back:
http://www.unlocalize.com/SearchResults.aspx?search=Uygulamas%C4%B1nda+Sunucu+Hatas%C4%B1
I think the problem is with the IIS configuration, it was not installed in English Windows, and the English error page did not have this.
See you
Perhaps your browser requests a non-English page by default? What happens if you change the default language, say, in IE? You can find the settings under Options> General> Languages.
Source: https://habr.com/ru/post/886804/More articles:lisp: how to create a temporary specialization of a method within a scope - lispGet last command line argument in windows batch file - windowsDownload Quality - iphoneOracle pegging solution for DELETE problem - oracleHow to handle form closing event in vb.net - vb.netIntroduce a view controller that is half the size of the screen - iosHow do you handle multiple TPanel during development? - delphiHow to change @INC in Strawberry Perl? - perlPassing a List of Objects via querystring to MVC Controller - c #What is the iPhone equivalent of Android findViewById (int)? - androidAll Articles