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.
BadInvalidArgument
Best regards
Please Log in or Create an account to join the conversation.
The inner exception give the following message:
Could not find binding type for scheme: 'ocp.tcp'.
This lead us to the error, a typo in the data provided by our customer the url was incorrect and should have been opc.tcp
Once changed, everything worked correctly.
In any case, I would like to say thank you for your time and patience with this matter. Your support was excellent and very much appreciated
Please Log in or Create an account to join the conversation.
Best regards
Please Log in or Create an account to join the conversation.
After taking a try catch out of our code, the following error is generated:
An OPC-UA operation failure with error code -2136276992 (0x80AB0000) occurred, originating from ''. The inner OPC-UA service exception with service result 'BadInvalidArgument' contains details about the problem.
Please Log in or Create an account to join the conversation.
You can also enumerate all elements of the dictionary to obtain various pieces of license info.
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The given key was not present in the dictionary.
Please Log in or Create an account to join the conversation.
You can use this:
// Shows how to obtain the serial number of the active license, and determine whether it is a demo or trial license.
using System;
using OpcLabs.EasyOpc.UA;
namespace UADocExamples._EasyUAClient
{
class LicenseInfo
{
public static void SerialNumber()
{
// Instantiate the client object.
var client = new EasyUAClient();
// Obtain the serial number from the license info.
long serialNumber = (uint)client.LicenseInfo["Multipurpose.SerialNumber"];
// Display the serial number.
Console.WriteLine("SerialNumber: {0}", serialNumber);
// Determine whether we are running as demo or trial.
if ((1111110000 <= serialNumber) && (serialNumber <= 1111119999))
Console.WriteLine("This is a demo or trial license.");
else
Console.WriteLine("This is not a demo or trial license.");
}
}
}
(EasyDAClient or EasyAEClient can be used in place of EasyUAClient)
From your description, however, I am almost sure that the problem is not related to the license, because all our licensing error texts clearly identify the problem as being with the license.
What is the precise exception you are getting?
Best regards
Please Log in or Create an account to join the conversation.
We have created a service that uses the QucikOPC .dll files. We installed the service on the target server. Before running, we ran the licence manager software to register the QuickOPC licence on the server.
When the service is run, we get an error stating the OPC UA server we are trying to connect to cannot be reached.
We believe this is because the licence is not being properly registered on the server. When we installed the licence, the licence file was not deleted, which it was on installs on other servers.
Is there a way, outside of the licence manager, to check if the licence is correctly installed?
Thanks.
Please Log in or Create an account to join the conversation.