-salut a tous voila je possede windows vista et depuis un petit moment au lancement de windows j'ai ce message:
Microsoft.Net framework
une exception non gérée s'est produite dans votre application...Echec de l'initialisation du systeme de configuration"
-puis dans Détail j'ai écrit sa:
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.
************** Texte de l'exception **************
System.Configuration.ConfigurationErrorsException: Échec de l'initialisation du système de configuration ---> System.Configuration.ConfigurationErrorsException: Élément racine manquant. (C:\Users\Rems\AppData\Roaming\Bao_Nguyen\Switcher.exe_Url_gowy5l350zvueo2grw4krsllc34xptx0\1.2.1.0\user.config) ---> System.Xml.XmlException: Élément racine manquant.
à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
à System.Xml.XmlTextReaderImpl.ParseDocumentContent()
à System.Xml.XmlTextReaderImpl.Read()
à System.Xml.XmlTextReader.Read()
à System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
à System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- Fin de la trace de la pile d'exception interne ---
à System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
à System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
à System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
à System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
--- Fin de la trace de la pile d'exception interne ---
à System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
à System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigEventArgs e)
à System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
à System.Configuration.BaseConfigurationRecord.Remove()
à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
à System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
à System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
à System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
à System.Configuration.ConfigurationManager.GetSection(String sectionName)
à System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
à System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
à System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
à System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
à System.Configuration.SettingsBase.get_Item(String propertyName)
à System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
à System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
à Switcher.Properties.Settings.get_FirstStart()
à Switcher.MainForm.LoadAndApplySettings()
à Switcher.MainForm.OnLoad(EventArgs e)
à System.Windows.Forms.Form.OnCreateControl()
à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl()
à System.Windows.Forms.Control.WmShowWindow(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
à System.Windows.Forms.ContainerControl.WndProc(Message& m)
à System.Windows.Forms.Form.WmShowWindow(Message& m)
à System.Windows.Forms.Form.WndProc(Message& m)
à Switcher.MainForm.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assemblys chargés **************
mscorlib
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Switcher
Version de l'assembly : 1.2.1.0
Version Win32 : 1.2.1.1764
CodeBase : file:///C:/Program%20Files/Switcher/Switcher.exe
----------------------------------------
System.Windows.Forms
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.XML.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_fr_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
system.configuration.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Configuration.resources/2.0.0.0_fr_b03f5f7f11d50a3a/System.Configuration.resources.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.
Par exemple :
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.