Overview
WinCC Professional is the PC-based SCADA component of the Siemens Totally Integrated Automation Portal (TIA Portal). It is delivered as the WinCC Professional engineering option, the WinCC Runtime Professional target package, and the WinCC Runtime Professional Simulator. The engineering station compiles the HMI project to a runtime image that the WinCC RT Professional loader can start on a target PC station, while the Simulator executes the same image in-process on the engineering station for offline acceptance tests.
When neither Runtime nor Simulator can be started from a single PC station in TIA Portal V11 SP2, and the compile output shows "Compiling aborted (errors: 0, warnings: 0)" with a non-zero count in the errors column, the symptom is almost always a failed database link in the installation management (IM) layer rather than a real source-code defect. The same root cause has been reported across V11, V11 SP2, V12, V13 SP1, and V14, and the corrective actions documented below remain valid for engineering environments running on Windows 7 SP1 and Windows Server 2008 R2.
Problem Details
The failure is reproducible with the following configuration:
- A TIA Portal project containing exactly one device of type PC station.
- WinCC Professional configured on the PC station with at least one screen, tag table, and connection.
- WinCC Runtime Professional installed (or reported as installed) on the engineering PC.
- Operator action: clicking the Start Runtime button or the Start Simulator button on the WinCC Professional editor toolbar.
Expected outcome: the loader opens the WinCC RT Professional main window or the Simulator starts in a child window. Actual outcome: the project is closed on the target device, the compile finishes nominally, and no runtime process is launched.
Observed Compile Output
The compile / load log shows the following sequence on the engineering station:
Software compilation started
The project on the target device is closed
Compiling aborted (errors: 0, warnings: 0)
The textual line claims zero errors and zero warnings, but the count rendered in the Errors column of the same row is 1. The discrepancy between the embedded text (errors: 0; warnings: 0) and the column value is a known display-layer bug in the TIA Portal compile view; the column value is authoritative.
Follow-On Error After IM-Folder Cleanup
After deleting the IM folder and recompiling, the message becomes explicit:
Compilation of the Runtime project failed.
Cannot link database to the Runtime project 11866113-1570.
The numeric block 11866113-1570 is a partial Globally Unique Identifier (GUID) of the runtime database. The runtime loader is unable to associate this database with the project under compilation. Right-clicking the message and selecting Go To opens the WinCC Runtime settings dialog for the PC station. If Go To is missing, the message originated outside the configuration model and only a reinstall of the runtime will resolve it.
Root Cause Analysis
The IM folder is the on-disk cache that the WinCC Professional build pipeline uses to assemble the runtime image. It contains the generated screen definitions, the tag database, the alarm logging database, the user administration tables, and the connection map. When this folder is created by an interrupted install, by an antivirus product that holds open a file handle, or by switching between two TIA Portal versions on the same working directory, the file pointers and the internal GUID tables drift out of sync with the TIA project file (.ap11 / .ap12 / .ap13 / .ap14 / .ap15 / .ap16 / .ap17 / .ap18 / .ap19 / .ap20).
The build reports errors: 0 in the textual payload because the static code-generation phase produced no diagnostics. The runtime link phase then fails when the loader cannot resolve the database GUID, and that failure surfaces as a single error in the count column.
| Layer | Function | Failure Signature |
|---|---|---|
| Source compiler (HMI tags, screens, scripts) | Generates the offline image | Errors / warnings in editor pane |
| IM cache (project <name>_IM) | Persists generated artifacts and database GUIDs | 0 / 0 message, count = 1 |
| Runtime database link | Binds the IM cache to the active project GUID | Cannot link database to the Runtime project 11866113-1570 |
| WinCC RT loader | Launches the runtime on the target device | Process exits silently; no WinCC main window |
If the IM folder is not the culprit, the failure originates one level deeper in the WinCC Runtime installation itself: the COM/DCOM registration of CCLicenseServer, CCDialHandler, CCStudioMgr, or the WinCC RT Professional service is missing or broken. In that case the project can be recompiled without diagnostics, but the runtime process cannot be started because the loader cannot bind to the registered automation interfaces.
Pre-Diagnostic Verification
- Confirm the WinCC Professional runtime is installed: Control Panel › Programs and Features (Windows 7 / Server 2008 R2) or Settings › Apps › Installed apps (Windows 10 / 11). The expected entries are SIMATIC WinCC Runtime Professional and SIMATIC WinCC Professional. Record the exact build number, for example
V11.0 + SP2. - Open TIA Portal, select the PC station in the project tree, and inspect the WinCC Runtime editor. Both the Start Runtime and Start Simulator buttons must be active (coloured). Greyed-out buttons indicate the WinCC Runtime is not detected and the diagnostic flow switches to an installation-level investigation.
- Open the TIA Portal project folder in Windows Explorer. The project path typically contains a subfolder named
<ProjectName>_IMor a hiddenIMfolder. The_IMfolder holds the binary fragments of the runtime image. Its size should be in the range of 5 MB to 250 MB for typical projects. - Verify the TIA Portal version under Help › About. Mix-and-match of TIA Portal V11 SP2 with the V13 SP1 runtime is the most common trigger of GUID drift and is not supported.
- Confirm that the engineering user has local administrator rights, that no antivirus product is locking the project folder, and that the disk has at least 2 GB of free space.
Project-Level Diagnostic Procedure
Use the project-level procedure first. It restores the runtime image without reinstalling software and is the recommended path on shared engineering workstations.
- Close TIA Portal completely, including the TIA Portal Help Server and the TIA Administration Tool.
- Navigate to the project folder and delete the
IMfolder and, if present, the<ProjectName>_IMfolder. Do not delete the.ap*project file or the Logs folder. - Open TIA Portal, reopen the project, and trigger a Compile › Software (rebuild all) on the PC station. The rebuild regenerates the IM cache with the current TIA Portal version.
- Click Start Runtime and observe the compile log. The expected outcome is either a successful start of the WinCC Runtime Professional main window or a fresh, descriptive error message that can be investigated with the Go To navigation.
If the rebuild reproduces the Cannot link database to the Runtime project 11866113-1570 message, right-click the message and select Go To. The cursor jumps to the WinCC Runtime configuration dialog for the PC station. Inspect the following entries:
- Runtime settings › General: the configured computer name must match the local host name on which WinCC Runtime Professional is installed. Mismatches generate the database link error because the loader cannot resolve the local host identifier in the runtime database.
- Runtime settings › Services: the Start WinCC Runtime automatically and Activate project at startup options must be set consistently with the test intent.
- Runtime settings › Graphics: confirm the active screen and the start screen both exist in the project. A missing start screen is a common source of errors: 0 / count = 1 failures on the very first compile.
Project-Level Resolution Steps
- If the Go To function is available, correct the configuration entry that is highlighted. Recompile and re-launch.
- If the Go To function is not available, the error originated in the runtime image rather than the project. Proceed to the installation-level procedure.
- Create a new TIA Portal project containing one PLC and one PC station with a single empty WinCC Professional screen. Compile and start the Simulator on the PC station. If the minimal project works, the original project contains a corrupted configuration element; rebuild the screens and tag connections incrementally.
- If the minimal project also fails on the PC station, isolate the failure to the PC station configuration: delete the PC station, re-add it, and re-paste the WinCC Professional configuration from a known-good export.
Installation-Level Diagnostic Procedure
When the project-level diagnostics succeed but the runtime still fails to launch, the WinCC Runtime Professional installation is the source of the failure. Use the official Siemens support entry 109744535 as a baseline; supplement it with the steps below.
- Open Control Panel › Programs and Features and confirm the presence of:
Any SP suffix on a missing component indicates a partial install that must be repaired.SIMATIC WinCC Professional V11.0 + SP2 SIMATIC WinCC Runtime Professional V11.0 + SP2 SIMATIC S7-PLCSIM V11.0 + SP2 (optional, for PLC simulation) SIMATIC TIA Portal V11.0 + SP2 - Run the TIA Portal installation in Repair mode for the WinCC Professional components. The repair re-registers the COM interfaces and re-creates the database registration tables.
- Inspect the Windows services. The following services must be set to Automatic and Started:
CCAgentCCEServerCCLicenseServerCCMsgQueueCCRtsServiceS7DOS Help ServiceSIMATIC HMI Trace Service
- Open Component Services › Computers › My Computer › DCOM Config and confirm that the CCStudioMgr, CCRuntimeMgr, and CCAlarmServer applications are present and have launch permissions for the interactive user.
- Inspect the Windows event viewer under Applications and Services Logs › Siemens Automation. Look for event IDs
1through10in the WinCC Professional source, which indicate loader, license, and database link failures respectively.
Installation-Level Resolution Steps
- If the repair does not clear the error, uninstall all WinCC Professional and TIA Portal components using the TIA Portal installation media in Remove mode.
- Reboot the engineering station. Reinstall TIA Portal first, then the WinCC Professional engineering option, then the WinCC Runtime Professional target package, in that order, matching the SP level across all components.
- If the issue persists across a clean install on Windows 7 SP1, escalate through a Siemens support request. Provide the project archive (Project › Archive › Save as), the TIA Portal diagnostic dump (Help › Diagnostic files), and a screenshot of the compile log showing the
11866113-1570message. Reference the support entry 109744535 in the case description. - As a last-resort, fully reinstall the Windows operating system, install all Windows updates, and then perform a clean TIA Portal and WinCC Professional install. This procedure has been documented by Siemens support engineers as the only reliable resolution in cases where the COM/DCOM registrations have been corrupted by a non-Microsoft DCOM management tool.
Verification
- After applying a project-level fix, click Start Runtime. The expected behaviour is a splash screen for WinCC RT Professional followed by the configured start screen. Confirm the runtime is fully interactive: open a configured screen, change a tag value from a simulated PLC, and verify the value is reflected in the HMI.
- Click Start Simulator. The expected behaviour is the launch of the in-process simulator window on the engineering station. Drag a tag from the tag table and verify that the simulated value is updated on the active screen.
- Open the ApDiag.dmp file under %ProgramData%\Siemens\Automation\Logfiles and confirm that no entries with severity Error or Fatal are recorded after a five-minute run.
- Reboot the engineering station and re-launch the runtime. The runtime should start without the project recompilation step, confirming that the database link is persistent.
- For projects upgraded to TIA Portal V17 or later, the simulation entry point is unified under the menu command Online › Simulate Runtime. Refer to the Simulating a project (RT Professional) documentation for the current procedure. Note that tag values of faulty connections to the process cannot be simulated; the loader will not raise an error for a missing connection, but the corresponding tag will stay in Initial value.
Preventive Measures and Best Practices
| Practice | Benefit |
|---|---|
| Keep TIA Portal, WinCC Professional, and WinCC Runtime Professional on the same SP level | Eliminates GUID drift between the project file and the runtime database |
Exclude the TIA Portal project folder and the IM folder from antivirus real-time scanning |
Prevents file-handle locks that corrupt the IM cache |
| Run TIA Portal as a local administrator; do not use roaming profiles on terminal servers | Avoids permission denials on the %ProgramData% path used by the runtime loader |
| Archive the project before every SP upgrade | Allows deterministic rollback to a known-good image |
| Use a separate engineering workstation for the WinCC Runtime Professional target package | Reduces COM/DCOM churn and prevents interference from engineering tools |
| Document the WinCC Runtime computer name in the project comment of the PC station | Speeds up the diagnosis of database link errors by aligning the configuration and the host |
| Schedule monthly Compile › Software (rebuild all) clean rebuilds | Refreshes the IM cache before drift accumulates |
Edge Cases and Field Notes
The errors: 0 / warnings: 0 message with a non-zero count in the errors column is reported only on the WinCC Professional PC station path; the same condition on a Comfort or Unified Panel surfaces a real error code, for example Error 13000: S7 connection failed or Error 13001: No route to subnet. When triaging, always inspect the count column rather than the embedded text.
On Windows Server 2012 R2 and later, the WinCC Runtime Professional V11 SP2 runtime is not officially supported. If the engineering station is on a newer server SKU and the WinCC Runtime Professional target package was force-installed, the COM registration can be silently rolled back by Windows Updates, producing the same symptoms at the next reboot. The supported platform for the original V11 SP2 build is Windows 7 SP1 (32-bit and 64-bit) and Windows Server 2008 R2 SP1.
When the Go To entry is missing from the context menu, the message was generated by a phase that does not have a configuration model object to navigate to. The most common cause in the field is an interrupted install of the WinCC Runtime Professional component. Repairing the install restores the navigation target.
Modern Workflow Reference (V17 to V20)
Starting with TIA Portal V17, the simulation entry point is consolidated. The legacy toolbar buttons Start Runtime and Start Simulator on the PC station editor are replaced by the menu command Online › Simulate Runtime. The procedure is documented in the official Siemens documentation portal under Simulating a project (RT Professional). The key behavioural changes are:
- The simulator no longer requires a separate Start Simulator activation; a single Simulate Runtime action covers both the offline simulation and the start of the WinCC Runtime Professional loader on a local PC station.
- Connections to real PLCs that are in a faulty state are not simulated; the corresponding tags remain at their initial values until the connection is restored. This is the modern equivalent of the legacy errors: 0 / count = 1 failure mode.
- The IM folder is automatically cleaned on simulation start; manual deletion is no longer required as a preventive measure.
11866113-1570 error after a major version upgrade.
FAQ
What does the error "Cannot link database to the Runtime project 11866113-1570" mean?
The error indicates that the WinCC Runtime Professional loader cannot bind the project under compilation to its runtime database. The numeric block is a partial GUID of the runtime database and is the authoritative error code for this failure mode. The textual line errors: 0; warnings: 0 is misleading; the count column shows the real value of 1.
Why is the "Go To" entry missing from the compile log context menu?
The Go To entry appears only when the message was generated by a phase that has a configuration model object to navigate to. If Go To is missing, the error originated in the runtime image or in the WinCC Runtime Professional install itself, and a project-level fix will not resolve it. Repair the WinCC Runtime Professional install in Control Panel › Programs and Features.
Is it safe to delete the IM folder in a TIA Portal project?
Yes. The IM folder is a derived cache, not a primary source. Deleting it forces a full rebuild on the next compile and is the official workaround for GUID drift between the TIA project file and the runtime database. Do not delete the .ap* project file, the Logs folder, or the System folder.
Does WinCC Professional V11 SP2 run on Windows 10 or Windows 11?
Officially, the WinCC Runtime Professional V11 SP2 target package is supported on Windows 7 SP1 and Windows Server 2008 R2 SP1 only. For Windows 10 / 11 or Windows Server 2012 R2 and later, upgrade to TIA Portal V16 or V17 and use the matching WinCC Runtime Professional build. Siemens support entry 109744535 documents the supported platforms and the upgrade path.
How do I start the WinCC RT Professional Simulator in TIA Portal V17 or later?
Open the PC station in the project tree, select the WinCC RT Professional editor, and choose Online › Simulate Runtime. The simulator runs in-process on the engineering station and can be stopped from the same menu. For the full procedure, refer to Simulating a project (RT Professional).