- Posts: 8
- Thank you received: 0
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.
"An invalid handle was specified" after app. 25 sec.
In UserInterface.Designer.vb:
The two lines combined produce the error. Note that I have only imported the libraries
And the two lines in the designer. Nothing else of OPC has been defined in the code. The pre-compiled executable works fine, but the demo UA code (which contains the lines above as well) still crashes.
Please Log in or Create an account to join the conversation.
The demo UA .exe which is provided by OPCLabs works fine without any crashes. I also figured out it crashes only while being debugged by visual studio (2017 Community Edition, .NET Framework 4.5.2). When the program is compiled and I browse to the bin/releases folder to run the program it works fine without errors as well.
I suspect I am doing something wrong in Visual Studio itself, or a setting has been faulty configured. [strike]Since this only happens when the OPCLabs library is imported in VS, I'm positive it has something to do with it.[/strike]
Thanks so far, I hope you're able to help to figure out what could be causing this.
Kindest regards,
Reno
Please Log in or Create an account to join the conversation.
What you reported is pretty weird. Does it only happen when you build the programs in Visual Studio, or does the pre-compiled demo (in binary, .EXE) that is installed with the product also crash in the same way?
Best regards
Please Log in or Create an account to join the conversation.
I'm trying to get an EasyUAClient running in a .NET environment. The program works fine, but every time when I import the OpcLabs.EasyOpc.UA library the program crashes after app. 25 seconds with the following error message:
Even with the example programs provided by OPCLabs an error occurs after 25 sec.
The full debug log:
I guess I am missing something really obvious, but I can't figure out what.
I hope someone is able to help me. Thanks in advance and have a nice day!
Kindest regards,
Reno
Please Log in or Create an account to join the conversation.