Troubleshooting
Why WinCC flexible 2008 closes with a version information error
Short answer
When WinCC flexible 2008 closes before the project selection with Reading version information failed followed by Root element is missing, the engineering system cannot read its own XML version information during AppLoader.Initialize(). Run Reset... from the tray icon and restart; if the exception returns, reinstall 2008, SP1 and HF3 with a restart after each layer; if projects then fail with an SQL error, delete the per-user WINCCFLEXEXPRESS folder. When an Office 2013 installation triggered the crash, settle the Office layer first.

On this page
- What the exception pair says
- Tell this crash apart from the other closes
- First repair: the reset from the tray icon
- Second repair: reinstall layer by layer
- The SQL error that follows: the WINCCFLEXEXPRESS folder
- When an Office 2013 install triggered it
- Worked example: recovering the reported 2008 SP1 HF3 machine
- The decision for each case
- Questions asked
WinCC flexible 2008 that closes during startup, before any project is opened, with Reading version information failed followed by Root element is missing is not a project problem: the engineering system cannot read its own XML version information while the loader runs, at VersionInformation.ReadVersionInformation() inside AppLoader.Initialize(). The repair order is fixed. Run Reset... from the SIMATIC WinCC flexible tray icon and restart; if the same exception pair returns, remove the installation completely and reinstall 2008, then SP1, then SP1 HF3 with a restart after each layer; if projects then fail with an SQL error, delete the per-user WINCCFLEXEXPRESS folder. When the first crash followed an Office 2013 installation, settle the Office layer before reinstalling WinCC flexible.
What the exception pair says #
The report is the engineering system's own automatically generated error report, and its header identifies the installation exactly. The reported machine printed WinCC flexible 2008 SP1 Advanced; K 1.03 ServicePack 1 Hotfix 3; K 1.3 SP 1 HF 3 (1.02.02), and above it the Windows line Professional Service Pack 2 6.0.6002.131072. Copy both lines into the record unchanged; do not shorten them to a service-pack level you believe is installed.
The chain is specific. First Siemens.Simatic.Hmi.Utah.SystemDiagnosis.SystemDiagnosisException with Reading version information failed, source SystemDiagnosis.DiagnosisClasses; beneath it System.Xml.XmlException with Root element is missing. The stack runs ReadVersionInformation(), then CheckVersionInformation(IContext context), then AppLoader.Initialize(String[] args, IContextCreatorCallback callback), then AppLoader.Run, then AppStarter.Main.
An XML reader raises that message when it reaches the end of its input without finding a document element: the version-information input is empty, truncated, unreadable, or not XML at all. This is installation data, not one of your project files, which is why the engineering system dies before the project selection appears and why the crash repeats on every start.
Tell this crash apart from the other closes #
- The engineering system closes during startup with the exception pair above, before any window you can work in: this failure, and the rest of this page applies.
- A project closes after an interrupted save or a save error: a different mechanism, covered in WinCC flexible 2008 closing a project after an interrupted save.
- The 2005 edition closing immediately after the splash screen: see WinCC flexible 2005 closing right after the splash screen.
- The runtime on the panel or PC closing without any message: see WinCC flexible 2008 SP5 runtime closing without a message; that is a runtime fault, not the engineering loader.
- A project conversion stopping early on a missing database: see a WinCC flexible migration failing at 9% on a missing SQL database.
- The engineering system starts, but creating or opening a project aborts with an SQL message: same machine, different stage. Go straight to the WINCCFLEXEXPRESS section below.
First repair: the reset from the tray icon #
- Close the engineering system.
- Right-click the SIMATIC WinCC flexible Start Center icon in the notification area, the tray. The menu that appears offers the reset, labelled
Reset...on the reported version; the documented reset behind it, Siemens support entry 36645252, runsHmies.exe -reset -newand returns the engineering system to the state it had right after the last installation. - Restart the computer, as that entry requires.
- Start the engineering system without opening a project.
Three outcomes, three moves:
- The normal user interface appears: test a new project before an existing one, then finish.
- The report still ends with the XML error: the reset did not restore the version-information input, so go to the reinstall. A reported Vista Ultimate 32 machine answered the reset with the identical error, which is why one failed attempt is enough to move on.
- Startup succeeds but the project test throws an SQL error: skip to the WINCCFLEXEXPRESS folder section.
The reset touches user settings, not installed files. That is why it is the first move, and why it cannot fix a damaged installation.
Second repair: reinstall layer by layer #
A plain uninstall-and-reinstall loop reproduced the failure in the reported case. What worked removed everything first, in this order:
- Uninstall WinCC flexible and each of its components one by one, then restart.
- Uninstall the SQL Server 2005 instance, then restart.
- Install WinCC flexible 2008, then restart.
- Install WinCC flexible 2008 SP1, then restart.
- Install WinCC flexible 2008 SP1 HF3, then restart.
Two rules hold the sequence together. Match the media to the installed product line; never apply a pack because its name resembles your level. And record every co-installed engineering package on the machine before removing anything, so the repair scope stays limited to WinCC flexible and its SQL instance. Where the installation CD offers a repair, run that repair first; one reported recovery repaired from the CD, applied the matching update packs in order with their restarts, and only then cleaned the SQL user data.
After one failed reset, commit to the reinstall. Do not run the reset a second time hoping for a different result.
The SQL error that follows: the WINCCFLEXEXPRESS folder #
When the engineering system starts but creating or opening a project aborts with an SQL error, the cause is the SQL Server 2005 Express user data: damaged, or no longer matching the installed instance. The remedy deletes that per-user data so the instance state is rebuilt fresh. %USERPROFILE% is the profile of the currently logged-on Windows user, so both the fault and the fix are user-specific.
| Windows version | Folder to delete |
|---|---|
| Windows XP, English folder names | %USERPROFILE%\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\WINCCFLEXEXPRESS |
| Windows Vista | %USERPROFILE%\AppData\Local\Microsoft\Microsoft SQL Server Data\WINCCFLEXEXPRESS |
A localized Windows shows the localized names for the profile folders, so resolve the path in Explorer before deleting anything.
- Close WinCC flexible 2008.
- Right-click the tray icon and click
SIMATIC WinCC flexible Auto Start > Close. One reported recovery usedSIMATIC WinCC flexible Auto Start > Disablebefore cleaning up processes. - Open Task Manager and end any process whose name begins with
sql...orHmi..., but only those the tray close left behind. - Paste the path for your Windows version into the Explorer address bar and confirm it resolves inside your own profile.
- Delete the entire WINCCFLEXEXPRESS folder. This is the one step in the whole repair that removes data, so back up the site's projects before it.
- Restart and start the engineering system; it recreates the per-user instance data. Retest a new project first, then an existing one.
If the folder refuses deletion, a live SQL or HMI process still holds it open. Return to the process check instead of deleting individual files out of a running instance.
When an Office 2013 install triggered it #
On a reported Windows 7 64-bit machine, the crash first appeared when Office 2013 replaced Office 2007, and resets, update packs and the folder cleanup all failed on it. The reported working order treats Office as the layer to settle first:
- Uninstall WinCC flexible.
- Install or repair Office 2013 and confirm it runs.
- Reinstall WinCC flexible in the layer order above, base to hotfix, restarting after each.
If the first crash followed an Office installation, stop cycling WinCC flexible reinstallations. The trigger is the Office layer, and the engineering system goes back in only after Office is settled.
Worked example: recovering the reported 2008 SP1 HF3 machine #
Inputs, each taken from the failure report and the reported repair:
- Product version line:
WinCC flexible 2008 SP1 Advanced; K 1.03 ServicePack 1 Hotfix 3; K 1.3 SP 1 HF 3 (1.02.02). - Exception pair:
Reading version information failed, thenRoot element is missing., thrown fromReadVersionInformation()underAppLoader.Initialize(). A startup failure, so the reinstall branch applies. - Removal stages: 2 (WinCC flexible with its components; the SQL Server 2005 instance).
- Install layers: 3 (2008 base, SP1, SP1 HF3).
The rule: one restart closes every removal stage and every install layer, and startup is retested only after the last one.
The arithmetic: stages = 2 removals + 3 installs = 5 stages. Restarts = 5 stages x 1 restart = 5 restarts before the first startup test.
The result as reported: after the fifth restart the engineering system started, and the first project test produced the SQL error. The WINCCFLEXEXPRESS deletion followed, closed with one more restart, so the full recovery ran 6 restarts from the reported sequences. New and existing projects then opened normally.
The decision, with its threshold: if the report still ends with the XML error after one reset and its restart, commit to the five-stage reinstall. If the engineering system then starts but a project still throws an SQL error, delete the folder once; a second reinstall changes nothing.
The decision for each case #
- Startup crash with this exception pair: reset from the tray, restart, retest. One attempt, no more.
- Same pair after the reset: remove WinCC flexible component by component, remove the SQL Server 2005 instance, then reinstall base, SP1 and HF3 with a restart after every stage.
- Engineering system starts but projects fail with an SQL error: tray
Auto Start > Close, end the leftover processes, delete the per-user folder, restart, retest. - The crash began with an Office 2013 installation: Office first, WinCC flexible second.
- Every case: copy the full version strings and the exception pair into the record before changing anything, so the next person starts from evidence instead of guesses.
Questions asked
Does the reset or the folder deletion erase my WinCC flexible projects?
No. The reset only returns user settings to the state right after the last installation, and the deleted folder holds the SQL Express instance's user data for your Windows account, not project files. Projects saved in their own folders stay on disk. Back them up before the repair anyway, because the folder deletion is the only step in this chain that removes data.
Can I copy the WINCCFLEXEXPRESS folder back after the repair?
No. The folder is deleted because its contents no longer match the installed SQL instance, so a restored copy brings the damage straight back. The engineering system rebuilds the folder on its next start. Keep the removed copy only as evidence if you open a support case, and never merge it into the rebuilt data.
An Office 2013 install started the crash. Is reinstalling Office the only fix?
No. Besides the Office-first reinstall order, one reported case recovered by going back to the previous Office version and leaving 2013 off the machine; the engineering system started normally again. If you must keep Office 2013, use the order in the article: remove WinCC flexible, settle Office, then reinstall the engineering system layer by layer.
Is the XML error about one of my project files?
No. The failing read is the engineering system's own version information, parsed by the .NET XML reader during startup, before any project is opened. That is why the crash repeats on every start regardless of which project you intend to open, and why editing, moving or renaming project files cannot fix it.


