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.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Connections, Reconnections, Certificates
- connection failure in dot net core error : 0x808A0000
connection failure in dot net core error : 0x808A0000
I am glad that it works now.
Best regards
Please Log in or Create an account to join the conversation.
You are right.
When I am trying from ubuntu, it accepts the IP address instead of the computer name.
IP Address is supporting in both windows and Linux without any issues.
Please find below the code modification.
UAEndpointDescriptor endpointDescriptor =
((UAEndpointDescriptor)"opc.tcp://192.168.0.104:49320")
.WithUserNameIdentity("Administrator", "Password");
Thanks for your support
with regards,
senthil
Please Log in or Create an account to join the conversation.
None of that is directly related to QuickOPC.
Best regards
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
thank you for the details.
I wonder if host name resolution works fine (Linux won't automatically see Windows computer names! ) and whether the port can be reached.
For start, if you execute "ping desktop1234", what output does it give you?
Thank you
Please Log in or Create an account to join the conversation.
please find below comments
1. Please confirm that the same sample works in its original state - i.e., when connecting to our public demo server.
The source code at its original state is working fine in ubuntu. please find below a screenshot
2. Please post here the code modification you made to connect it to the Kepware server
source code:
the below code is working fine in the windows platform. When I am trying to debug from windows, it looks great.
using System;
using System.Threading;
using OpcLabs.BaseLib.OperationModel;
using OpcLabs.EasyOpc.UA;
using OpcLabs.EasyOpc.UA.Extensions;
using OpcLabs.EasyOpc.UA.OperationModel;
namespace UADocExamples._EasyUAClient
{
partial class ReadMultipleValues
{
public static void Main1()
{
UAEndpointDescriptor endpointDescriptor =
((UAEndpointDescriptor)"opc.tcp://desktop1234:49320")
.WithUserNameIdentity("Administrator", "Password");
//UAEndpointDescriptor endpointDescriptor =
// "opc.tcp://opcua.demo-this.com:51210/UA/SampleServer";
//// or "http://opcua.demo-this.com:51211/UA/SampleServer" (not in .NET Standard)
//// or "https://opcua.demo-this.com:51212/UA/SampleServer/"
// Instantiate the client object
var client = new EasyUAClient();
// Obtain values. By default, the value attributes of the nodes will be read.
ValueResult[] valueResultArray = client.ReadMultipleValues(new[]
{
new UAReadArguments(endpointDescriptor, "ns=2;s=Channel1.Device1.Tag1"),
new UAReadArguments(endpointDescriptor, "ns=2;s=Channel1.Device1.Tag2")
//new UAReadArguments(endpointDescriptor, "nsu=http://test.org/UA/Data/;i=10853"),
//new UAReadArguments(endpointDescriptor, "nsu=http://test.org/UA/Data/;i=10855")
});
// Display results
foreach (ValueResult valueResult in valueResultArray)
{
if (valueResult.Succeeded)
Console.WriteLine("Value: {0}", valueResult.Value);
else
// Console.WriteLine("*** Failure: {0}", valueResult.ErrorMessageBrief);
Console.WriteLine("*** Failure: {0}", valueResult.ErrorMessage); //Modified code for action item 3.as you mentioned in the below reply
}
}
}
}
the same out file, when I am ported to ubuntu and executing, it is not connecting to kepware OPC Server
please kindly help me to resolve the issue
with regards,
senthil
Attachments:
Please Log in or Create an account to join the conversation.
I have some question.
1. Please confirm that the same sample works in its original state - i.e when connecting to our public demo server.
2. Please post here the code modification you made to connect it to the Kepware server.
3. Please modify the error handling part in the example so that it prints out more detailed error message, re-run, and post here the full error message it will give. The error handling change is as follows: Replace
Console.WriteLine("*** Failure: {0}", valueResult.ErrorMessageBrief);
Console.WriteLine("*** Failure: {0}", valueResult.ErrorMessage);
Thank you, and best regards
Please Log in or Create an account to join the conversation.
I was trying to access OPC UA Server ( Kepware server) in windows machine.
My Quick OPC OPC UA client is running in ubuntu 20.04.2 LTS
I am using the dot net core sample application from Quick OPC.
while publishing, I mentioned as Linux x64 and self-contained application
while executing the code I am getting the error code 0x808A0000. please kindly guide me to resolve the issue
please find attached error code image.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Connections, Reconnections, Certificates
- connection failure in dot net core error : 0x808A0000