IMD SolutionComputing LibraryShop main store

Troubleshooting

Process Historian connected clients but no stored values

Edge computing and IIoT Published 6 min read

Short answer

Connected clients in the PH Management Console prove only the communication link. With Stored Values and Stored Messages frozen and a Com-Exception in SendToProcessHistorian in the WinCC diagnostics, the OS-side send fails after connecting: confirm OS archive generation, run the PHIsReady client configuration on each OS server with an authorized account, check the CCCAPH Server Service logon identity, and prove the fix with a counter delta.

On this page
  1. Why do connected clients not prove the historian is storing anything?
  2. What does Com-Exception in SendToProcessHistorian tell you?
  3. How do you confirm the OS servers are generating archive values?
  4. When do you run PHIsReady, and with which account?
  5. Why does the CCCAPH Server Service logon identity matter?
  6. How do you prove the fix with the Stored Values counter?
  7. Which fix applies to which finding?
  8. Questions asked

The connected clients in the PH Management Console prove only the communication link, not storage. With Stored Values and Stored Messages frozen and the WinCC diagnostics on the OS servers reporting Com-Exception in SendToProcessHistorian, the send to the historian fails after the connection, and the counters are telling the truth. The decision: confirm the OS servers still generate archive values, run the PHIsReady client configuration on each OS server with an authorized Windows account, verify the logon identity of the CCCAPH Server Service, restart as the documented procedure requires, and prove the repair with a counter delta. The order below is written for the reported combination of PCS 7 V8 SP1 Upd1 with Process Historian 2013 Upd3.

Why do connected clients not prove the historian is storing anything? #

A connected client proves only that the OS server reached the historian over the network; Stored Values and Stored Messages count what the historian has actually committed, so both counters can stay frozen while every client still shows as connected. Treat three states as separate facts: the service state (the process runs), the communication state (the client connects) and the storage state (records commit). A running service can accept a connection and then fail when it invokes another component, accesses a resource, or submits data. That is why the CCCAPH Server Service running and the firewall disabled prove nothing here: neither condition tests authentication, client configuration, or storage. Judge storage by the counters, not the client list.

What does Com-Exception in SendToProcessHistorian tell you? #

It tells you the failure sits in the OS-side send call, after the connection was made: Component Object Model is the Windows interface one component uses to call another, so the exception means the send operation itself failed, not the network link. Capture the complete diagnostic entry, not the headline: the exception description, the COM result code (an HRESULT) if the record carries one, its timestamp, and the affected OS server. Keep the code exactly as written, and match the timestamp against the historian's own diagnostics and the Windows application events on both machines. That comparison separates an OS-side failure from a request that reaches the historian and fails during processing. As a class, an access-denied result points at identity and permissions; a component or registration failure points at the client configuration. The two classes route to different fixes below.

How do you confirm the OS servers are generating archive values? #

Read the OS archive trend first: a known archive-enabled tag must show new timestamped samples during the observation period, because if the OS archive is frozen too, the fault is upstream of the transfer and the exception is only a consequence. Work through four checks:

  • OS archive trend: a selected archive-enabled tag shows new timestamped samples inside the observation window.
  • OS message archive: a known event appears with its timestamp. Use an existing event or a controlled test that does not disturb production, never a simulated process alarm an operator could react to.
  • WinCC diagnostics on each affected OS server: the complete send exception shows when the transfer fails and whether it repeats with every new archive cycle.
  • Operator display: a live process value is not evidence of archive generation, because archiving is a separate per-tag configuration.

If the OS archive is itself missing values for tags that should log, the fault is tag arrival before the historian, and the checks in Why WinCC tag data never reaches Process Historian 2014 apply instead.

When do you run PHIsReady, and with which account? #

Run it on every OS server that sends to this historian, before any deeper repair: the utility identified for this fault is PHIsReady, it asks for a Windows user name and password, and it writes the client configuration the send operation depends on. Take where to run it and which authorized account to supply from the installed documentation for these releases. Visible clients do not prove this configuration is complete or aimed at the intended historian server, so run it even though the console already lists the clients. Record the utility's completion result and any error text: an error here is itself a finding that routes the case. If a release question arises, resolve it through the vendor's compatibility documentation for these exact versions and its approved update path, never by trial updates.

Why does the CCCAPH Server Service logon identity matter? #

Because the service account, not your logged-on account, executes the send: configuring the client under one Windows identity proves nothing about the permissions of the identity the CCCAPH Server Service actually runs under. Read the account the service is configured to log on with on each OS server, and compare it with the account the installation documentation names for these releases. Where they differ, correct the service identity to the documented account and grant only the documented rights; do not substitute local administrator access for a diagnosis. Save the current counters, client list, archive timestamps and full exception entries before any change, then restart only the components the documented corrective procedure requires, under the site's change control.

How do you prove the fix with the Stored Values counter? #

Take a before-and-after reading of Stored Values across ten archive cycles and compare the delta with what the tag count predicts: with 240 tags on a one-minute cycle, ten minutes should add about 2,400 values. Worked example, illustrative inputs: an OS server archiving 240 tags once per minute produces 240 × 1 = 240 values per minute, so ten cycles should add 240 × 10 = 2,400. In the fault state, a start reading of 1,204,318 and an end reading of 1,204,318 give a delta of 1,204,318 - 1,204,318 = 0: storage is stopped while the clients show connected. After the fix, a start reading of 1,204,318 and an end reading of 1,206,714 give a delta of 1,206,714 - 1,204,318 = 2,396, a handful of counts short of the prediction from samples landing on the window edges: the path is proven.

Finish with three checks. Confirm no new Com-Exception in SendToProcessHistorian entry appears in the diagnostics during the window. Retrieve one known tag in a historian trend and confirm its value and timestamp match the OS archive. For messages, trigger one controlled test event, because message counts follow events rather than a cycle, and confirm Stored Messages advances and the event is retrievable.

Which fix applies to which finding? #

Three findings route every case: whether the OS archive is advancing, what the complete exception says, and what PHIsReady returns when you run it with the documented account.

  • OS archive frozen as well: the historian is not the fault. Fix archive generation and tag configuration on the OS first; the send exception is a consequence and clears with the source.
  • OS archive advancing and the exception names access or permissions: an identity fault. Run the PHIsReady configuration on each OS server with the documented account, correct the CCCAPH Server Service logon identity, restart as documented, and re-measure the delta.
  • OS archive advancing and the exception names a component or registration failure, or PHIsReady returns an error: a client-configuration fault. Reapply the documented procedure, confirm each OS client names the intended historian server, restart, and re-measure.
  • The exception names a license error: a licensing fault rather than a transfer fault, and Process Historian GrantLicense Failed means a license problem covers that path.
  • Counters recovered but an older period is still absent: Transferring old WinCC tag logging data to Process Historian is the documented route for that data.

Connected clients told you the path exists; only a moving counter proves the historian stores. Measure the delta, then close the call.

Questions asked

Does a disabled firewall rule out a security block?

No. A disabled firewall removes port filtering only; it does not touch authentication or the component-level access checks Windows applies when one component calls another. An exception raised after the client is already connected fits an access failure, so compare the service logon identity and the client configuration against the installation documentation instead of trusting the firewall state.

If Stored Values recovers but Stored Messages stays frozen, is the fault fixed?

No. Values and messages are stored and counted separately, so one path can recover while the other still fails. Trigger one controlled test event that is configured for the message archive, confirm Stored Messages advances by at least one, and retrieve the event with its timestamp. If the count stays frozen, apply the same client-configuration and identity checks to the message path on that OS server.

What happens to the values missed while storage was stopped?

They are not proven lost. Values that reached the OS archive before the fault still exist there, so after the counters recover, compare the time range the historian actually holds against the OS archive. Where the gap matters, move the older data across with the documented transfer procedure for the installed releases instead of assuming it backfills on its own.

Can you run PHIsReady while the plant is in production?

Treat it as a controlled change, not a live experiment. The configuration write itself is quick, but the documented procedure may require restarting the CCCAPH Server Service, which pauses transfer from that server. Save the current counters and diagnostics first, and apply it to one OS server before the others so any regression shows on a single machine.

Keep reading

  • Troubleshooting

    Historian trend flat line: check Query Row Limit

    A historian trend that draws one straight value in history mode while live mode and a direct SQL query both return good data is truncating rows client-side. The tag's Query Row Limit on the graph was set to 2 instead of the documented default 0, so only two samples came back. Set it to 0, then confirm the trend's saved row count matches the SQL count.

    Edge computing and IIoT

  • Troubleshooting

    Why historian output writes stop on a secondary server

    Output writes stop because the interface keeps pulling source-tag events from its configured /host server, and a single PI-model interface instance does not search the collective for another member. Buffering only covers the interface-to-server direction, which is why inputs keep logging. Point the standby interface's /host at the secondary member, confirm the source-tag events reach it, and prove the subscription with pilistupd.

    Edge computing and IIoT

  • Troubleshooting

    Diagnose a slow historian web client page load on the server

    Capture the load in the browser Network tab with the cache disabled and split each slow request into connection, TLS, waiting and download phases. When waiting for server response holds most of the time, the historian web services are waiting on the shared SQL Server host: cap Max server memory, check disk latency, then send support a redacted HAR. The timing split, not the total load time, decides the cause.

    Edge computing and IIoT

Get the last N stored records from an Ignition tag history query