- Posts: 11
- Thank you received: 1
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.
License issue
- eshaq.quadri
-
Topic Author
- Offline
- Premium Member
-
Please Log in or Create an account to join the conversation.
I think you misunderstood question #4. The OPC UA application certificates have absolutely nothing to do with QuickOPC licensing. I will be assuming that you are not supplying your own OPC UA application certificate then; correct me if this is not the case.
It is clear from the error message that the user account that runs the application is missing some permissions to some all all directories under C:\ProgramData\OPC Foundation\CertificateStores\ . Please try this:
1. Inspect all sub-directories C:\ProgramData\OPC Foundation\CertificateStores\ (recursively), and remove any files that start with "QC conel".
2. Using the Windows security permissions settings, make sure that the user account that runs the application can read/write&modify all sub-directories of C:\ProgramData\OPC Foundation\CertificateStores\ (recursively).
3. Run your program again.
Best regards
Please Log in or Create an account to join the conversation.
- eshaq.quadri
-
Topic Author
- Offline
- Premium Member
-
- Posts: 11
- Thank you received: 1
.net framework
Its Windows console app
We are attaching the license under quick opc provided when we purchased the OPC
we are running under admin priveleges
Please Log in or Create an account to join the conversation.
I have some additional questions:
1. Which QuickOPC version are you using?
2. Are you targeting .NET Framework, or .NET Core/.NET 6+?
3. What type of project are you building? (such as Windows desktop app, Windows console app, Web service, Windows service, ...)
4. Are you trying to supply your own OPC UA application certificate, or do you rely on QuickOPC to create it for you (the default behavior)?
5. Are you running the application under normal user account, or an account with admin privileges?
Thank you
Please Log in or Create an account to join the conversation.
- eshaq.quadri
-
Topic Author
- Offline
- Premium Member
-
- Posts: 11
- Thank you received: 1
we are encountering below error when fetching tags. Please guide on it.
An OPC-UA operation failure with error ID 'OpcLabs.UAEngine=1' occurred, originating from 'Opc.Ua.Core' and with depth of 2. The inner exception, of type "OpcLabs.EasyOpc.UA.Engine.UAEngineException", contains details about the problem. at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.Read(IEasyUAClient client, UAReadArguments readArguments)
at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.Read(IEasyUAClient client, UAEndpointDescriptor endpointDescriptor, UANodeDescriptor nodeDescriptor)
at QC_conel.Program.Read_Multiple(Boolean isUpdateDb) in \\sharemedia\Source Codes\APIs\Maximo Integration\PLCData\QC conel\Program.cs:line 79
UA SDK error (Opc.UA.ServiceResult=0x801A0000) in 'ApplicationInstance.CheckApplicationInstanceCertificate'. OPC UA service result - {BadCertificateUntrusted}. The certificate is not trusted.
+ The error occurred while creating or checking the (client) application instance certificate. Check event log entries for errors and warnings.
+ Suggestion: Check the trusted peers certificate store for the presence of the application instance certificate. This error can happen if the instance certificate is in the application instance store, but not in the trusted peers certificate store.
+ The certificate generator path was "E:\Scheduled Tasks\Maximo Integration\QCs_PLC - Copy\Opc.Ua.CertificateGenerator.exe".
+ This is an engine-level error. It is unrelated to any specific target server connection.
+ Connection attempt #1; last connected at 1/1/0001 12:00:00 AM (local); unconnected for 00:00:00.2190000.
+ The client method called (or event/callback invoked) was 'ReadMultiple[1]'. == Activity Trace ==
Following (

SDK trace: Checking application instance certificate.
SDK trace: Checking application instance certificate. CN=QC conel, DC=SRV-Tabadul
2*Exception: {Opc.Ua.ServiceResultException} Self Signed Certificate is not trusted. IssuerName: CN=QC conel, DC=SRV-Tabadul
SDK trace: Certificate 'CN=QC conel, DC=SRV-Tabadul' rejected. Reason=BadCertificateUntrusted
SDK trace: Writing rejected certificate to directory: [Directory]%CommonApplicationData%\OPC Foundation\CertificateStores\RejectedCertificates
Exception: {System.UnauthorizedAccessException} Access to the path 'C:\ProgramData\OPC Foundation\CertificateStores\RejectedCertificates\private\QC conel [60641CF8AA864A0B665E3C6F8E9233EECC6730AC].pfx' is denied.
SDK trace: Could not write certificate to directory: [Directory]%CommonApplicationData%\OPC Foundation\CertificateStores\RejectedCertificates UnauthorizedAccessException 'Access to the path 'C:\ProgramData\OPC Foundation\CertificateStores\RejectedCertificates\private\QC conel [60641CF8AA864A0B665E3C6F8E9233EECC6730AC].pfx' is denied.'
Please Log in or Create an account to join the conversation.