Arlen Beiler

Lititz, PA

Age: 20

I like programming, astronomy, history, language, and music.

Come unto me, all ye that labor and are heavy laden, and I will give you rest. Take my yoke upon you and learn of me for I am meek and lowly in heart and ye shall find rest unto your soul. For my yoke is easy and my burden is light.

5h
awarded Famous Question
Dec
15
awarded Yearling
Dec
15
awarded Yearling
Dec
11
awarded Popular Question
Dec
3
awarded Good Question
Dec
1
revised The service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs
clean up code
Dec
1
revised Windows Service unexplainably stops when started in SCM
added 39 characters in body
Dec
1
answered The service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs
Dec
1
revised Windows Service unexplainably stops when started in SCM
added 596 characters in body
Dec
1
comment Windows Service unexplainably stops when started in SCM
OK, thanks. Thanks for your help. Actually, I got it. So thanks.
Dec
1
answered Windows Service unexplainably stops when started in SCM
Dec
1
comment Windows Service unexplainably stops when started in SCM
I found it. LogEvent seemed to be working. The second line in OnStart is the problem. System.InvalidOperationException: Cannot change service name when the service is running.
Dec
1
comment Windows Service unexplainably stops when started in SCM
Oh. Now I follow you. Those are settings in the local class, but I'll check that out.
Dec
1
comment Windows Service unexplainably stops when started in SCM
This is all on one machine. Everything is still development. And I can't event get OnStart to run, so I'm not sure why DestinationFolder even matters. It's not used here. But the folders do exist.
Dec
1
comment Windows Service unexplainably stops when started in SCM
What do you mean by that it could be a PATH issue?
Dec
1
comment Windows Service unexplainably stops when started in SCM
CallStart and CallStop are only for running from the console, because I couldn't access the OnStart and OnStop methods directly. So yes, that's just the OnStop method that is supposed to be there.
Dec
1
revised Windows Service unexplainably stops when started in SCM
add LogEvent code
Dec
1
asked Windows Service unexplainably stops when started in SCM
Dec
1
revised Windows service stops on start
Added a question
Dec
1
comment Windows service stops on start
So is there no way to explain how i am supposed to do it?
1 2 3 4 5