[Mono-list] Problem with a program that uses a .config file

Carlos Guzmán Álvarez carlosga@telefonica.net
Tue, 21 Jan 2003 18:26:21 +0100


Hello:

i´m trying to execute a program with a .config file and i´m getting the 
next error:

Unhandled Exception: System.Configuration.ConfigurationException: Only 
XmlElement allowed(/home/linux/desarrollo/AS3AP/build/AS3AP.exe.config 
line 3)
in <0x001b1> 00 System.Configuration.ConfigHelper:GoGetThem 
(CollectionWrapper,System.Xml.XmlNode,string,string)
in <0x00092> 00 System.Configuration.ConfigHelper:GetNameValueCollection 
(System.Collections.Specialized.NameValueCollection,System.Xml.XmlNode,string,string)
in <0x000b7> 00 System.Configuration.NameValueFileSectionHandler:Create 
(object,object,System.Xml.XmlNode)
in <0x00166> 00 System.Configuration.ConfigurationData:GetConfig (string)
in <0x00030> 00 System.Configuration.DefaultConfig:GetConfig (string)
in <0x00041> 00 System.Configuration.ConfigurationSettings:GetConfig 
(string)
in <0x00018> 00 
System.Configuration.ConfigurationSettings:get_AppSettings ()
in <0x0000f> 00 AS3AP.BenckMark.AS3AP:ParseCommands ()
in <0x00072> 00 AS3AP.BenckMark.Benchmark:Main (string[])



-- 
Un saludo

Carlos Guzmán Álvarez
Vigo-España

"No tengo dones especiales.Sólo soy apasionadamente curioso"
Albert Einstein, científico.