Writing to config file

  • Thread starter Thread starter Gav
  • Start date Start date
G

Gav

Hi all,

I need to be able to write values to my .config file... I checked out code
such as this:

http://ryanfarley.com/blog/archive/2004/07/13/879.aspx

and others that are very similar.

I put this in my app and stepped though the code I'm not getting any errors
but it still doesn't change the value in my config file! I also read that
the ASPNET user needs access rights to the folder, did this and it also
didn't make any difference.

Does anyone know why this would not work for me? Any help would be great
thanks.

Thanks
Gav
 
hi,

you cannot write to the config file, what you can do is create another file
of your own.

cheers,
 
Back
Top