Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

The following example's of error message appears can appear, when starting the CODESYS : The frame window couldn't be created The root element doesn't exist.Image RemovedDevelopment System is started:

Image Added    Image Added


This error indicates, that one or more needed .opt files are corrupted.
These opt files are imported when CODESYS is opened, and are related to saved user, project or other settings within the CODESYS Development System.

Solution

  1. First attempt:
    • Try to simply Restart the CODESYS Development System.
      Per default, CODESYS

...

    • will now replace the faulty data and started with the default settings.

  1. Second attempt (also, if this is mentioned in the message):

    ...

      • directly delete the following files:

    ...

        • C:\ProgramData\CODESYS

    ...

        • *.opt

    ...

        • C:\Users\\AppData\Roaming\CODESYS\CODESYS.opt

      • Restart the CODESYS Development System.CODESYS

    ...

      • will now be started with the default settings.

    ...


    Info

    If these steps do not solve the problem, please

    ...

    report this as a software bugs in the CODESYS Store:

    • Click on the "My Question" button next to the shopping cart symbol, and report your bug.