Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Error "An OPC-UA operation failure with error code -2147483648 ..." in VM

More
03 Mar 2022 07:05 #10688 by support
Hello.
I am sorry, but you still do not seem to be providing me with the right information. There seems to be some confusion about the nested exceptions.

Assuming that you have a try/catch block around the "read", and it catches "ex", then what I have asked for mainly is "ex.InnerException.Message".
In order to avoid further confusion, I suggest that you log and send me "ex.GetDescendLines()", where GetDescendLines() is an extension method in OpcLabs.BaseLib.Extensions.Internal namespace.

Regards

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

More
02 Mar 2022 11:29 #10685 by v.parma
Sorry but I understand, from "ex.InnerException.InnerException.Message" I receive this message:

An OPC-UA operation failure with error code -2147483648 (0x80000000) occurred, originating from 'System'. The inner OPC-UA service exception with service result 'Bad' contains details about the problem.The operation completed successfully.


My complete log is:

Title: ns=3;s=DB1001 StatusTable_Alarms_Alm GEN.12 - Main Panel High Temperature (4S3)
Message: An OPC-UA operation failure with error code -2147483648 (0x80000000) occurred, originating from 'System'. The inner OPC-UA service exception with service result 'Bad' contains details about the problem.The operation completed successfully
StackTrace: at OpcLabs.EasyOpc.UA.EasyUAClient.CheckSuccess(OperationResult operationResult)
at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.ReadValue(IEasyUAClient client, UAReadArguments readArguments)
at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.ReadValue(IEasyUAClient client, UAEndpointDescriptor endpointDescriptor, UANodeDescriptor nodeDescriptor)
at OPC2SQL.frMain.PollingStatus()
Date/Time: 3/1/2022 3:42:34 PM

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

More
02 Mar 2022 09:36 #10684 by support
Hello.
This is not what I have asked for.

I need you to provide the contents of the .InnerException property (mainly, its .Message) of the exception object you received.

regards

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

More
02 Mar 2022 08:31 #10682 by v.parma
From Windows Events Logs:

Faulting application name: tcpsvcs.exe, version: 10.0.19041.1, time stamp: 0x84e4661d
Faulting module name: ntdll.dll, version: 10.0.19041.964, time stamp: 0xb7db0838
Exception code: 0xc0000005
Fault offset: 0x00044544
Faulting process id: 0x1e0c
Faulting application start time: 0x01d82e0ed34f6c73
Faulting application path: C:\WINDOWS\SysWOW64\tcpsvcs.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 987cc716-82df-4f04-a790-4ba76e660b4e
Faulting package full name:
Faulting package-relative application ID:

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

More
02 Mar 2022 07:30 #10681 by support
Hello.

I need the inner exception, for troubleshooting.

Best regards

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

More
02 Mar 2022 06:52 #10680 by v.parma
Hi,
I have a my program with QuickOPC that working fine from one year on one Win10 PC, my customer ask my to move the program on a new Win10 Virtual Machine and on reading function I recive this error:

An OPC-UA operation failure with error code -2147483648 (0x80000000) occurred, originating from 'System'. The inner OPC-UA service exception with service result 'Bad' contains details about the problem.The operation completed successfully.


With OPC Expert Tool I can connect and read tag on OPC Server from this machine.

Anyone can help me?
Thanks.

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

Moderators: support
Time to create page: 0.064 seconds