Couldn't load configuration system - GUI won't start anymore #1065
Open
Description
opened on Oct 19, 2024
Checklist
- I confirm there are no unresolved issues reported on the Chocolatey Status page.
- I have verified this is the correct repository for opening this issue.
- I have verified no other issues exist related to my problem.
- I have verified this is not an issue for a specific package.
- I have verified this issue is not security related.
- I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
Error message that says that the configuration system couldn't get initialised. Not sure what's meant with that
First window
Second window
What is Expected?
Normal running chocolatey gui
How Did You Get This To Happen?
Not sure what caused it as I normally run upgrade -all at the system start. I guess either that or a windows update broke the chocolatey ( gui ).
System Details
- Operating System: Win 10 22H2 19045.5011
- Windows PowerShell version: 5.1.19041.5007
- Chocolatey CLI Version: 2.3.0
- Chocolatey GUI Version: 2.1.1
- Chocolatey License type: community (?)
- Terminal/Emulator:
Installed Packages
Chocolatey v2.3.0
chocolatey 2.3.0
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.1.1
dotnetfx 4.8.0.20220524
KB2919355 1.0.20160915
KB2919442 1.0.20160915
Output Log
2024-10-20 01:07:44.237 +02:00 [Information] chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2024-10-20 01:07:45.343 +02:00 [Fatal] Start der Anwendung ist fehlgeschlagen.
System.Configuration.ConfigurationErrorsException: Das Konfigurationssystem konnte nicht initialisiert werden. ---> System.Configuration.ConfigurationErrorsException: '.', hexidezimaler Wert 0x00, ist ein ungültiges Zeichen. Zeile 7, Position 1. (C:\Users\Julius\AppData\Local\Chocolatey_Software,_Inc.\ChocolateyGui.exe_StrongName_qgbusv5dfgkxx33orw4dqzgj3f5c3jne\2.1.1.0\user.config line 7) ---> System.Xml.XmlException: '.', hexidezimaler Wert 0x00, ist ein ungültiges Zeichen. Zeile 7, Position 1.
bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
bei System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
bei System.Xml.XmlTextReaderImpl.ParseText()
bei System.Xml.XmlTextReaderImpl.ParseElementContent()
bei System.Configuration.XmlUtil.StrictReadToNextElement(ExceptionAction action)
bei System.Configuration.BaseConfigurationRecord.ScanFactoriesRecursive(XmlUtil xmlUtil, String parentConfigKey, Hashtable factoryList)
bei System.Configuration.BaseConfigurationRecord.ScanFactoriesRecursive(XmlUtil xmlUtil, String parentConfigKey, Hashtable factoryList)
bei System.Configuration.BaseConfigurationRecord.ScanFactories(XmlUtil xmlUtil)
bei System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
bei System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
bei System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Configuration.ConfigurationManager.PrepareConfigSystem()
bei System.Configuration.ConfigurationManager.GetSection(String sectionName)
bei System.Xml.Serialization.TempAssembly.get_UseLegacySerializerGeneration()
bei System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
bei System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
bei System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
bei chocolatey.infrastructure.services.XmlService.<>c__DisplayClass5_0`1.<Deserialize>b__2()
bei chocolatey.infrastructure.tolerance.FaultTolerance.TryCatchWithLoggingException[T](Func`1 function, String errorMessage, Boolean throwError, Boolean logWarningInsteadOfError, Boolean logDebugInsteadOfError, Boolean isSilent)
bei chocolatey.infrastructure.services.XmlService.<>c__DisplayClass5_0`1.<Deserialize>b__1()
bei chocolatey.infrastructure.synchronization.GlobalMutex.Enter[T](Func`1 func, Int32 timeout)
bei chocolatey.infrastructure.tolerance.FaultTolerance.Retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
2024-10-20 01:11:21.602 +02:00 [Information] chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2024-10-20 01:11:22.896 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:23.912 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:24.923 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:25.942 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:26.953 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:27.965 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:28.978 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:30.011 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:31.016 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:32.020 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:33.026 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
2024-10-20 01:11:34.032 +02:00 [Warning] Unable to read files snapshot file:
Das Konfigurationssystem konnte nicht initialisiert werden.
Additional Context
Chocolatey also report different error messages regard .registry.bad entries. Tried to fix it with "the" script but it always came back after I tried to start chocolatey gui.
A complete fresh install - rename chocolatey folder to chocolatey.bak, delete main folder and ran install script again - wouldnt work and the error happens again.
Really not ssure what else I can do to get it working again...
Activity