#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Phoenix, AZ
    Posts
    484
    Rep Power
    36

    Unhappy Service starts on 2k but not 2k terminal server


    We have a program written in C++ that installs and works fine under Windows 2000 but when we try to run it on Windows 2000 Terminal Server the service won't start and appears to hang until the server is rebooted.

    We are trying to figure out how to troubleshoot this. Does anyone know if there are any differences in the OS's that need different coding of a service? We can't even write to a log file in WinMain to determine the problem. Any ideas?
    There are only 10 kinds of people in this world. Those who understand binary, and those who don't!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Phoenix, AZ
    Posts
    484
    Rep Power
    36
    Okay, so here is what we found. There was a MessageBox call in the code. Even though the service was set to interact with the desktop, on Win2k Terminal Server you couldn't see it so you couldn't click okay. On regular Win2k you could see the message and clear it. Who knows where the message box was displaying. :p
    There are only 10 kinds of people in this world. Those who understand binary, and those who don't!

IMN logo majestic logo spyfu logo threadwatch logo seochat tools logo