?
Solved

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

Posted on 2007-11-19
5
Medium Priority
?
1,307 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…
Suggested Courses

764 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