- Posts: 363
- Thank you received: 4
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.NotSupportedException: Specified method is not supported
When I run the project in DEBUG mode, I can browse OPC DA (or UA) items, but when I run the Release version, I get an exception. See below.
Thank you.
Michael
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'OpcLabs.EasyOpc.UA.EasyUAClientCore' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Microsoft.Extensions.Primitives.StringSegment.Equals(String text, StringComparison comparisonType)
at Microsoft.Extensions.FileProviders.Physical.Internal.PathUtils.PathNavigatesAboveRoot(String path)
at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.<.ctor>b__1_0()
at Microsoft.Extensions.Primitives.ChangeToken.ChangeTokenRegistration`1..ctor(Func`1 changeTokenProducer, Action`1 changeTokenConsumer, TState state)
at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func`1 changeTokenProducer, Action changeTokenConsumer)
at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(FileConfigurationSource source)
at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
at Microsoft.Extensions.Hosting.HostBuilder.InitializeAppConfiguration()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at OpcLabs.BaseLib.Extensions.Hosting.StaticHost.CreateHost()
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at OpcLabs.BaseLib.Extensions.Hosting.StaticHost.GetConfiguration()
at OpcLabs.EasyOpc.UA.EasyUAClientCore..cctor()
--- End of inner exception stack trace ---
at OpcLabs.EasyOpc.UA.EasyUAClientCore..ctor()
at OpcLabs.EasyOpc.UA.EasyUAClient..ctor()
at UCMECFG.OPC_UA.GlobalTagBrowseUA(String MyServerName)
at UCMECFG.Module1.GlobalTagBrowse(String MyServer)
at UCMECFG.Design1alert.Command4_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9310.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
UCMECFG
Assembly Version: 2025.117.0.0
Win32 Version: 2025.117.0.0
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/UCMECFG.EXE
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9310.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9316.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9251.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
Xceed.Zip.v6.3
Assembly Version: 6.3.17281.13580
Win32 Version: 6.3.17281.13580
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Xceed.Zip.v6.3.DLL
ChilkatDotNet47
Assembly Version: 9.5.0.97
Win32 Version: 9.5.0.97
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/ChilkatDotNet47.DLL
KellermanSoftware.NET-Encryption-Library
Assembly Version: 2.18.0.0
Win32 Version: 2.18.0.0
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/KellermanSoftware.NET-Encryption-Library.DLL
Xceed.Compression.v6.3
Assembly Version: 6.3.17281.13580
Win32 Version: 6.3.17281.13580
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Xceed.Compression.v6.3.DLL
Xceed.FileSystem.v6.3
Assembly Version: 6.3.17281.13580
Win32 Version: 6.3.17281.13580
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Xceed.FileSystem.v6.3.DLL
OpcLabs.EasyOpcUAComponents
Assembly Version: 5.82.395.1
Win32 Version: 5.82.395.1
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/OpcLabs.EasyOpcUAComponents.DLL
OpcLabs.EasyOpcUA
Assembly Version: 5.82.395.1
Win32 Version: 5.82.395.1
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/OpcLabs.EasyOpcUA.DLL
OpcLabs.BaseLib
Assembly Version: 5.82.395.1
Win32 Version: 5.82.395.1
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/OpcLabs.BaseLib.DLL
OpcLabs.EasyOpcForms
Assembly Version: 5.82.395.1
Win32 Version: 5.82.395.1
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/OpcLabs.EasyOpcForms.DLL
OpcLabs.BaseLibForms
Assembly Version: 5.82.395.1
Win32 Version: 5.82.395.1
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/OpcLabs.BaseLibForms.DLL
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
JetBrains.Annotations
Assembly Version: 4242.42.42.42
Win32 Version: 2024.3.0
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/JetBrains.Annotations.DLL
Microsoft.Extensions.DependencyInjection.Abstractions
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.DependencyInjection.Abstractions.DLL
Microsoft.Extensions.Configuration.Abstractions
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.Abstractions.DLL
Opc.Ua.Core
Assembly Version: 1.5.375.0
Win32 Version: 1.5.375.457
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Opc.Ua.Core.DLL
Opc.Ua.Client
Assembly Version: 1.5.375.0
Win32 Version: 1.5.375.457
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Opc.Ua.Client.DLL
Microsoft.Extensions.FileProviders.Abstractions
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.FileProviders.Abstractions.DLL
Microsoft.Extensions.Primitives
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Primitives.DLL
Opc.Ua.Configuration
Assembly Version: 1.5.375.0
Win32 Version: 1.5.375.457
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Opc.Ua.Configuration.DLL
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
System.IdentityModel
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
Microsoft.Extensions.Logging.Abstractions
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Logging.Abstractions.DLL
Microsoft.Extensions.FileProviders.Physical
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.FileProviders.Physical.DLL
Microsoft.Extensions.Caching.Abstractions
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Caching.Abstractions.DLL
BoxedAppSDK.Managed
Assembly Version: 2020.5.0.0
Win32 Version: 2020.5.0.0
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/BoxedAppSDK.Managed.DLL
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9316.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
Microsoft.Extensions.Hosting.Abstractions
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Hosting.Abstractions.DLL
Microsoft.Extensions.Hosting
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Hosting.DLL
Microsoft.Extensions.DependencyInjection
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.DependencyInjection.DLL
System.Diagnostics.DiagnosticSource
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/System.Diagnostics.DiagnosticSource.DLL
System.ValueTuple
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll
Microsoft.Extensions.Configuration
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.DLL
Microsoft.Extensions.Configuration.EnvironmentVariables
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.EnvironmentVariables.DLL
Microsoft.Extensions.Configuration.CommandLine
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.CommandLine.DLL
Microsoft.Extensions.Configuration.FileExtensions
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.FileExtensions.DLL
Microsoft.Extensions.Configuration.Json
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.Json.DLL
Microsoft.Extensions.Configuration.UserSecrets
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.UserSecrets.DLL
Microsoft.Extensions.Configuration.Binder
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.Configuration.Binder.DLL
Microsoft.Extensions.FileSystemGlobbing
Assembly Version: 9.0.0.3
Win32 Version: 9.0.325.11113
CodeBase: file:///F:/Program%20Files%20(x86)/Control-See/UCME-OPC/BIN/Microsoft.Extensions.FileSystemGlobbing.DLL
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Please Log in or Create an account to join the conversation.
Thank you. This sis now resolved.
Can you please send me the license for this version?
Thank you.
Michael Meirovitz
Control See
Please Log in or Create an account to join the conversation.
parameters have been added to the UIAdministerApplication method since the version you used before. There are are now two Boolean parameters at the end:
opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...2~UIAdministerApplication.html
The suggestion is to use True for both of them.
Best regards
Please Log in or Create an account to join the conversation.
After installing the new Nuget version and compiling the project, I get the following error:
Error BC30455 Argument not specified for parameter 'allowChangePrivateKeyPassword' of 'Public Shared Overloads Sub UIAdministerApplication(application As IEasyUAClientServerApplication, owner As IWin32Window, clientSelector As EasyUAClientSelector, allowPullCertificateManagement As Boolean, allowChangePrivateKeyPassword As Boolean)'. UCMECFG

Any idea why?
Thank you.
Michael
Please Log in or Create an account to join the conversation.
We shall try this new Nuget version.
Our current version is using Nuget Package 5.80.192. The customer has removed this version and installed an older version that was built with Quick OPC version 2022.1.
Using this older version he could browse DeltaV items with no problems.
Thank you.
Michael
Please Log in or Create an account to join the conversation.
can you please rebuild your product with updated QuickOPC (5.82.395, now on nuget.org and our Downloads page), and ask the customer to repeat the test and send over the full error message as before?
The update is not meant to fix the problem, but it adds diagnostic information into the error message.
Regards
Please Log in or Create an account to join the conversation.
Not a specific idea at the moment. But what we can do is that we can improve the error diagnostics in this particular case, as it is sub-optimal at the moment, and it does not expose some important information about where precisely the error happened.
I need to assign this to the developer. When it is finished, we will have a new build and I will ask you to re-build your software with it and reinstall on the customer site. I suppose you are on the latest QuickOPC version (2025.1), because that's what we will be updating. Please allow some time for this.
Regards
Please Log in or Create an account to join the conversation.
The customer installed the 64 bit version of the OPC Core components, but the problem persists. Any other idea?
Thank you.
Michael
Please Log in or Create an account to join the conversation.
I suggest to change it in your Installshield (there is a 64-bit merge module in the same ZIP as well).
On the particular customer's computer, it is fine to just uninstall the 32-bit components (if they appear in Add/Remove programs), and install the 64-bit components form .MSI again.
I cannot be sure whether it fixes the problem, bit there is a strong relation (it appears as missing OPC proxy for 64-bits).
Best regards
Please Log in or Create an account to join the conversation.
Thank you for your answer.
We are using the following merge module in InstallShield:
OPC COM ProxyStub Merge Module (x86) - OPC COM ProxyStub MergeModule (x86).msm
Version 3.00.108.
This is the 32bit version of the OPC Core components, not the 64 bits.
Please advise how to proceed.
Thank you.
Michael
Please Log in or Create an account to join the conversation.