Windows service on Windows Server 2003
Hi,
I need to run my application with UI as interactive windows
service (with "Allow service to interact with desktop" and "Local
System Account" checked in service's properties)
Works expectedly on Windows 2000, but not on Windows Server 2003 - UI is
invisible.
Need help.
Re: Windows service on Windows Server 2003
Is it possible the UI is "off the screen"? What is the video resolution of the 2003 server? Maybe kick it up to check. Also, when you expect the prog is running, hit ALT+SPACE. Then hit M. If the UI is up somewhere, your cursor should turn into a cross with arrows. Then, use your arrow keys to shift the prog up and to the left.
Re: Windows service on Windows Server 2003
Quote:
Originally Posted by Dave Sell
Is it possible the UI is "off the screen"?
No that is not the case. It even doesn't shows system tray icon. Why this is happening in Win Server 2003 :confused:
Thanks for replying.
Re: Windows service on Windows Server 2003
How did you create your service? Ocx, all API, or ???
Re: Windows service on Windows Server 2003
Hi Rob
I first created a Standard EXE Project and used this tool to convert my exe to windows service that allows desktop interaction. I want to say again that, This service is working absolutely fine on windows 2000 Professional but not on Windows server 2003. It doesn't shows any interface even though the "Allow service to interact with desktop" is checked.
Re: Windows service on Windows Server 2003
I would have to say that it must be something that that guys program does or
isnt doing when it converts your project to a service.
I know this may sould difficult but you may need to re-write it as a real nt
service using APIs. Search for OpenSCManager and my username. I have
some posts on how to do it.
Also, try StartService service. ;)