I have placed an executable in c:\inetpub\wwwroot
I would like this application to read the web.config file in that folder and read its AppSettings using the ConfigurationManager namespace.
Sounds easy, does it not?
Well, I have not been able to do so without resorting to reading the web.config as an XmlDocument.
I have tried using
System.Web.Configuration.W
ebConfigur
ationManag
er.AppSett
ings
and
System.Configuration.Confi
gurationMa
nager.Open
ExeConfigu
ration
without success.
Does anybody have any futher ideas?
Start Free Trial