Why does enabling of the Runtime (WinCC V7 and WinCC Professional) freeze with "Alarm Logging Runtime" or "Tag Logging Runtime"?
In any case, make a backup of the project of the Operating Station (OS) concerned.
The procedure for this is described in Entry ID 109766573.
1. The Windows service "Message Queuing" is not started.
This can happen after a Windows update, for example.
In the operating system, under "Control Panel > Administrative Tools > Services" the "Message Queuing" service must be started and "Automatic" set for "Startup Type".
If this behavior occurs repeatedly, go to "Control Panel > Programs and Features > Turn Windows Features on or off" and disable the entry "Microsoft Message Queue Server Core Components" under "Microsoft Message Queue Server". Then restart the computer and enable it again.
2. A WinCC template database is damaged.
a) With WinCC V7:
- Close the project.
- Delete the file with the following name structure from the project folder:
- [Project name]Alg.ldf
- [Project name]Alg.mdf
- [Project name]Tlg.ldf
- [Project name]Tlg.mdf
For example, if the project has the name SampleProject (see the file with the extension "MCP"), you delete the files "SampleProjectAlg.ldf", etc.
These files do not contain any Runtime data but are used only as templates for generating the Runtime databases.
The next time you start the Runtime these databases are generated again automatically.
b) With WinCC Runtime Professional the folder name generally starts with "HMI_" like HMI_H4SL, for example.
The files to be deleted are also named corresponding to the folder name; in this example:
3. The configuration file of the project (DCF) is inconsistent.
a) With WinCC V7:
Delete the DCF file of the project.
How to delete and regenerate the DCF file is described in Entry ID 109763043.
b) With WinCC Runtime Professional:
Save the Engineering project in the TIA Portal via "Project > Archive…" and then close that project.
Delete the IM folder from the Engineering project and reload the project from the Engineering Station to the OS.
4. The OS project has defective archive segments in the "Archive Manager" folder.
An archive segment consists of two files with the same name and the extensions .ldf and .mdf.
Reset the archives.
This deletes all archive Runtime data.
This is why it is highly recommended to make a backup of the project.
a) With WinCC V7 it is easiest to use the "Project Duplicator" with the "Save as..." function. The procedure for this is described in the manual:
How to copy a project: WinCC V7.5
b) With WinCC Runtime Professional you reload the project from the Engineering Station to the OS.
For this in the "Load preview" you enable the action "Reset" under "Data to be reset":
If the Runtime can now be started in full, you can presume that there are defective segments in the original project.
If you want to find out which archive segments are working and which are defective, you connect them separately in Runtime in the Control (Alarm Control or message display, Online Trend Control or f(t) trend display) via the "Connect Backup" button.
If a segment cannot be connected, it is probably damaged.
Runtime hangs at Start