G
Guest
I have a windows service written in C#, and whenever I start it up, I get the
error "Configuration System failed to initialize" when ever I call
ConfigurationManager.AppSettings["path"].
I tried hard coding the values, but I also have a web service I am calling
in this windows service, and as soon as the web service is initialized, I get
the same error.
This is my entire app.config Please help, I have spend like 2 hours on a
service that checks to see if files in a directory are over 5 minutes old,
which it much to long.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="path" value="C:\\ftproot\\LocalUser\\adi"/>
<add key="minutesOld" value="1"/>
<add key="taskManagerSubject" value="EdiWatcher found a possible
problem."/>
</appSettings>
<applicationSettings>
<EdiWatcher.Properties.Settings>
<setting name="EdiWatcher_localhost_TaskManager"
serializeAs="String">
<value>http://localhost/WebServices/TaskManager.asmx</value>
</setting>
</EdiWatcher.Properties.Settings>
</applicationSettings>
</configuration>
error "Configuration System failed to initialize" when ever I call
ConfigurationManager.AppSettings["path"].
I tried hard coding the values, but I also have a web service I am calling
in this windows service, and as soon as the web service is initialized, I get
the same error.
This is my entire app.config Please help, I have spend like 2 hours on a
service that checks to see if files in a directory are over 5 minutes old,
which it much to long.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="path" value="C:\\ftproot\\LocalUser\\adi"/>
<add key="minutesOld" value="1"/>
<add key="taskManagerSubject" value="EdiWatcher found a possible
problem."/>
</appSettings>
<applicationSettings>
<EdiWatcher.Properties.Settings>
<setting name="EdiWatcher_localhost_TaskManager"
serializeAs="String">
<value>http://localhost/WebServices/TaskManager.asmx</value>
</setting>
</EdiWatcher.Properties.Settings>
</applicationSettings>
</configuration>