[MonoDevelop] Error Initializing the configuration system.

CheatCat thecheatcat at hotmail.com
Sat Sep 4 12:22:09 EDT 2010


When starting monodevelop I got these errors:

[code]System.TypeInitializationException: An exception was thrown by the
type initializer for System.Xml.Serialization.XmlSerializer --->
System.Configuration.ConfigurationErrorsException: Error Initializing the
configuration system. --->
System.Configuration.ConfigurationErrorsException: Unrecognized
configuration section <runtime>
(/home/usr/lib/monodevelop/bin/MonoDevelop.exe.config line 3)
  at System.Configuration.ConfigInfo.ThrowException (System.String text,
System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader
reader, System.Configuration.Configuration config, Boolean overrideAllowed,
Boolean root) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadRootData
(System.Xml.XmlReader reader, System.Configuration.Configuration config,
Boolean overrideAllowed) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader
reader, System.String fileName) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.Load () [0x00000] in <filename
unknown>:0 
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.String configPath, System.Configuration.Configuration parent)
[0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConfigurationSystem system, System.String
locationSubPath) [0x00000] in <filename unknown>:0 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in
<filename unknown>:0 
  at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly
calling_assembly, System.String exePath) [0x00000] in <filename unknown>:0 
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x00000] in <filename unknown>:0 
  at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000] in <filename unknown>:0 
  at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000] in <filename unknown>:0 
  at System.Configuration.ConfigurationSettings.GetConfig (System.String
sectionName) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializer..cctor () [0x00000] in <filename
unknown>:0 
  --- End of inner exception stack trace ---
  at Mono.Addins.Setup.AddinSystemConfigurationSerializer..ctor () [0x00000]
in <filename unknown>:0 
  at Mono.Addins.Setup.AddinStore.GetSerializer (System.Type type) [0x00000]
in <filename unknown>:0 
  at Mono.Addins.Setup.AddinStore.WriteObject (System.String file,
System.Object obj) [0x00000] in <filename unknown>:0 
FATAL ERROR [2010-09-04 20:13:13Z]: MonoDevelop failed to start. Some of the
assemblies required to run MonoDevelop (for example gtk-sharp, gnome-sharp
or gtkhtml-sharp) may not be properly installed in the GAC.
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Net.Sockets.Socket --->
System.Configuration.ConfigurationErrorsException: Error Initializing the
configuration system. --->
System.Configuration.ConfigurationErrorsException: Unrecognized
configuration section <runtime>
(/home/usr/lib/monodevelop/bin/MonoDevelop.exe.config line 3)
  at System.Configuration.ConfigInfo.ThrowException (System.String text,
System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader
reader, System.Configuration.Configuration config, Boolean overrideAllowed,
Boolean root) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadRootData
(System.Xml.XmlReader reader, System.Configuration.Configuration config,
Boolean overrideAllowed) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader
reader, System.String fileName) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.Load () [0x00000] in <filename
unknown>:0 
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.String configPath, System.Configuration.Configuration parent)
[0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConfigurationSystem system, System.String
locationSubPath) [0x00000] in <filename unknown>:0 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in
<filename unknown>:0 
  at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly
calling_assembly, System.String exePath) [0x00000] in <filename unknown>:0 
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x00000] in <filename unknown>:0 
  at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000] in <filename unknown>:0 
  at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.Socket.CheckProtocolSupport () [0x00000] in
<filename unknown>:0 
  at System.Net.Sockets.Socket..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args) [0x00000] in
<filename unknown>:0 
  at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args)
[0x00000] in <filename unknown>:0 [/code]

Please tell me how to fix it.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Error-Initializing-the-configuration-system-tp2526811p2526811.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list