This only works if in fact the system has put your settings in <appSettings />. However, in VS2005, if you use the IDE (i.e. the application or website properties) to create and manage your key-value pairs, it puts them in a different place. This returns
a null in my situation. And while I could change it around, now the problem will be that the network group will have to edit the config files manually instead of being able to use the IIS properties for the website.
My password must be written down, let's make sure it is secure. But of course, I misplaced the paper, so I have to keep asking for a new one.
JustWantAnAn...
Member
78 Points
164 Posts
Re: How to read application settings from web.config?
Aug 05, 2008 01:40 PM|LINK
This only works if in fact the system has put your settings in <appSettings />. However, in VS2005, if you use the IDE (i.e. the application or website properties) to create and manage your key-value pairs, it puts them in a different place. This returns a null in my situation. And while I could change it around, now the problem will be that the network group will have to edit the config files manually instead of being able to use the IIS properties for the website.