Solved

How do I ensure an OPC (2.0) server is correctly registered.?

Posted on 2007-11-19
5
1,299 Views
Last Modified: 2008-02-12
When I try to start or connect to an OPC (2.0) server installed on  a windows server 2003 (sp2) I get either a CoCreateinstance Access deined type error or a "QueryInterface(IID_IOPCServer) returned E_NOINTERFACE for server ....etc .."  type error. What are the registration requirements and security settings on a 2003 server
0
Comment
Question by:ltait
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 20317127
I'm not at all familiar with this product, but from looking around I see a lot of references to SDK for it.

If this article is not going down the right path, please let us know.

http://www.win-tech.com/html/opcstk.htm

0
 

Author Comment

by:ltait
ID: 20321673
The OPC server in question is currently running on an old Win NT4.0 SP6 serrver. The server has two tools to handle the registration, and both operate correctly . The same tools seem to install the OPC server correctly under 2003 but the resulting service has to have the DCOM security settings adjusted to alllow connection by anonymous logins using dcom impersonation (?)  It seems very different than setting the dcom in NT(straight forward if I remember).  What are all the hidden settings I have to set in the security registry entries etc. to get this OPC server to allow diverse OPC clients to attach...
0
 
LVL 1

Expert Comment

by:davidbaumann
ID: 20337635
You already tried 'dcomcnfg'?
Here you can set all everything...
0
 

Author Comment

by:ltait
ID: 20338940
Hello David
I have already tried just about every combination I could think of from connect to impersonate . So I need someone who is using a legacy OPC 2 product on a windows 2003 (SP2) server (std)  and I would copy all the settings in the General, security,  end limits, etc. sections to see if it would help...
0
 

Accepted Solution

by:
ltait earned 0 total points
ID: 20797568
Well, the best solution is to by-pass DCom altogether. I am now using  Matrikon's OPC tunneller that is fully compatible with windows server 2003 and is a snap to set -up. SOfting also make an OPC tunneller that seems just as easy to use but I had the matrikon one already installed and running before I discoverd that Softing had one. . My OPC server is actually based on Softing's OPC source products.
Basically you put a sever node of Matrikon's OPC tunneller on the server and, wait for it, a client node on each Client... very NOT complicated.. all is resolved.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Know what services you can and cannot, should and should not combine on your server.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question