Hi David,
Thanks for your reply. That could be it but I'm unable to check on my development machine (a laptop running XP Home) as the local security policy option does not exist. I'll try it on the server itself.
I can actually write entries to the event log with the service, it's just that the thread I spawn appears to do nothing.
Thanks,
Jan
David Rushby wrote:
Does the thread actually not run, or does it run, but lack the right to write files, raise an exception that you have no way of detecting, and exit?
If you install the service as an administrative user who has the "Log on as a service" right (in Control Panel -> Administrative Tools -> Local Security Policy -> Local Policies -> User Rights Assignment), rather than as the "LocalSystem" user, does the program then work as expected?
(I don't know whether installing the service as an administrative user is an inappropriate security risk in your situation, but I recall having trouble writing files from services that were installed as "LocalSystem".)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32