DLL Config files

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
....
 
S

saurabh

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
 
H

Hey MO

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

Marc Scheuner [MVP ADSI]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top