Resolving WinCC User Archive Synchronization Failures Across Redundant OS Servers in SIMATIC PCS 7
When WinCC User Archives fail to synchronize across a redundant OS Server pair (displaying 'No Runtime Data Yet' or preventing operators from modifying recipes after an OS download), the primary root cause is having the project setting 'Allow activation on ES' inadvertently enabled in WinCC Explorer on the Engineering Station. When this option is active on the ES, opening the User Archive Editor binds the archive database GUIDs and process tokens to the ES computer name. Downloading this project to the OS Servers causes the User Archive server (CCUsrAcV.exe) to crash or abort synchronization. To resolve this, disable 'Allow activation on ES' on the ES, disable Redundancy, delete all .dcf files and temporary logging files, re-enable Redundancy, execute an OS compile with memory reset, and perform a clean download to both servers.
Table of Contents
- WinCC User Archive Redundancy Architecture: Role of CCUsrAcV.exe and CCRedEngine
- The Fatal Mechanism of 'Allow Activation on ES' in User Archive Redundancy
- Diagnosing User Archive Crashes: Task Manager Verification and Process Dumps
- The Complete Multi-Step ES Project Database Cleanup and Re-Commissioning Procedure
- Comparative State Matrix: Healthy vs Corrupted User Archive Redundancy
- Step-by-Step Recovery Procedure to Restore User Archive Synchronization
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
WinCC User Archive Redundancy Architecture: Role of CCUsrAcV.exe and CCRedEngine
In SIMATIC PCS 7 and WinCC, the User Archive (UA) option package manages structured technological recipes, batch parameter tables, and material profiles stored in Microsoft SQL Server database tables. In a high-availability environment with redundant OS Servers (OS1 and OS2), recipe consistency is paramount: if an operator adjusts a recipe parameter on OS1, that change must synchronize across the redundant partner server within milliseconds.
This synchronization is orchestrated by two cooperating subsystems:
-
User Archive Server (
CCUsrAcV.exe): Manages the local SQL database tables, record locking, and recipe read/write handshakes from technological faceplates and AS communication blocks (APFor custom SCL scripts). -
WinCC Redundancy Engine (
CCRedEngine.exe): Monitors delta changes between OS1 and OS2. When a recipe record is modified,CCRedEnginereplicates the modified SQL record over the Terminal Bus / Redundancy Network to the partner server.
The Fatal Mechanism of 'Allow Activation on ES' in User Archive Redundancy
A pervasive, highly disruptive issue occurs where User Archives stop synchronizing immediately after downloading the OS project from the ES. Operators find that recipe tables are empty or display 'No Runtime Data Yet', and modifying recipes fails.
The root cause trace reveals a subtle configuration error on the Engineering Station:
-
In WinCC Explorer on the ES, under Project Properties, there is a checkbox: 'Allow activation on ES' (often enabled by engineers to test WinCC graphics locally without dedicated servers).
-
When 'Allow activation on ES' is enabled, merely opening the User Archive Editor on the ES causes the engineering software to initialize the local User Archive database engine.
-
In doing so, the ES writes its own Windows computer name, local database GUIDs, and local user tokens into the project's
.dcfcache files and master project database. -
When the engineer executes an Entire Download to OS1 and OS2, the servers inherit these corrupted ES computer name bindings!
-
Upon activation on the servers,
CCUsrAcV.exeattempts to connect to a data server named after the ES rather than the local OS Server. The process stalls, crashes, or refuses to synchronize with its redundant partner.
Diagnosing User Archive Crashes: Task Manager Verification and Process Dumps
To verify if the User Archive server has crashed or locked up on OS1 or OS2:
-
Open Windows Task Manager (
Ctrl + Shift + Esc) on both OS Servers. -
Search the Details/Processes list for
CCUsrAcV.exe. -
State A (Process Missing): If
CCUsrAcV.exeis absent from the process list, the process crashed upon startup. Configure Microsoft AdPlus (adplus -crash -pn CCUsrAcV.exe) or Windows Error Reporting to capture a memory crash dump. -
State B (Process Running but Frozen): If
CCUsrAcV.exeis running with 0% CPU utilization and recipe writes time out, the process is deadlocked waiting on database socket responses from stale ES network pointers.
The Complete Multi-Step ES Project Database Cleanup and Re-Commissioning Procedure
Siemens Technical Support and experienced commissioning engineers have established a definitive protocol to permanently purge these corrupted ES tokens from the multiproject database:
-
Disable 'Allow activation on ES' in WinCC Explorer.
-
Strip redundant server packages and deactivate the WinCC Redundancy setting temporarily.
-
Delete all
.dcfproject cache files and stale transaction logs (*Alg.ldf/mdf,*Tlg.ldf/mdf). -
Perform an OS Compile with memory reset (
Complete OS with memory reset). -
Re-enable Redundancy and download clean project structures to both OS Servers.
Comparative State Matrix: Healthy vs Corrupted User Archive Redundancy
The following table compares operational indicators between healthy and corrupted User Archive environments:
CCUsrAcV.exe Process.dcf Project Cache FilesStep-by-Step Recovery Procedure to Restore User Archive Synchronization
Follow this exact sequence on the Engineering Station and OS Servers to resolve User Archive synchronization failures:
-
Correct Settings on Engineering Station (ES):
- In SIMATIC Manager, open the OS project in WinCC Explorer.
- Open Project Properties. Strictly UNCHECK the checkbox 'Allow activation on ES'.
- In WinCC Explorer, expand Server Data. Delete all created and loaded server packages.
- Open the Redundancy editor. Uncheck 'Activate Redundancy' and click OK.
- Close the project and exit WinCC Explorer completely. -
Purge Corrupted Database Cache Files on ES:
- Open Windows Explorer and navigate to the OS project directory on the ES.
- Delete all files with extension.dcfand any backup copies (*.dc*).
- Delete the temporary database files:<ProjectName>Alg.ldf,<ProjectName>Alg.mdf,<ProjectName>Tlg.ldf, and<ProjectName>Tlg.mdf. -
Regenerate Packages and Recompile:
- Reopen WinCC Explorer on the ES. In Server Data, click Create... to generate fresh packages.
- Open the Redundancy editor. Check 'Activate Redundancy' and configure the partner server.
- In SIMATIC Manager, run Compile OS viaTools > Multiple OS Compilation Wizard > Start....
- Select the option: 'Complete OS with memory reset'. -
Deploy Clean Project to OS Servers:
- Deactivate WinCC Runtime on OS1 and OS2.
- On OS1 and OS2, back up historical archives, then delete the old project directories on both servers.
- From SIMATIC Manager on the ES, perform an Entire Download to OS1 and OS2. -
Re-activate and Verify:
- Activate OS1 first. Wait for full runtime startup, then activate OS2.
- Test recipe modification and verify instant partner synchronization.
Verification
Verify User Archive operational integrity through these validation checks:
- On both OS1 and OS2, open Windows Task Manager and confirm that
CCUsrAcV.exeis active and running. - Open the recipe control screen on an OS Client. Verify that all recipe records display without 'No Runtime Data Yet' errors.
- Modify a recipe setpoint (e.g., change Mixing Time from 100s to 120s) and save.
- Check the User Archive table on the redundant partner server: confirm that the new value (120s) appears within 1–2 seconds.
- Check WinCC Redundancy internal tags: verify that
@RedundancyServerStateindicates full redundant health.
Limitations and Operational Precautions
- Never Open User Archive Editor on ES in Runtime: When 'Allow activation on ES' is disabled, opening the User Archive Editor on the ES is safe for schema design, but never attempt to activate Runtime on the ES without reverting to a dedicated single-station test project.
- Backup User Archive Data: User Archive records are stored in SQL tables. Performing a complete OS download with project deletion wipes runtime recipe modifications. Always export user archives to CSV via the User Archive Editor before downloading entire projects.
- Entire OS Compile Timing: In massive projects, Entire OS Compile can take significant time. Ensure adequate engineering maintenance windows before initiating full memory resets.
Engineer FAQ
Why does User Archive stop working after an OS download?
The OS project on the ES inherited corrupted computer names and local GUIDs because 'Allow activation on ES' was enabled. Downloading the project transfers these broken references to the servers.
Can I export User Archive data to prevent data loss during downloads?
Yes. In the User Archive Editor, select Archive > Export... to save all recipe tables into a CSV file. After downloading, select Archive > Import... to restore recipes.
What is the function of CCUsrAcV.exe?
CCUsrAcV.exe is the Siemens WinCC User Archive runtime server process that manages SQL database operations for recipe and parameter archives.
Why is deleting .dcf files effective?
The .dcf file is a temporary cache file that stores local station bindings. Deleting it forces WinCC to rebuild clean connections from the primary project database.
Does WinCC Redundancy automatically synchronize User Archives?
Yes, provided WinCC Redundancy is activated, the redundancy network is healthy, and CCUsrAcV.exe is running cleanly on both servers.
Technical References
- WinCC V7.4 / V7.5 Options Manual - User Archives Configuration and Operation
- Siemens Industry Online Support (SIOS) Entry ID 182697 - Server's user archive are not getting synchronized many times
- Siemens Industry Online Support (SIOS) FAQ 24285161 - What to do if the OS server project is taken online by mistake on the ES
- Siemens Industry Online Support (SIOS) FAQ 45020870 - Creating a Memory Dump for Diagnostics in WinCC and PCS 7
Related Articles
- Resolving WinCC Error 'No Connection to Data Server' - Alarm Logging Runtime and DCF File Cleanup
- Configuring WinCC User Archive Read and Write Managers in SIMATIC PCS 7 APF
- Simulating SIMATIC PCS 7 Advanced Process Functions (APF) with S7-PLCSIM
- Replacing Redundant WinCC OS Server Network Cards - Mixed NICs and Simatic Shell
Related Tags
- User Archives
- CCUsrAcV
- Redundancy
- Allow Activation on ES
- DCF File
- Recipe Management
- WinCC OS