[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.1

OPC/DCOM Connection Problem

Asked by LeZerp in DCOM, Microsoft Applications, Networking Protocols

Tags: OPC, DCOM, Windows XP

Hi all!

I am having a bit of a problem getting an OPC client on a windows XP Pro SP3 machine to connect to an OPC server on a Win 2003Server machine. Two other clients (Win 2000 pro, and 64bit Win Server 2003 pro R2 SP2) connect just fine, so I find it hard to believe that there should be anything wrong on the OPC Servers side.

Im using Opc Da Client to test the connection to the server.

The setup:

Server: 192.168.253.52, running FactoryLink OPCServer FL.OPCServer (as stated above, I dont think this is where the problem lies, as the other two clients connect with no problems)

Win 2000:  192.168.254.99, connects without problem,
Win 2003 server: 192.168.253.42, connects without problem

Win XP: 192.168.254.120, connection problem:

In the OPC Da Client, when connecting with the correct settings, the reply is:
OPC DA Client could not connected to FL.OPCServer
The hostname name or servername may be not correct 

The underlying system prompt has the following information:
INFO: DCOM : Initialize DCOM.
TRACE: DCOM : Successfully initialized DCOM, now 1 usages.
ERROR: OPCServer : Function 'IOPCServerList::CLSIDFromProgID' on remote machine failed. Error 0x80070005 - Access is den

ERROR: OPCServer : The OPC server FL.OPCServer on host 192.168.253.52 could not be found in the registry. Error 0x800700 denied.

If attempting to connect with wrong server name (i.e. other than FL.OPCServer), but correct ip, the error messages are the same.

If attempting to connect to a wrong ip (i.e. other than 192.168.253.52) , the error message in the prompt is:
INFO: DCOM : Initialize DCOM.
TRACE: DCOM : Successfully initialized DCOM, now 1 usages.
ERROR: OPCServer : Cannot connect to OPCBrowser on remote machine. Error 0x800706BA - The RPC server is unavailable.

ERROR: OPCServer : Function 'IOPCServerList::CLSIDFromProgID' on remote machine failed. Error 0x800706BA - The RPC server is unavailable.

ERROR: OPCServer : The OPC server FL.OPCServer on host 192.168.253.152 could not be found in the registry. Error 0x800706BA - The RPC server is unavailable.

So it appears to be the case that the XP machine does connect to something (in the registry?) prevents the client from establishing the connection, and since the two other clients can connect, I dont think there is a problem with the client either.

I have compared the setting on all 3 clients, and I dont see any differences in their configuration or the configuration of OPCEnum.
I have also followed the OPC & DCOM Troubleshooting: Quick Start Guide and OPC and DCOM: 5 Things You Need To Know guides without much luck, either.

Any help or pointers would be much appreciated!

Thanks in advance,
Morten
[+][-]06/02/09 06:27 AM, ID: 24526479Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/03/09 12:05 AM, ID: 24533892Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/03/09 03:32 AM, ID: 24534897Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: DCOM, Microsoft Applications, Networking Protocols
Tags: OPC, DCOM, Windows XP
Sign Up Now!
Solution Provided By: EDDYKT
Participating Experts: 2
Solution Grade: B
 
[+][-]06/03/09 04:16 PM, ID: 24542329Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/08/09 05:54 AM, ID: 24571291Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625