Sam,
No, this is not correct. Are you truly shutting down the service, or
are you only pausing it? The app config file is read when the CLR starts up
for the process. Also, are you sure that the app config file is set to the
name of your executable, and not the install executable?
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"Sam Martin" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> just a quick one,
>
> a colleague is writing a windows service, in c#. problem is the
> app.config is only picked up when the service installs. i.e. subsequent
> changes to the config file and then restart the service has no effect.
>
> is this correct, app config settings are "set" on install and to change
> them, you need to reinstall the service?
>
> any ideas welcome.
> tia
> sam martin
>