- Posts: 345
- Thank you received: 4
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-Classic in .NET
- Connections, Reconnections, COM/DCOM
- DeltaV browsing issue
DeltaV browsing issue
What is your suggestion?
Thanks.
Michael
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So, what is the result of "Windows unable to load this 64-bit DLL into a 32-bit process"...?
Thanks.
Michael
Please Log in or Create an account to join the conversation.
after inspecting the exception more closely, I could determine that your program is *not* a 32-bit application. It runs in a 64-bit process, because the assembly it came from is App_Web_OpcLabs.EasyOpcClassicRaw.amd64, and it is impossible for Windows to load this 64-bit DLL into a 32-bit process.
Please Log in or Create an account to join the conversation.
Our product which uses your browsing component is a 32 bit program.
We have tried with our 32 bit program and also with your 64 bit Easy OPC client.
In both cases, the result is the same - exception and not possible to browse items.
Thanks,
Michael
Please Log in or Create an account to join the conversation.
Now you wrote "Our program that is using your component is a 32 bit application."
I think this is a contradiction. Can you please clarify that.
All .NET binaries that come with QuickOPC are compiled for "AnyCPU" target. That is, they run in 32-bit process on 32-bit systems, and in 64-bit process on 64-bit systems. Changing them to always run in 32-bit process is possible either by a) opening the corresponding example solution (because they come with source code), changing the target CPU in project properties, and rebuilding, or b) patching the existing binary using the CORFLAGS utility, docs.microsoft.com/en-us/dotnet/framework/tools/corflags-exe-corflags-conversion-tool .
Proper registration is a task for the server vendor. Windows normally "reflects" the corresponding parts of the registry between the 32- and 64-bit worlds, so the component vendors do not necessarily have to do anything special, but it does not always work. First we need to establish whether the following two facts are both true: 1) all 32-bit local clients work and 2) no 64-bit clients work.
Best regards
Please Log in or Create an account to join the conversation.
Do you have a 32 bit version of the EasyOPCClient demo program?
Can you please tel me if it possible to register the OPC server in the 64-bit part of the registry?
Thanks
Michael
Please Log in or Create an account to join the conversation.
It is quite likely that the OPC server has not registered itself in 64-bit part of the registry.
(I assume all other OPC clients that you have tested actually run in 32-processes, right? Note: Task Manager can show this).
Best regards
Please Log in or Create an account to join the conversation.
Browsing OPC items fails - exception - Class not registered.
Read/Write to OPC items fails - exception - Class not registered.
Matrikon OPC Clients and other OPC client can browse OPC items.
64 bits
Client and server on the same machine.
Thanks.
Michael
Please Log in or Create an account to join the conversation.
Browsing OPC tags - doesn't work - Class no registered.
Reading OPC item value - Class no registered.
It always happens.
64 bits
Client and server on the same machine. Only happens with DeltaV OPC server.
Thanks.
Michael
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- Connections, Reconnections, COM/DCOM
- DeltaV browsing issue