Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Services and Error 1053
Message
From
06/10/2004 12:46:24
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Windows Services and Error 1053
Miscellaneous
Thread ID:
00949247
Message ID:
00949247
Views:
55
Trying to create a windows service, however when I start it it gives me this message immediately:

Error 1053: The Service did not respond to the start or control request in a timely fashion.

I’ve noticed I can completely eliminate that message if I rename the following two lines in red, however I need these to initialize some objects for this class.

How can I get around this error, I'm unable to proceed any further with this at this point as I'm not sure why it's erroring in the first place since the code seems to be fine?

public ReportScheduler()
{
// This call is required by the Windows.Forms Component Designer.
InitializeComponent();
Console.WriteLine("Initing");
settings = new SettingsReader();
num = settings.numberOfCompanys();
}

Thanks,

Matt
Reply
Map
View

Click here to load this message in the networking platform