Windows service doesn't start

Viewed 1819

I was following this tutorial to create and install a Windows service using Microsoft Visual Studio 2010: http://msdn.microsoft.com/en-us/library/zt39148a%28v=vs.100%29.aspx

I'm using the 3.5 .NET Framework. After several attempts I just created a new service from scratch but this time without providing a method body for the OnStart() method. The service installs successfully, but when I try to run it using the Service Manager, it doesn't do anything and after a while Windows tells me that the service cannot run.

Any kind of help will be greatly appreciate it.

2 Answers
Related