Home All Groups Group Topic Archive Search About

problem starting windows service

Author
27 Mar 2005 3:11 AM
Adam Coulter via DotNetMonster.com
Hi,
I have created a program with two windows services using c#. The services
install ok but when I try to start the services I get an error:

"Could not start the Threashold service on Local Computer. Error 1083: The
executable program that this ervice is configured to run in does not
implement the service."

yet in the Main I have created a service base and run the services.

I am a newbee to all this so any help would be most appreciated!
Thanks in advance

--
Message posted via http://www.dotnetmonster.com

Author
28 Mar 2005 6:27 PM
José Joye
We may need more info to help you.
Here is a step by step tutorial for services:

http://www.dotnetcoders.com/web/learning/cert/exams/services/windowsservices.aspx

- José

"Adam Coulter via DotNetMonster.com" <fo***@DotNetMonster.com> a écrit dans
le message de news: a39efecd85784a908dacd12bd279a***@DotNetMonster.com...
Show quoteHide quote
> Hi,
> I have created a program with two windows services using c#. The services
> install ok but when I try to start the services I get an error:
>
> "Could not start the Threashold service on Local Computer. Error 1083: The
> executable program that this ervice is configured to run in does not
> implement the service."
>
> yet in the Main I have created a service base and run the services.
>
> I am a newbee to all this so any help would be most appreciated!
> Thanks in advance
>
> --
> Message posted via http://www.dotnetmonster.com
Author
28 Mar 2005 11:50 PM
Adam Coulter via DotNetMonster.com
Thanks

I had forgoten to pass an instance of the service to the servicebase.Run
method!!

--
Message posted via http://www.dotnetmonster.com