Solved

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

Posted on 2007-11-19
5
1,273 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
  • 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

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
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). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now