I define an appSettings variable by going in IIS > Server > Configuration Editor > appSettings.
Then I would like to read this variable from a classic asp/vbscript (not .net) page, is it something possible and how ?
I define an appSettings variable by going in IIS > Server > Configuration Editor > appSettings.
Then I would like to read this variable from a classic asp/vbscript (not .net) page, is it something possible and how ?
As mentioned above, you could read corresponding config as a file
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile("C:\Windows\Microsoft.NET\...\Config\machine.config", 1)
Response.Write(Server.HTMLEncode(f.ReadAll))
f.Close
to parse xml use something like this
Set objxml = Server.CreateObject("MSXML2.DOMDocument.3.0")
objxml.load("C:\Windows\Microsoft.NET\...\Config\machine.config")
Set NodeList = objxml.documentElement.selectNodes("/configuration/configSections/section")
For Each Node In NodeList
Response.Write(Server.HTMLEncode(Node.Xml))
next
Set objxml = Nothing