Windows Service Starts and Immediately Stops

P

pbd22

Thanks a ton Willy (and everybody else).
I know know what the problem is. The solution
is a bit more complicated but, at least I am on
the right trail now.

Thanks!
 
P

pbd22

OK.

The solution to the GetDiskSpace problem was strange (it had to do
with how our product
is set up to access different types of file servers) but it is
resolved.

Willy, per your earlier advice, I have some more questions.

You said that I may have problems with running a standard exe program
from a windows service.

I am noticing that the exe works just fine when called from DOS. It
"""also""" works OK when
I am running my window service in Debug mode from Visual Studio 2005.
But, when I wire up
the service using InstallUtil and load it on the server (or even on my
development desktop) and
start it, the exe program doesn't seem to work.

The exe program is a VB6 program.
It takes a video file and extracts metadata, writing to a text file.
It is dependent on its own DLLs (which are also called by my
service).
It runs for about 1 or 2 seconds to do its think.
The service uses locks and queues to make sure the process does
not block.

Why would the exe work in Debug mode but not once the Release
is installed as a windows service???

Thanks again
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top