Solved

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

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

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…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

839 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