FORUM Forums Software CLS2SIM Software CLS2Sim is unable to save settings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3630
    Gregd
    Participant

    Windows 11 – up to date
    I tried to reinstall to different folders, run as admin, but every time I launch it – I get errors like below.

    Any suggestions? SW Ver. 5.6.2

    18.11.2023 at 01:27:47 Saving settings failed.
    18.11.2023 at 01:27:47 System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidCastException: Specified cast is not valid.
       at System.Xml.Serialization.XmlSerializationPrimitiveWriter.Write_int(Object o)
       at System.Xml.Serialization.XmlSerializer.SerializePrimitive(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces)
       at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
       --- End of inner exception stack trace ---
       at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
       at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o)
       at CLS2Sim.Model.Settings.Setting.Serialize()
       at CLS2Sim.Model.Settings.SettingsFile.Save(Stream stream)
    #3631
    Gregd
    Participant

    For all future strugglers:

    If you get an exception on settings load, it’s likely you have com0com installed and virtual ports like CNCA0, CNCB0. Remove a pair of CNC class ports and leave only COM1-10 in the com0com configurator. The app tries to parse the serial ports list but the regex expression only works for the basic scenario, so it will fail.

    If you get exceptions on settings save, set a value to the TCP server port, UDP server port. The form has no validation.

    P.S. The yoke is good. The software does work but is far from being Swiss-made.

    Cheers

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

BRUNNER Forum​

In the BRUNNER forum you will find various discussions on different topics, such as setup, software use or general questions and concerns. 

Discuss with forum mebers, share your knowledge and experience or find answers to frequently asked questions that are answered directly by our Brunner team.

Go to BRUNNER Forum.

BRUNNER Helpdesk​

Do you have questions about a product you have already purchased or are you facing technical issues? 

Check our FAQs for quick help. The most common questions or problems are described there, including instructions.

If you are still stuck, please contact our BRUNNER Helpdesk. Open a ticket here.

BRUNNER Simulation​

BRUNNER is a leading manufacturer of flight simulation devices for the professional as well as the enthusiast sector.

Unlike other manufacturers, Brunner offers a realistic flight experience with the help of Force Feedback Technology and Control Loading System.

Discover the BRUNNER Shop.

BRUNNER Simulation

Industriestrasse 27
8335 Hittnau


+41 (0)44 953 10 10
info@brunner-innovation.swiss

© 2023 BRUNNER Elektronik AG | Privacy Policy |  Legal notice