.net - Error when I run the new Installer file of an Application i created in C# -


I have created the C # installer application. When I try to run a desktop application, it is throwing exception and I I am not able to get any value in the combo box (although the rest of the code works well). The code runs fine when it is run through Visual Studio 2010. Here are the different exceptions, when I click on the icon. Can anyone provide some support as to why I am getting this?

  For information on end of this message, look at the JUST-in-Time (JIT) debugging application instead of this dialog box. ************** Exception Text **************************************************************************************** System.Globalization.CultureNotFoundException: Culture is not supported Parameter Name: name ????? A valid culture identifier System.Globalization.CultureInfo..ctor (string name SampleResourceBundle.Loginpage.Form1_Load, Boolean useUserOverride) on System.Globalization.CultureInfo..ctor (String name) on SampleResourceBundle.Loginpage.fillAppLangueCombo () (object sender , EventArgs e) at System.Windows.Forms.Form.OnLoad (EventArgs e) (on SystemkWindowskFormskFormkOnCreateControl) (System.Windows.Forms.Control.CreateControl on System.Windows.Forms.Control.CreateControl Boolean fIgnoreVisible) on () SystemkWindowskFormskControlkWmShowWindow (Send System.Windows in & amp; m) & amp ;; m (message System.Windows.Forms.Control.WndProc system). Forms.ScrollableControl.WindProc (M-Message &) In WindowskFormskContainerControlkWndProc (Message & amp; M) in (message System.Windows.Forms.Form.WmShowWindow & amp; M) in (message System.Windows.Forms.Form.WndProc & amp; M ) in KControlNativeWindowkOnMessage (message System.Windows.Forms.Control & amp; m) in (message System.Windows.Forms.Control.ControlNativeWindow.WndProc & amp; m) system. Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 message, IntPtr wParam, IntPtr lParam) loaded ************** meetings ************* Text  post  postproperty >   

Problem : language supported by CultureInfo Is your operating system

Test .

  1. Goto AppData folder in user settings.
  2. Locate the application folder and find the User.config file.
  3. For example, modify any common language in the value of properties.Settings.Default.LastCulture in XML. "En-GB"
  4. Test Execution.

    Solution : Download Language Pack for Your Operating System

    Windows 7 Language Pack can be found here :

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -