ConfigurationErrorsException for Microsoft .NET

ConfigurationErrorsException for Microsoft .NET

avatar

FYI,

The following Microsoft .NET Framework 2.0 error message appears when opening Remote Desktop Manager:

ConfigurationErrorsException - Configuration system failed to initialize

at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings()
at System.Diagnostics.Switch.InitializeConfigSettings()
at System.Diagnostics.Switch.InitializeWithStatus()
at System.Diagnostics.Switch.get_SwitchSetting()
at System.Diagnostics.BooleanSwitch.get_Enabled()
at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at Devolutions.RemoteDesktopManager.Managers.SerializationManager.GetSerializer(Type type)
at Devolutions.RemoteDesktopManager.Managers.SerializationManager.SaveObjectToString(Object value)
at Devolutions.RemoteDesktopManager.Managers.SerializationManager.SaveObjectToFile(String fileName, Object value)
at Devolutions.RemoteDesktopManager.Managers.OptionManager.DoSaveOptionsObject(String fileName, String backupFileName, Object data)
at Devolutions.RemoteDesktopManager.Managers.OptionManager.SaveOptions()
at Devolutions.RemoteDesktopManager.Managers.OptionManager.DoLoadOption()
at Devolutions.RemoteDesktopManager.Managers.OptionManager.LoadOptions()
at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseOne(String[] args, ApplicationDescriptor applicationDescriptor)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)

------------------------------------------

ConfigurationErrorsException - Unrecognized configuration section runtime. (c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 13)

at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)

Solution:

cd %windir%\Microsoft.NET\Framework\v2.0.50727\CONFIG
copy machine.config.default machine.config

Cheers,
thfs

Microsoft NET Framework v2 Error.jpg

All Comments (1)

avatar

Hi,
When does it has started?

David Hervieux