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.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Live Binding, Live Mapping
- HResult: -2147024894 (0x80070002)Could not load file or assembly OpcLabs.EasyOpc
HResult: -2147024894 (0x80070002)Could not load file or assembly OpcLabs.EasyOpc
I think I found the problem. It is due to an undocumented quirk in Visual Studio designer (for record: it only loads project-specific assemblies from the main thread).
I made a workaround that should fix it. It is in version 5.80.255 and newer. This is now on our company Web site, and on NuGet; and I will send you a link for the branded installer.
Best regards
Please Log in or Create an account to join the conversation.
please bear with, I need to test on more computers.
Regards
Please Log in or Create an account to join the conversation.
This same customer reached out again and shared a few more details when they encounter this issue. I wanted to share this with you to see if this may offer any more insight of what could be happening. The customer mentioned that this behavior is VERY inconsistent, even when trying the work around.
Please see the attached document below:
Attachments:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I will try to . However, since it does not quite depend on what *we* do, but rather on what Visual Studio internally does, it might be impossible to resolve.
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Given that there is this workaround, which is not that bad, and that finding the real cause would be really difficult, can we agree to leaving it is as it is for now?>
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I was finally able to reproduce the issue, on a different computer (with the precise Visual Studio version). But, it behaves weirdly. I only get the problem sometimes. There are limited ways to debug this inside Visual Studio; so far I could not make sense of it.
However, what I noticed is that this only ever happens to me on a new project, where the QuickOPC packages have just been introduced. I can "resolve" the issue by closing the Visual Studio, starting it again, and reopening the solution. It always worked for me then.
Can you/your customer try this too?
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Live Binding, Live Mapping
- HResult: -2147024894 (0x80070002)Could not load file or assembly OpcLabs.EasyOpc