[Mono-dev] System.Configuration not implemented problem

Paul paul at all-the-johnsons.co.uk
Sun Jun 6 10:50:29 EDT 2010


Hi,

I'm trying to get the code at
http://msdn.microsoft.com/en-us/library/system.configuration.appsettingssection.aspx to compile and run under Mono 2.6.4.

While it compiles fine, it fails to run with a NotImplemented error. Is
there a way around this problem?

TTFN

Paul

Throwback : 

Unhandled Exception: System.NotImplementedException: The requested
feature is not implemented.
  at System.Configuration.AppSettingsSection.SerializeSection
(System.Configuration.ConfigurationElement parent, System.String name,
ConfigurationSaveMode mode) [0x0001f]
in /builddir/build/BUILD/mono-2.6.4/mcs/class/System.Configuration/System.Configuration/AppSettingsSection.cs:101 
  at System.Configuration.SectionInfo.WriteData
(System.Configuration.Configuration config, System.Xml.XmlWriter writer,
ConfigurationSaveMode mode) [0x0002e]
in /builddir/build/BUILD/mono-2.6.4/mcs/class/System.Configuration/System.Configuration/SectionInfo.cs:196 
  at System.Configuration.SectionGroupInfo.WriteContent
(System.Xml.XmlWriter writer, System.Configuration.Configuration config,
ConfigurationSaveMode mode, Boolean writeElem) [0x00059]
in /builddir/build/BUILD/mono-2.6.4/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:395 
  at System.Configuration.SectionGroupInfo.WriteRootData
(System.Xml.XmlWriter writer, System.Configuration.Configuration config,
ConfigurationSaveMode mode) [0x00000]
in /builddir/build/BUILD/mono-2.6.4/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:379 
  at System.Configuration.Configuration.SaveData
(System.Xml.XmlTextWriter tw, ConfigurationSaveMode mode, Boolean
forceUpdateAll) [0x00000]
in /builddir/build/BUILD/mono-2.6.4/mcs/class/System.Configuration/System.Configuration/Configuration.cs:463 
  at System.Configuration.Configuration.Save (System.IO.Stream stream,
ConfigurationSaveMode mode, Boolean forceUpdateAll) [0x00115]
in /builddir/build/BUILD/mono-2.6.4/mcs/class/System.Configuration/System.Configuration/Configuration.cs:452 
  at System.Configuration.Configuration.Save (ConfigurationSaveMode
mode, Boolean forceUpdateAll) [0x00046]
in /builddir/build/BUILD/mono-2.6.4/mcs/class/System.Configuration/System.Configuration/Configuration.cs:391 


-- 
Biggles was quietly reading his favourite book when Algy burst through
the door. Distracted for a moment, Biggles surveyed what had happened
and turned a page. "Algy old man" he said, clearing his throat, "use the
handle next time..." - Taken from "Biggles combs his Hair"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100606/6a395c25/attachment.bin 


More information about the Mono-devel-list mailing list