Link to home
Start Free TrialLog in
Avatar of hed
hed

asked on

Basic DCOM Question.

I"m starting to work with dcom so i took from the msdn "com sample
tutorial" for the distant server.

I"ve made sure that on both computer the two RPC services runs.
i"ve given myself (the launching user) every available permission on the
server.
i"ve set the authentication level to none for the server application.

when i call CoGetClassObject i get an error which translates to "The RPC
server is unavailable"

what am i missing ?

Avatar of jkr
jkr
Flag of Germany image

There can be lots of reason for this error message (lots of them unrelated to the RPCSS itself). Are you able to sart the object 'locally' on the remote machine?
Avatar of Belgarat
Belgarat

Are you logged in on both machines ? Do you all DLLs that your server requires either in the same directory as the executable, or on the PATH ? Have you registered the server properly ?
Did you Register the Proxy/Stub DLL on the client machine ?
Avatar of hed

ASKER

My user is logged in on both the machines.
i can start the server if i do it locally on both the server and the client machines.
my server does not require any dll's. ( it's a sample i"m trying to run )
still i get the "RPC Server is unavailable"
ASKER CERTIFIED SOLUTION
Avatar of arikka
arikka

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial