Server cannot access client

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,

I managed to get my OPC client and server working in a domain, but am
having problems in no domain scenarios.
Now trying no domain scenarios, I have created same user account on
both pcs.

It seems I am able not able to DAdvise.

Result = PIDataObject->DAdvise(&formatetc, 0, pSink,
&dwUpdateConnection);
if(FAILED(Result)){
LogUtil::showError(Result,"Failed to get perform
PIDataObject->DAdvise");
throw OPCException("Failed to get perform PIDataObject->DAdvise");
return 1;
}

in DCOM config, I've set the COM Security of "My Computer" access
permissions to include admin , system and user, launch permission to
just include admin and system for the client side. I've also added TCP
ports 135 and 443 too.

Both sides the Firewall is down.
I read an article that if Advise fails, it means the server process
lacks access permissions in the clietn process. But how can it be when
I've set the same user accts, given access permissions to the admin,
system and user? Maybe I miss out something? Please suggestion
something so I can get a move on on this, thanks.

Atiz

ps: good article is here:
http://www.codeguru.com/cpp/com-tech/activex/security/article.php/c5555/

.