Ask a Question related to ASP.NET Security, Design and Development.
-
N S S #1
Reading Values from Machine.config in ASP.NET
How can i read values from Machine.config From ASP.NET
N S S Guest
-
Machine.config Configuration Error
I've recently moved web hosts to Network Solutions (Sorry to drop names), and I'm now getting the following error... Configuration Error... -
Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now... -
Machine.Config -- ProcessModel vs Impersonation
What is the difference between using a username and password in the processmodel section vs using one in impersonation in the machine.config file? ... -
web.config vs machine.config ?
1. I got this following error: ******************** Configuration Error Description: An error occurred during the processing of a... -
Machine.Config followup...
My base path is c:\WINDOWS\Microsoft.Net..... etc NOT C:\WinNt... So, on my machine, the machine.config is under WINDOWS, not WinNt... -
N S S #2
RE: Reading Values from Machine.config in ASP.NET
I was able to figure it out
ConfigurationSettings.AppSettings("Environment")
this works for both web.config & machine.config
"N S S" wrote:
> How can i read values from Machine.config From ASP.NETN S S Guest
-
Steven Cheng[MSFT] #3
RE: Reading Values from Machine.config in ASP.NET
Hi N S S,
As for the web.config or machine.config , the
"ConfigurationSettings.AppSettings" property allow us to retrieve the
"AppSettings" Sections in them, and the web.config's setting will override
the machine.configs'.
But as for other buildin sections, they're read by internal sectionhandlers
and there is no buildin means for retrieving those elements.
Please feel free to let us know if you have any further detailed
requirement. Thanks.
Steven Cheng
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Steven Cheng[MSFT] Guest
-
Unregistered #4
Reading Values from Machine.config in ASP.NET
And if you ever land into trouble of machine.config values not getting picked up, you can look at this article.
Unregistered Guest
-
MachineconfigHelper #5
Reading Values from Machine.config in ASP.NET
If you run into issues when machine.config values are not getting picked up.
MachineconfigHelper Guest



Reply With Quote

