Configuration Application Block config file location

  • Thread starter Thread starter Stuart Hallows
  • Start date Start date
S

Stuart Hallows

I'm using the excellent config block, I set the location of the file
holding the configuration data using the Enterprise Library
Configuration tool. It's easy to set the file location to be the same
location as the app, but what if I want the app to be in C:\Program
Files\... - the user should not have write access to this location, so
I couldn't save data. How can I configure it to write to the user app
area in Documents and Settings?
Ta,
Stuart Hallows.
 
By default, account aspnet haven't write rights in %prorgram files% folder. U
can assign aspnet the read/write/execute rights in your folder, of course,
u'd better move the folder to c:\ or other folders, but not included
"%windir%" etc...
 
Back
Top