Professional OPC
Development Tools

logos

An OPC operation failure with error code 0xC0040007

More
12 Dec 2013 10:25 #1602 by support
With likeliness close to certainty, either your code is passing an unknown ItemID to the server, or the server fails to recognize the correct ItemID. QuickOPC is just passig the ItemID from your app to the server, it does not modify it in any way.

Best regards

Please Log in or Create an account to join the conversation.

More
12 Dec 2013 10:05 #1601 by trobalo
Hi,

We have an engine running over time that retrieves opc values (single and multi values). However it stops working after a few hours giving this error message:

OpcLabs.EasyOpc.OpcException: An OPC operation failure with error code -1073479673 (0xC0040007) occurred, originating from 'Softing.OPC.OCT.DA.1'. The inner exception contains details about the problem. ---> System.Runtime.InteropServices.COMException: The item ID is not defined in the server address space or no longer exists in the server address space.
--- End of inner exception stack trace ---
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.CheckSuccess(OperationResult operationResult)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.ReadItemValue(ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, DAReadParameters readParameters)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.ReadItemValue(ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.ReadItemValue(String machineName, String serverClass, String itemId, VarType dataType)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.ReadItemValue(String machineName, String serverClass, String itemId)


We have a XML -> to DA bridge from Softing OPC that seems works fine :(

Any ideas?

We use the OPCLABS 5.2 version.

Regards

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.253 seconds

      

 Recommend this on Google