wlx.ini Open Bug

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #7799
    acra
    Member
    • Total Post: 16
    • Regular Joe
    • ★★

    Hi,

    When you try to open a wlx.ini file in ConfGen, I have come across a bug when there is an ‘=’ with nothing the other side of it – causes an unhandled exception crash.

    In my case, I had used ConfGen to create the file and used the ‘Change Admin Password’ field under Network -> Login.
    The password hash it generated ended in an ‘=’ sign – to get the file to open you then have to either remove the ‘=’ (changing the password) or comment out the line.

    The dialogue box gives you:

    Length cannot be less than zero.
    Parameter name: length.

    The options are ‘Details’ (see below), ‘Continue’ and ‘Quit’.
    Continue allows the program to run, but several fields appear to be unpopulated.

    The error code is as follows:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at Configuration_Generator.Ubuntu.Ubuntu_Read()
    at Configuration_Generator.Ubuntu.OpenToolStripMenuItem_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    Configuration Generator
    Assembly Version: 6.4.0.6
    Win32 Version: 6.4.0.06
    CodeBase: file:///C:/Users/led-a/Documents/Wyse/ConfGen/Configuration%20Generator.exe
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5458 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    Interop.MSXML2
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Users/led-a/Documents/Wyse/ConfGen/Interop.MSXML2.DLL
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:





    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Hope this is of some help to people!

    #23724
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    Thanks. I will check this and hopefully fix it.

    CG

    #23739
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    Hi, I have tested this and it is working for me.
    Here are my steps:
    – Open Confgen
    – Go to Suse – Network – Change Admin Password
    – entered “Demo”
    – generated the wlx.ini ( output was: ChangeAdminPassword=ZGVtbw==)
    – open the just created wlx.ini again

    No error, no issues. Tested with latest CG build 6.4.06

    CG

    #23775
    acra
    Member
    • Total Post: 16
    • Regular Joe
    • ★★

    Hi CG,

    Sorry, I should have been more specific – this is when generating an ini for Ubutuntu Linux – I’ve just tested and I can replicate my original issue using the password “Demo”.

    I also tested generating an ini for Suse, just incase, and the bug is not present for that version.

    If it helps, a Wyse representative also ran into the issue when troubleshooting – he blamed my config file initially!

    I am running build 6.4.06, but whilst testing I noticed there is another version out.
    Will report if the issue is present in that version.

    Cheers!

    EDIT:

    Just tested, bug still present in latest version (6.4.07).

    #23776
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    Yes, then I know what the issue is.
    Thanks for reporting. I will fix this in the next version.

    CG

    #23777
    acra
    Member
    • Total Post: 16
    • Regular Joe
    • ★★

    No worries, thanks for your quick response, glad to help!

    #23784
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    Fixed in 6.4.08.

    CG

    #23785
    acra
    Member
    • Total Post: 16
    • Regular Joe
    • ★★

    Great stuff CG, tested and working!

    You’re quick!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.