Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting to a winCC OPC server via DSC and data socket

Hi!

I am trying to access data from a siemens winCC OPC server on computer A with the DSC OPC client from computer B. A dump from the Ni Distributed System Manager can be seen in DSC_OPC_client_error.GIF.

I can access the winCC OPC server from computer B using the Labview OPC Quick Client, Data socket (not 100% another problem), Matrikon OPC explorer etc.

I get this in the event viewer

"DCOM got error "General access denied error " from the computer XXXXXXXXXX when attempting to activate the server:
{75D00BBB-DDA5-11D1-B944-9E614D000000}"

Strange because I have added both everyone and system in the dcom settings for both computers.

 Any inputs?


Since the DSC OPC Client does not work I have tried with data socket. But there are some problems.
When I read my 40 values with datasocket my program misses some values and sets them to zero. How do I solve that?
Download All
0 Kudos
Message 1 of 2
(8,954 Views)

It seems the DCOM problem. First, make sure you have done everything in this guide.

http://www.opcfoundation.org/Archive/c9cf0fff-65fa-4362-bc93-aa7d0ab58016/Using%20OPC%20via%20DCOM%2...

 

Then, configure the opc server as attached screenshot. Select the interactive user.

Message Edited by Ryan.S on 12-05-2008 01:59 AM
Ryan Shi
National Instruments
0 Kudos
Message 2 of 2
(8,922 Views)