Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Service stopping immediately
Message
From
01/09/2013 19:13:34
 
 
To
01/09/2013 19:03:01
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01581778
Message ID:
01581805
Views:
51
>We don't need to recompile in order to run the service as a Console app for debugging purposes. Our project is a Console app project and here's what my code looks like:

Thanks, I see you have the option of .OnStart(). This, I wasn't able to make my service run but only by using the Run() approach. See other messages in this thread. It is only when I use the Run() approach, that I was able to start the service successfully from the Services interface. Could it be related to some kind of configuration?

Also, when you run yours directly by clicking on the EXE, do you have a Windows form?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform