titanium-as / TitaniumAS.Opc.Client

Open source .NET client library for OPC DA
MIT License
193 stars 94 forks source link

System Access Violation exception #40

Open persiansoftware opened 5 years ago

persiansoftware commented 5 years ago

my opc server is kepware and before this line, i connected successfully to the server but i receive this error when run this line in your sample : OpcDaItemResult[] results = group.AddItems(definitions);

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

please help me.

thanks

brass-daniel-oliveira commented 4 years ago

Same problem here.

jgate commented 4 years ago

I have exactly the same issue, can someone help on this..

4maself commented 4 years ago

Stumbled on this as well. Was using TitaniumAS.Opc.Client.NetCore on my .net core project. Installing TitaniumAS.Opc.Client.Core.Design and uninstalling the old one solved the issue for me.

Hope it helps anyone!

gabrielberlanda commented 3 years ago

@4maself solution worked for me! Thanks a lot

ldariva commented 1 year ago

Hi. This worked for me as well. Thanks

Pfannaa commented 6 months ago

Can confirm, this still works!