Suddenly, I ran into the following error message when I tried to run my program. It used to work before but somehow I encountered this error suddenly. I tried uninstall and reinistall OPC Lab and also from NuGet but it did not fix the issue. I am able to build the application but ran into issue when I tried up click on buttons that attempt to update or read OPC UA tags from Kepware EX 5.18. My Kepware EX is working fine.
File Attachment:
File Name:
Program.cs
File Size:1 KB
File Attachment:
File Name:
Program.cs
File Size:1 KB
Please help,
Thanks
Khanh
Below is the debug ouput from VS2017
'OPCUATest.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\kqh8269\source\repos\OPCUATest\OPCUATest\bin\Debug\OPCUATest.exe'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\Users\kqh8269\source\repos\OPCUATest\OPCUATest\bin\Debug\OpcLabs.EasyOpcUA.dll'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\Users\kqh8269\source\repos\OPCUATest\OPCUATest\bin\Debug\OpcLabs.BaseLib.dll'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'Opc.Ua.Client'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'Opc.Ua.Core'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'Opc.Ua.Configuration'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\Users\kqh8269\source\repos\OPCUATest\OPCUATest\bin\Debug\OpcLabs.BaseLibForms.dll'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll'. Symbols loaded.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'BoxedAppSDK.Managed'. Cannot find or open the PDB file.
'OPCUATest.exe' (CLR v4.0.30319: OPCUATest.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll'. Symbols loaded.
Exception thrown: 'Opc.Ua.ServiceResultException' in Opc.Ua.Core
Exception thrown: 'Opc.Ua.ServiceResultException' in Opc.Ua.Core
Exception thrown: 'System.ObjectDisposedException' in Opc.Ua.Core
The thread 0x16fc has exited with code 0 (0x0).
The thread 0x3bfc has exited with code 0 (0x0).
The thread 0x14d0 has exited with code 0 (0x0).
The thread 0x3cb0 has exited with code 0 (0x0).
The thread 0x1470 has exited with code 0 (0x0).
The thread 0xd34 has exited with code 0 (0x0).
The thread 0x456c has exited with code 0 (0x0).
The thread 0x14b4 has exited with code 0 (0x0).
The program '[5140] OPCUATest.exe' has exited with code 0 (0x0).