使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


Locating Server Error Code Descriptions


Last Update: 2018/11/7

In the OPC Quick Client (or other OPC clients), users may encounter an HRESULT error code like "(HR=...)", where the ellipses are an eight digit hexadecimal number. If the client application displays a long negative number (such as "-2147024891"), utilize the Windows Calculator to convert the number to hexadecimal. To do so, first click View | Scientific. Then, enter the number including the "-" symbol. For information on looking up text for the error code, refer to the instructions below.

  1. To start, open the server. Then, select the New Project icon.
  2. Next, click the OPC Quick Client icon in the server's toolbar. The OPC Quick Client will automatically build its own project from the server project.
  3. In the upper-left window pane, right-click on the KEPware.KEPServerEX.V4 server connection and then select Get Error String.
  4. In Error Code, enter "0x" and then specify the eight digit hexadecimal number. For example, "0x8007000".
  5. Once finished, click Apply.

    Note: The error text for that hexadecimal number will be displayed in Error Description.

Note: Because many HRESULT error codes have the same meaning in all OPC DA servers, users can utilize the same procedure to look up error codes from any OPC DA-compliant server. Other codes are proprietary to the vendor's servers.

Important: The second instruction will only work with Kepware's OPC servers (such as the U-CON Protocol Server). It will not work for the iSNMP Server, which was originally developed by COI Software. If a server does not support OPC Quick Client automatic tag browsing, start the OPC Quick Client from the Windows Start menu and then use the green toolbar button to manually connect to the server. The Get Error String option should be available; users should not need to add a group to the server.