IMD SolutionComputing LibraryShop main store

Troubleshooting

Why OPC DA fails to advise for shutdown notification

Edge computing and IIoT Published 5 min read

Short answer

The message "unable to advise for shutdown notification" means the OPC server shows RUNNING but cannot authenticate back to your DA client to register callbacks. Run the server and the client under the same authorized account, add that user to both the Limits and Defaults access lists under Launch and Activation Permissions, and restart the client. The separate "change browse position return 80004005" error is an unsupported optional browsing function, fixed by switching the client to manual browsing.

On this page
  1. Why RUNNING does not mean the connection works
  2. Fix the callback path first
  3. Keep the DCOM baseline intact
  4. Then fix the browsing error
  5. Verify the full path before you trust it
  6. Where these errors come back
  7. Questions asked

An OPC DA client that reports "unable to advise for shutdown notification" has already reached the server: RUNNING proves the outbound connection, but the server cannot authenticate back into the client to register its callbacks, and machine-wide DCOM launch and activation permissions are rejecting that return path. The fix is to run the server and the client under one authorized account, grant that account on both the Limits and Defaults access lists under Launch and Activation Permissions, and restart the client. The second message, "change browse position return 80004005", is a different fault entirely: an optional browsing function the server does not support, solved by selecting manual browsing in the client. Work the two errors separately and in this order.

Why RUNNING does not mean the connection works #

OPC DA traffic is bidirectional. The client calls the server to connect, browse and subscribe. The server then calls back into the client to deliver asynchronous data and to announce shutdown. Permissions that allow the first direction can still reject the second, and that is exactly the combination this error describes: the connect succeeded, the callback registration failed.

So treat RUNNING as evidence about half the path. It says nothing about callbacks, browsing or data delivery. The error text itself names the failure: the server is unable to advise the client of shutdown notification, which is the server-to-client call being refused.

Fix the callback path first #

Work through this list on the server host, then the client host:

  1. Record the actual logon identity of the OPC server process and of the client service, not the account you used for an interactive desktop test.
  2. Confirm each host can authenticate the other endpoint's identity: same domain, valid credentials, account not disabled or locked.
  3. On the server host, under Launch and Activation Permissions, add the client's service account to both the Limits access list and the Defaults access list. An application-level grant cannot override a restrictive machine-wide limit, so both lists must carry the account.
  4. On the client host, grant the server's account the rights to launch, activate and access the client, because that host is the callback target.
  5. Restart the client service so it re-registers callbacks under the corrected permissions.
  6. Re-run the connection test under the identity that will operate unattended, and check the Windows event logs on both hosts for DCOM rejection events if it still fails.

The decision: run both the OPC server and the client under the same authorized account where the products and site policy allow it. One identity satisfies both directions of the permission check and is the fastest path to an authenticated callback registration. It does not remove step 3 and step 4; the account still has to appear in the access lists.

The vendor guidance for OPC DA interfaces is explicit that DCOM permissions must be granted to the accounts running the server and the interface even when both run on the same node, because a single machine still plays both the launching and the callback role.

Keep the DCOM baseline intact #

A common troubleshooting shortcut is to lower the machine-wide default authentication level and the impersonation level. That can make a test connection succeed, and it did in the case behind this article. Do not leave a production host there: a machine-wide reduction affects every COM application on the node and conflicts with hardened Windows baselines. Revert any such change and achieve the callback grant through the named account in the access lists instead. If a hardening baseline has tightened the defaults, document the account grant as the compliant fix.

Then fix the browsing error #

"Change browse position return 80004005" is a generic failure return from an optional OPC standard function, moving the browse cursor within the server's address space, that the server does not implement. It is not an authentication fault and it will not respond to any DCOM change. It surfaces only when the client walks the address space automatically while you type or pick a tag name.

Select manual browsing in the client's connection configuration. The client stops calling the unsupported function and you supply item names directly. That is the whole fix; once browsing is manual, the error disappears regardless of permissions.

Browsing permissions are a separate topic when the server enforces role-based access instead: for OPC UA servers the address space can be hidden from underprivileged users by design, which the page on configuring OPC UA browsing permissions and RBAC access covers in depth.

Verify the full path before you trust it #

A successful callback registration and a clean manual browse still do not prove data delivery. Confirm the chain end to end: subscribe one known item, confirm the value updates at the client, and check the timestamp of a written or logged value at whatever archive or historian sits behind the client. Only then move the configuration under change control into its production location, and re-run the same three checks there, because moving a host between a lab network and the plant changes name resolution, routing and firewall policy on the RPC ports that OPC DA uses.

Where these errors come back #

Both errors return under predictable conditions. The callback error reappears after a service account password change, a group policy update that resets machine-wide DCOM limits, or moving either process to a different account; re-check the Limits and Defaults lists first. The browse error reappears whenever the client configuration reverts to automatic browsing, typically after a client reinstall or a settings import. Keep the manual-browsing setting and the account grants in the commissioning record so the next engineer can restore them without rediscovering the cause.

One safety note: any permission change on a server host that also runs process control software belongs in the plant change-control process, and the operating gateway should be monitored during the restart of the client service.

Questions asked

Why does the OPC server show RUNNING when the shutdown notification still fails?

A RUNNING status only reports that the client established the first, outbound connection to the server. OPC DA is bidirectional: the server must separately authenticate back into the client to register shutdown callbacks and asynchronous delivery. Machine-wide DCOM launch and activation permissions that reject the server's return path leave the status RUNNING while the callback registration fails.

Which DCOM lists need the service account when only one machine is involved?

All of them, even on a single node. The vendor guidance for OPC DA interfaces states that the accounts running the server and the client need DCOM permissions granted on both roles, because one machine still hosts both a launching application and a callback target. Add the account under Launch and Activation Permissions in both the Limits and Defaults access lists, and grant the matching access rights for incoming callbacks.

Is change browse position return 80004005 a DCOM fault?

No. That code is a generic failure return from an optional OPC browsing function that the server does not implement. It appears only when the client walks the address space automatically. Selecting manual browsing in the client configuration stops the client from calling that function, and item names can then be entered or picked directly. The callback and browsing errors are unrelated faults with separate fixes.

Should the default authentication level be set to None to make OPC DA work?

No. Lowering machine-wide authentication or impersonation levels can make a test connection succeed, but it weakens security for every COM application on that host and conflicts with hardened Windows baselines. Keep authentication enabled and grant the specific service account the launch, activation and access rights it needs; a correctly configured account passes the callback check without any global reduction.

Keep reading

  • Comparison

    PI-to-PI interface versus an OPC DA path: what changes

    An OPC client only reads; collection into a PI Data Archive always runs through an interface. Replacing a PI to PI interface with an OPC DA path means four components: source PI Data Archive, PI OPC DA Server, PI OPC Interface, destination archive. At 10,000 tags it adds one component and puts the WAN boundary on DCOM, so keep PI to PI unless an OPC DA endpoint is itself the requirement.

    Edge computing and IIoT

  • How-to

    Connecting a Yokogawa ExaOPC server to Canary Historian

    Yes. Canary Historian's OPC client collector reads tags straight from ExaOPC, Yokogawa's OPC server for CENTUM, over DA or UA with no custom driver. Run the DA collector on the ExaOPC host or a same-domain host: cross-host DCOM is where these links break.

    Edge computing and IIoT

  • Explainer

    Do you need a historian or just an OPC tag server?

    No. An OPC tag server (OPC DA) supplies the current value, quality and timestamp of each item and stores nothing, so monthly figures need a historian or a SQL logger collecting from that same server. Keep a reporting client like ActiveFactory only if you also run the historian it expects.

    Edge computing and IIoT

Tag Browse Tree missing from your designer palette