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.
RPC Server Unavailable in simple DA client
I do not have true explanation for this either. Internally, the software does do anything with the host name/address: It just passes it to underlying COM services. And as far as I can tell, both "localhost" and the actual IP address should work (provided that the "localhost" has its proper entry in the HOSTS file).
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
this exception is coming from DCOM infrastructure and is almost always related to setup problems or network errors.
I have some questions.
1. Are you saying that you *always* get this error in the DataChange event, being totally unable to receive the data, or is it just transient error?
2. Are other operations (such as Read, Browse) possible, or do they also return this error?
3. Is the server you are connecting to on the same machine, or remote?
4. When you refer to other OPC clients being able to subscribe, do you run them on the same client machine as were you have the problem?
5. Have you double-checked the machine name in the arguments passed to the subscribe calls?
6. Are you able to subscribe to some other servers (for example, if your desired server is remote on the network, can you subscribe to other servers on the network, and can you subscribe to local servers?)
7. What type of project is your application? (such as Windows Forms, WPF, Console app, Web app, Web service, etc.)?
Thank you
Please Log in or Create an account to join the conversation.
Thanks for the help.
Code to get exception:
static Exception GetException(EasyDAItemChangedEventArgs e_DA)
{
if (e_DA != null) return e_DA.Exception;
else return null;
}
Please Log in or Create an account to join the conversation.