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.

Our .Net program crashes when the customer tries to browse for OPC servers or i

More
05 Aug 2020 05:51 #8699 by micham
Hi,

1. Windows 10 version 2004. OS Build 19041.421.
2. After Install OPC Components, the issue is still not resolved.

Regards,
Thank you.
Michael

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

More
04 Aug 2020 07:03 #8692 by support
Thank you.

Ad 2. Does the machine runs 64-bit Windows? (if so, the EasyOpcNetDemo will run in 64-bit process by default).

Ad 4. For Windows 10, I was asking about version of Windows 10 (I know it's funny... but that's Microsoft). Windows 10 "version" is a four-digit number such as 1809, 1903, 1909 or 2004. Type WINVER into the Search box to get the necessary version info.

Ad 5 . For version 2020.1 the proper snippet is below (check the KB article; the one you listed is for versions >= 2020.3). But, that is not the whole contents of the file. Visual Studio creates app.config (and then renames it to <ExeFileName>.config) for you in the project, you probably already have it there, so just insert the snippet to its place.
<appSettings>
    <add key="OpcLabs.EasyOpc.Implementation.Native.Assemblies.EnableVC140RedistBoxer" value="false"/>
    <add key="OpcLabs.EasyOpc.Internal.OpcPSBoxing.EnableOpcCorePSBoxer" value="false"/>
    <add key="OpcLabs.EasyOpc.UA.Toolkit.ClientServer.UAClientEngineBase.EnableUACertificateGeneratorBoxer" value="false"/>
</appSettings>

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

More
03 Aug 2020 09:51 #8689 by micham
1. 32-bit process
2. Yes. C:\Program Files (x86)\OPC Labs QuickOPC 2020.1\Demos-NET\EasyOpcNetDemo\EasyOpcNetDemo.exe
3. I don't know. See the path above.
4. Windows 10
5. Currently our application doesn't have an application configuration file. Should we create one with the content below? We are using version 2020.1.
<appSettings>
<add key="OpcLabs.EasyOpc.Implementation.Native.Assemblies.EnableVC142RedistBoxer" value="false"/>
<add key="OpcLabs.EasyOpc.Internal.OpcPSBoxing.EnableOpcCorePSBoxer" value="false"/>
<add key="OpcLabs.EasyOpc.UA.Toolkit.ClientServer.UAClientEngineBase.EnableUACertificateGeneratorBoxer" value="false"/>
</appSettings>
6. I will ask the customer.
7. I will ask the customer.

Thank you.

Michael

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

More
02 Aug 2020 15:28 #8688 by support
Thank you, this is very valuable information. I have some additional questions:

1. Is your application running in a 32-bit, or 64-bit process?
2. By "Easy OPC Client", do you mean the Demo application (in .NET) that comes with QuickOPC?
3. Does the "Easy OPC Client" run in a 32-bit, or 64-bit process?
4. What is the operating system? If it is Windows 10, what is its version?
5. Can you either try to disables Prerequisite Boxing (kb.opclabs.com/How_to_disable_prerequisites_boxing ), or rebuild your application with QuickOPC 5.58.257.1 or later? Reason: We have seen crashes caused by the BoxedApp SDK component that we use, especially on newer systems, and QuickOPC 5.58.257.1 and above uses a newer BoxedApp SDK that appears to have resolved it.
6. Which version of OPC Core Components is on the machine, and can you update to recent version (from OPC Foundation Web site)?
7. With this OPC Server, are there other computers where it works OK, or does it happen on multiple computers?

Thank you

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

More
30 Jul 2020 14:15 #8683 by micham
Hi,

See the event viewer information.

Faulting application name: UCMECFG.EXE, version: 2017.173.0.0, time stamp: 0x5e7f585c
Faulting module name: ntdll.dll, version: 10.0.19041.421, time stamp: 0x6e329152
Exception code: 0xc0000005
Fault offset: 0x00077413
Faulting process id: 0x3978
Faulting application start time: 0x01d6666eb59b9b99
Faulting application path: C:\Program Files (x86)\Control-See\UCME-OPC\BIN\UCMECFG.EXE
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 69142620-dce1-4c0c-9def-d90cd59d13a2
Faulting package full name:
Faulting package-relative application ID:


=========================================

Application: UCMECFG.EXE
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at <Module>.QueryMultipleInterfaces(IUnknown*, UInt32, tagMULTI_QI*)
at <Module>.VaryingQueryMultipleInterfaces(IUnknown*, UInt32, UInt32, CComSupport**, tagMULTI_QI*, CComSupport**)
at <Module>.COCKMachine.ConnectServerList(COCKMachine*)
at <Module>.COCKMachine.ExecuteConnect(COCKMachine*)
at <Module>.CMachine.Connect(CMachine*)
at <Module>.CConsumer.RequestMachine(CConsumer*, CMachineClient*, CMachine**, Boolean)
at <Module>.CClient.ConnectMyMachine(CClient*)
at <Module>.CClient.ExecuteConnect(CClient*)
at <Module>.COCKClientBase.ExecuteConnect(COCKClientBase*)
at <Module>.CAbstractClient.HandleConnectRequest(CAbstractClient*)
at <Module>.COCKClient.ReceiveAndProcessRequests(COCKClient*)
at <Module>.COCKClient.ExecuteWork(COCKClient*)
at <Module>.CAbstractClientWorkerThread.execute(CAbstractClientWorkerThread*)
at <Module>.CBasicWorkerThread.perform(CBasicWorkerThread*)
at <Module>.CBasicWorkerThread.process(CBasicWorkerThread*)
at <Module>.CBasicWorkerThread.threadProc(Void*)

Thank you.

Michael Meirovitz
Control See

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

More
30 Jul 2020 13:44 #8681 by support
Hello,

can you please first have the customer check the Windows application event log (Event Viewer -> Windows Logs -> Application) whether there aren't any related events at the time of the crash - and if so, provide the details of such events.

Thank you

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

More
30 Jul 2020 13:32 #8680 by micham
Hi,

We have the following problem. Our customer in Malaysia is experiencing a crash each time he tries to browse for OPC Server or items.
Our program is closing without an error message when the customer tries to browse.
The OPC server is Archestra OPC server by Wonderware - OI.GATEWAY.2.

When we try it with Easy OPC Client, there is no crash.

We are using version 2020.1 build 5.57.125.1

Can we connect to the customer's server together and see the problem?

I appreciate your answer.

Best regards,
Michael Meirovitz
Control See Ltd.

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

Moderators: support
Time to create page: 0.059 seconds