DLL Config files

  • Thread starter Thread starter Hey MO
  • Start date Start date
H

Hey MO

I have seen several topics asking about config files that are specific
to an assembly and the deployment of both. What I have not seen
suggested is using one of the sepcial folders for deploying and reading
the config file.

Is there a reason why deploying and reading the dll config file from
one of the special folders is NOT a good idea ?

Application Folder
Common Files Folder
Program Files Folder
....
 
Yes... if you are not an administrator, you won't be able to write to places
like program files folder.

I save my config info into Documents & Settings/<user name>/Application
Data/<company>/<app>
The general purpose config file goes into Documents & Settings/All
Users/Application Data/<company>/<app>

In fact the above location is useful for roaming profiles

HTH,

--Saurabh
 
I do not believe that a user needs administrator rights to write to the
common files folder.
 
I do not believe that a user needs administrator rights to write to the
common files folder.

Normal users only have read, list, and execute rights on "Program
Files" and "Common Files". In order to write to those folders, you
need to be either a power user, or an administrator

Marc
================================================================
Marc Scheuner May The Source Be With You!
Berne, Switzerland m.scheuner -at- inova.ch
 
Back
Top