Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. WTSSendMessage fails as RPC Server is unavailable

WTSSendMessage fails as RPC Server is unavailable

Scheduled Pinned Locked Moved Managed C++/CLI
sysadminjson
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arun Parthasarathy
    wrote on last edited by
    #1

    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.

    T 1 Reply Last reply
    0
    • A Arun Parthasarathy

      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.

      T Offline
      T Offline
      Tony Richards
      wrote on last edited by
      #2

      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.
      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups