Resolve an Invalid Startup Configuration File
If a Startup Configuration File is detected when you launch a ViewX Client, the file is parsed and interpreted before the client opens. If it is determined that the XML code in the configuration file is invalid, the following notification will display:
When you select OK, the ViewX Client ignores the Startup Configuration File and opens normally.
To determine why the Startup Configuration File is invalid, you need to refer to the ViewX log file (see ViewX Logging). By default, this file is located in the following:
C:\ProgramData\Schneider Electric\ClearSCADA\Logs
Within the ViewX log file, information about the Startup Configuration File is timestamped and labeled with "[Startup]".
Example:
The text below is taken from the ViewX log file following an unsuccessful attempt to launch the ViewX client on a Multi-Monitor Setup.
2014-01-09 22:43:52.385 [01] [Startup] Error reading startup configuration file C:\ProgramData\Schneider Electric\ClearSCADA\StartupConfiguration.xml: An AlarmBannerMode of Full requires an explicit OpenInWindow value
The "[Startup]" label indicates that this information relates to the Startup Configuration File. The time stamp indicates when the last unsuccessful launch took place.
The log entry explains that the file is missing the "OpenInWindow" attribute, which is required when the Alarm Banner is set to run in Full mode.
To repair an invalid Startup Configuration File:
- Review the ViewX log file to determine why the file is invalid.
- Locate the Startup Configuration File (StartupConfiguration.xml) in the following directory:
C:\ProgramData\Schneider Electric\ClearSCADA
- Open the file in a standard XML editing tool.
- Make the required changes to the file.
- Close the ViewX client (if it is currently open).
- Start the ViewX Client again.
If further configuration issues are detected in the Startup Configuration File,repeat these steps until the XML code is valid.