This may be a lost cause but is there anyway to apply the changes made to an app.config file in a windows service without having to restart the service?
I have a windows service that should not ever be stopped, however, one of the requirements is to be able to modify the settings.
I tried adding the settings to a seperate XML file and loading them when the service initially starts and then re-loading them (only if the file has been modified) each minute thereafter. This worked fine but when I tried to modify the XML file I kept getting a "file is being used by another process"
Is there anyway to do this without restarting the service??
thankx in advance
I have a windows service that should not ever be stopped, however, one of the requirements is to be able to modify the settings.
I tried adding the settings to a seperate XML file and loading them when the service initially starts and then re-loading them (only if the file has been modified) each minute thereafter. This worked fine but when I tried to modify the XML file I kept getting a "file is being used by another process"
Is there anyway to do this without restarting the service??
thankx in advance