Hi all,
I'm using following code to open the web.config of my current web application.
Configuration rootConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/MyAppRoot");
But it only works on my development machine, not production machine. Shall I use something else other than "/MyAppRoot"?
Thanks in advance!