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.
Exception from HRESULT: 0x80040202 while reading and subscriping.
If you decide to use version 5.23 and don't have it at hand, let me know here and I will send you the download link by email, because it is no longer publicly available. We are also no longer committed to support 5.23; we only support the versions for .NET 4.5+. Each version has a built-in trial license, but for production use, from 5.12 it would be a paid license upgrade.
Best regards
Please Log in or Create an account to join the conversation.
- saravana48
-
Topic Author
- Visitor
-
2) Two applications running in Windows server 2008 machine and other applications in Windows 7 machine. The error raises from the Windows 7 machine.
I will compare the DCOM configuration.
Will the .NET 3.5 application compiled using QuickOPC classic 5.12 run in the client machine installed with QuickOPC 5.3?
Please Log in or Create an account to join the conversation.
Try experimenting with certain settings: www.opclabs.com/forum/connections-reconnections-com-dcom/124...-remote-machines-via-code#1392
Note that the QuickOPC version you have is quite old, that may be a factor as well.
Best regards
Please Log in or Create an account to join the conversation.
- saravana48
-
Topic Author
- Visitor
-
I haven't run under VisualStudio, it run as Standalone application in production machine.
I have reviewed the link, but it was not my case, because I haven't update the TOP server.
Moreover, the TOP server is connected with 6 client application from 6 machines. I got the error(Exception from HRESULT: 0x80040202) from the application in 6th machine, the other 5 applications are working fine without any error.
Also, the Demo Application(.NET) reads and subscribes the values without any error in 6th machine.
Please Log in or Create an account to join the conversation.
Have you read this? support.softwaretoolbox.com/app/answers/detail/a_id/1358/~/i...-try-and-connect-to-the-server .
Also, are you running your app under Visual Studio? Can you try it outside VS?
Please Log in or Create an account to join the conversation.
- saravana48
-
Topic Author
- Visitor
-
Code:
objOPCClient = New EasyDAClient
txtRead.Text = objOPCClient.ReadItemValue(txtMachineName.Text, txtServerClass.Text, txtTagName.Text)
The following error is raised while reading and subscriping the OPC tag.
ErrorMessage : Exception from HRESULT: 0x80040202
ErrorCode : -2147220990
Note:
1) I have tested the connection with server using Demo Application(.NET) in the client machine. It reads and subscribes the values without any error.
2) The client machine is connected using Wireless Network.
Please Log in or Create an account to join the conversation.