Trying to retrieve user application settings causes exception. How to fix ?
Andrus. MONO 1.2.6 preview 2 .NET 2 profile Windows XP System.Configuration.ConfigurationException: Duplicate element in collection () at System.Configuration.ConfigurationElementCollection.BaseAdd (System.Configuration.ConfigurationElement element, Boolean throwIfExists) [0x00000] at System.Configuration.ConfigurationElementCollection.BaseAdd (System.Configuration.ConfigurationElement element) [0x00000] at System.Configuration.ConfigurationElementCollection.OnDeserializeUnrecognizedElement (System.String elementName, System.Xml.XmlReader reader) [0x00000] at System.Configuration.ConfigurationElement.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] at System.Configuration.ConfigurationSection.DeserializeSection (System.Xml.XmlReader reader) [0x00000] at System.Configuration.Configuration.GetSectionInstance (System.Configuration.SectionInfo config, Boolean createDefaultInstance) [0x00000] at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00000] at System.Configuration.ConfigurationSectionCollection+<>c__CompilerGenerated0.MoveNext () [0x00000] at System.Configuration.CustomizableFileSettingsProvider.LoadProperies (System.Configuration.ExeConfigurationFileMap exeMap, System.Configuration.SettingsPropertyCollection collection, ConfigurationUserLevel level, System.String sectionGroupName, Boolean allowOverwrite) [0x00000] at System.Configuration.CustomizableFileSettingsProvider.GetPropertyValues (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection collection) [0x00000] at System.Configuration.LocalFileSettingsProvider.GetPropertyValues (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection properties) [0x00000] at System.Configuration.ApplicationSettingsBase.CacheValuesByProvider (System.Configuration.SettingsProvider provider) [0x00000] at System.Configuration.ApplicationSettingsBase.GetPropertyValue (System.String propertyName) [0x00 000] at System.Configuration.ApplicationSettingsBase.get_Item (System.String propertyName) [0x00000] at MyApp.Windows.Forms.Properties.Settings.get_Server () [0x00000] at MyApp.Windows.Forms.UserLoginForm.InitializeComponent () [0x00000] at MyApp.Windows.Forms.UserLoginForm..ctor () [0x00000] at (wrapper remoting-invoke-with-check) MyAppWindows.Forms.UserLoginForm:.ctor () at MyApp.AppMainEntry.Main () [0x00000] _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
