I'm developing in VB.net 4.0 Framework...
I have a windows service that needs to pull some configuration settings from a file. I am creating a sister windows application that will allow the user to edit the configuration settings for the windows service and persist them to this configuration file. I can't/don't want to use a database, as one of the primary purposes of the service is to notify admins via email if there is a problem connecting to the database it uses, so it needs to just be a simple configuration file. I am aware that UAC protects certain locations and prevents normal access to those locations (like anything in the Program Files folder). So the previously obvious place that I would store this configuration file won't work.
What is the standard practice for doing this type of thing? Is there a special location that windows has set aside for things of this nature? Will I have issues because there will be an installed windows application that needs to read/write to this configuration file, and also have a service that needs to be able to locate this file and read from it? Open to ideas or links to places that explain how I should handle this.
Thank you for your time!