Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ConnectionStringNotFoundException in windows service
Message
From
30/07/2007 10:06:04
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
ConnectionStringNotFoundException in windows service
Miscellaneous
Thread ID:
01244553
Message ID:
01244553
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform