Back

Topic

[KB72]Identifying network errors with DCOM

Tags: OPC, OPC-DA Client

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

This article describes how to identify a network error in an application using OPC and DCOM.


Details:

If the first four digits of the error code are 8007, this indicates a network or Win32 error.

Solution

Use the net command helpmsg to decode such errors.

To do that, convert the other four digits to decimal and put them in the query.

Example

For instance, if a COM error returns 8007054B, you convert 054B into decimal (1355).

Then in a prompt window, type:

Net helpmsg 1355

It will return the error description – in this case:

The specified domain did not exist.


Created on: 15 Oct 2010 Last update: 13 May 2024