My WinService refuses to startup ....
-
... I receive this error : "bla bla bla on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." It worked fine before I used some calls to JMail COM-object ... I Removed the email-functionallity and then it started again. Do I have a credentials-problem or what? Please help! //Maw
-
... I receive this error : "bla bla bla on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." It worked fine before I used some calls to JMail COM-object ... I Removed the email-functionallity and then it started again. Do I have a credentials-problem or what? Please help! //Maw
It seems that your email code throws an exception, effectively stopping your service just like an application crash. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
It seems that your email code throws an exception, effectively stopping your service just like an application crash. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Hi Dave ... Got any suggestions? The JMail works when I use it in debug. I use a 3 projects to debug this service. 1. Coreclass (contains Functions for Start and Stop 2. Service (Only when doing a release. Use Core as reference. OnStart Calls Core.Start etv) 3. TestApp (My testappliacation. Use Core as reference. Has 2 buttons wich calls Core.Start and Core.Stop) If I use TestApp then I have no problems. When I compile service I get all this problem. Can I debug my service in any way? I write errors to Event-log but nothing gets there. Thnaks // Maw