WTSSendMessage fails as RPC Server is unavailable
-
My pc has Windows 7. Iam creating connection to a terminal server, using WTSOpenServer() API. And with the created handle, if i try to transmit message to any other machine other than mine using WTSSendMessage() API, iam getting the GetLastError() as "RPC server unavailable". can anyone of you pls suggest what would be the solution for this. Thanks, Arun P.
-
My pc has Windows 7. Iam creating connection to a terminal server, using WTSOpenServer() API. And with the created handle, if i try to transmit message to any other machine other than mine using WTSSendMessage() API, iam getting the GetLastError() as "RPC server unavailable". can anyone of you pls suggest what would be the solution for this. Thanks, Arun P.
Immediate suggestions that come to mind:
- Try disabling any and all firewalls on both PCs.
- Check the RPC services are all enabled and started and functioning properly (You'll have to look these up.)
- Try some of the Microsoft samples first and see if they run without problem.