[Mono-bugs] [Bug 82655][Wis] New - Not Implemented in System.Configuration.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 1 06:58:40 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by surfzoid2002 at yahoo.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=82655

--- shadow/82655	2007-09-01 06:58:40.000000000 -0400
+++ shadow/82655.tmp.15461	2007-09-01 06:58:40.000000000 -0400
@@ -0,0 +1,71 @@
+Bug#: 82655
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: Mandriva cooker 2007/2008
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: interop
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: surfzoid2002 at yahoo.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Not Implemented in System.Configuration.
+
+My code is in C# and i use System.Configuration. to write/read .exe.config file
+Now i try to save my config file in a custom path and i have a return :"Not
+implemented"
+Here is the stack strace :
+at System.Configuration.AppSettingsSection.SerializeSection
+(System.Configuration.ConfigurationElement parent, System.String name,
+ConfigurationSaveMode mode) [0x0001f] in
+/home/eric/tmp/mono-20070821/mono-20070821/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
+/home/eric/tmp/mono-20070821/mono-20070821/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) [0x0005f] in
+/home/eric/tmp/mono-20070821/mono-20070821/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:398
+
+  at System.Configuration.SectionGroupInfo.WriteRootData
+(System.Xml.XmlWriter writer, System.Configuration.Configuration config,
+ConfigurationSaveMode mode) [0x00000] in
+/home/eric/tmp/mono-20070821/mono-20070821/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:382
+
+  at System.Configuration.Configuration.SaveData (System.Xml.XmlTextWriter
+tw, ConfigurationSaveMode mode, Boolean forceUpdateAll) [0x00000] in
+/home/eric/tmp/mono-20070821/mono-20070821/mcs/class/System.Configuration/System.Configuration/Configuration.cs:435
+
+  at System.Configuration.Configuration.Save (System.IO.Stream stream,
+ConfigurationSaveMode mode, Boolean forceUpdateAll) [0x00118] in
+/home/eric/tmp/mono-20070821/mono-20070821/mcs/class/System.Configuration/System.Configuration/Configuration.cs:425
+
+  at System.Configuration.Configuration.SaveAs (System.String filename,
+ConfigurationSaveMode mode, Boolean forceUpdateAll) [0x00019] in
+/home/eric/tmp/mono-20070821/mono-20070821/mcs/class/System.Configuration/System.Configuration/Configuration.cs:393
+
+
+
+Here is my code who made it :
+                config.AppSettings.Settings.Add("HandShake",
+this.CmbHandShake.SelectedItem.ToString());
+
+                config.AppSettings.Settings.Add("DiscardNull",
+this.ChckDiscardNull.Checked.ToString());
+
+                config.AppSettings.Settings.Add("DtrEnable",
+this.ChckDtrEnable.Checked.ToString());
+
+                config.AppSettings.Settings.Add("RtsEnable",
+this.ChckRtsEnable.Checked.ToString());
+
+               
+config.SaveAs(config.AppSettings.File,ConfigurationSaveMode.Full);


More information about the mono-bugs mailing list