Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ConnectionStringNotFoundException in windows service
Message
De
30/07/2007 10:06:04
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
ConnectionStringNotFoundException in windows service
Divers
Thread ID:
01244553
Message ID:
01244553
Vues:
60
I have a windows service that is using Business Objects that where compiled in another solution. I’ve followed the Help file in the setup of the windows service and added a reference to the dll that contains the business objects. The service starts then stops with an error that it cant find the connection string.
No matter what I’ve tried so far I can’t get the service to find the connection string.
The app.config is in the project and I’ve even incouded it in the deployment package.

Event Type: Error
Event Source: HUTRemitImportPump
Event Category: None
Event ID: 0
Date: 07/30/2007
Time: 9:57:44 AM
User: N/A
Computer: D7N92FC1
Description:
Service cannot be started. OakLeaf.MM.Main.Exceptions.mmConnectionStringNotFoundException: A connection string could not be found in the application configuration file for database key 'HutLockbox'
at OakLeaf.MM.Main.Managers.mmDatabaseManager.GetConnectionString(String databaseKey)
at NYSTAX.APPDEV.IMAGING.HUTLockbox.HUTRemitImportPump.HutRemitImportService.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

Thanks
Brian G
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform