Solved

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

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

Are your end users making ugly email signatures?

Have you left it up to your end users to create their own email signatures? Are they forgetting to add the company logo or using garish font colors? Take control and ensure all users have the same email signature.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
microsoft windows server 2008 r2 , keeps restarting 8 55
PowerShell one liner to pull server names 3 50
shadow copies 7 69
SBS 2003 RWW Login 3 16
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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). …

912 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

21 Experts available now in Live!

Get 1:1 Help Now