Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Services and Error 1053
Message
De
06/10/2004 12:46:24
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Windows Services and Error 1053
Divers
Thread ID:
00949247
Message ID:
00949247
Vues:
56
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
Répondre
Fil
Voir

Click here to load this message in the networking platform