Professional OPC
Development Tools

logos

PlatformNotSupportedException: Operation is not supported on this platform

More
29 Sep 2019 06:26 #7770 by support
Hello,
is your project targeting .NET Core or .NET Framework?

Regards

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

More
28 Sep 2019 16:33 #7768 by cfza
Good day,

I am getting the following Exception when I try to create a new EasyDAClient object. Please can you assist me?

System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'OpcLabs.EasyOpc.DataAccess.EasyDAClient' threw an exception.
Source=OpcLabs.EasyOpcClassic
StackTrace:
at OpcLabs.EasyOpc.DataAccess.EasyDAClient..ctor()
at TestConsole.Program.Main(String[] args) in C:\Users\User\Development\TestConsole\Program.cs:line 10

Inner Exception 1:
TypeInitializationException: The type initializer for 'OpcLabs.EasyOpc.Implementations.Native.Assemblies' threw an exception.

Inner Exception 2:
TargetInvocationException: Exception has been thrown by the target of an invocation.

Inner Exception 3:
PlatformNotSupportedException: Operation is not supported on this platform.

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

Moderators: support
Time to create page: 0.166 seconds

      

 Recommend this on Google