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.

System.MissingMethodException in OPC-UA

More
29 May 2024 19:39 #12819 by support
Oh, this is great to know, thanks for letting me know so quickly.

Best regards

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

More
29 May 2024 19:18 #12818 by CFrayneIonic
Issue was found in NuGet Packages.
Thank you very much.
The following user(s) said Thank You: support

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

More
29 May 2024 19:04 #12817 by support
Hello,
so far I was not able to reproduce the problem.

I suspect, however, some kind of mixup in assembly/package references. Can you please check that you do not have some additional UA-related assemblies or NuGet packages referenced?

If you do not find anything suspicious, can you send me your .csproj file? Either post it here, or, if it is confidential, email to support09 (at) opclabs.com?

Many thanks
The following user(s) said Thank You: CFrayneIonic

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

More
29 May 2024 16:12 #12816 by CFrayneIonic
1. It continues to run however none of the nodes are acquired.

2. I've ran examples from the user guide completely fine in a different solution.

3. Yes I believe so, OPCLabs QuickOPC 2023.1

4. I never ran the program on the old version as it had many errors

5. Windows Forms App

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

More
29 May 2024 15:40 #12815 by support
Hello.

Can you please provide some additional information?

1. Is your program able to continue normally after the exception is thrown (i.e. it is handled somehow), or is the exception unhandled?

2. Have you tried to open projects (for OPC UA) from the example solutions, and run them (if not, please do so) - do they also have the same problem?

3. Have you been using a previous version of QuickOPC on the same computer before?

4. If so, is it so that the same program has worked with earlier version but now it does not? Or is this a new program, only tested with this new QuickOPC version?

5. What type of project is your program? (e.g. console app, Windows Forms app, Web app, Web service, Windows service, ...)

Thank you

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

More
29 May 2024 14:58 #12814 by CFrayneIonic
Hello,
I'm modifying a program that uses QuickOPC. Every time I run the code, a System.MissingMethodException is thrown(pasted below). The code is supposed to subscribe to multiple Nodes. I'm currently running on a evaluation license for QuickOPC Ultimate.
Visual Studio Version: 17.10.0
.net Framework Installed: net8.0
Target Framework: net8.0
NuGet Package: OPCLabs.QuickOpc v5.80.192
OPC version: 2024.1
OpcLabs.EventTracing.LogEntries Error: 1 : LogEntry("OPCLabs-UAEngine",Error,0,1). INTERNAL ERROR. The OPC-UA engine might be in an unstable state.    An exception of type "System.MissingMethodException" from source "OpcLabs.EasyOpcUA" has occurred in OPC-UA SDK action 'ApplicationInstance.CheckApplicationInstanceCertificate'. The exception descend follows. (0) System.MissingMethodException OpcLabs.EasyOpcUA (<InnerValidateOrCreateOwnCertificate>b__0) -> Method not found: 'System.Threading.Tasks.Task`1<Boolean> Opc.Ua.Configuration.ApplicationInstance.CheckApplicationInstanceCertificate(Boolean, UInt16, UInt16)'.    at OpcLabs.EasyOpc.UA.Toolkit.ClientServer.SdkApplicationConfigurationClientServerApplication.<>c__DisplayClass42_0.<InnerValidateOrCreateOwnCertificate>b__0()    at OpcLabs.EasyOpc.UA.Toolkit.UAEngineBase.PerformSdkAction(UASdkCallType callType, Func`1 usingFunction, String name, Action sdkAction) 
OpcLabs.EasyOpc.UA.UAEngineBase Critical: 0 : Error "The source was not found, but some or all event logs could not be searched.  To create the source, you need permission to read all event logs to make sure that the new source name is unique.  Inaccessible logs: Security, State." writing 'Error' entry from source 'OPCLabs-UAEngine' to the event log: Internal error (only first occurrence is logged), process "SafeBox" Id 16496, current application domain "SafeBox" Id 1, entry assembly "SafeBox, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null": An exception of type "System.MissingMethodException" from source "OpcLabs.EasyOpcUA" has occurred in OPC-UA SDK action 'ApplicationInstance.CheckApplicationInstanceCertificate'. The exception descend follows.
(0) System.MissingMethodException OpcLabs.EasyOpcUA (<InnerValidateOrCreateOwnCertificate>b__0) -> Method not found: 'System.Threading.Tasks.Task`1<Boolean> Opc.Ua.Configuration.ApplicationInstance.CheckApplicationInstanceCertificate(Boolean, UInt16, UInt16)'.
   at OpcLabs.EasyOpc.UA.Toolkit.ClientServer.SdkApplicationConfigurationClientServerApplication.<>c__DisplayClass42_0.<InnerValidateOrCreateOwnCertificate>b__0()
   at OpcLabs.EasyOpc.UA.Toolkit.UAEngineBase.PerformSdkAction(UASdkCallType callType, Func`1 usingFunction, String name, Action sdkAction)

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

Moderators: support
Time to create page: 0.053 seconds