.net Framework "Unbehandelte Ausnahme in der Anwendung"

Amskirber

Lt. Junior Grade
Registriert
Juli 2015
Beiträge
471
Hallo,

ich benutze das Tool BlackNotepad. Seit einem Neustart vorhin bekomme ich beim Öffnen einer Textdatei diese Fehlermeldung.

Ich habe bereits versucht, das Problem zu mit dem NetFxRepairTool zu beheben - ohne Erfolg. Laut MS hilft da nurn och die Neuinstallation. Wenn ich aber den Installer starte bekomme ich die Meldung, dass bereits die aktuelle Framework-Version installiert ist.

Hat jemand eine Idee? Wie bekomme ich die Fehlermeldung (ohne Neuinstall) wieder weg oder wie kann ich Framework neu installieren - bzw. zerst deinstallieren?

Danke
 
Die Schuld dürfte auch eher bei BlackNotepad als im .net Framework zu suchen sein.
Der exakte Wortlaut der Exception würde helfen.
 
  • Gefällt mir
Reaktionen: Amskirber
Hab mal ein paar Screenshot gemacht. Die Detail-Ansicht ist um einiges mehr. Habe mal Anfang und Ende der Melung hochgeladen
 

Anhänge

  • Screenshot 2024-05-10 150749.png
    Screenshot 2024-05-10 150749.png
    14,6 KB · Aufrufe: 44
  • Screenshot 2024-05-10 150810.png
    Screenshot 2024-05-10 150810.png
    24,6 KB · Aufrufe: 47
  • Screenshot 2024-05-10 150840.png
    Screenshot 2024-05-10 150840.png
    24,9 KB · Aufrufe: 43
Der Inhalt hier wäre interessant:
1715346691638.png


Also nach rechts und nach unten, kannst du statt einem Screenshot auch den Text rauskopieren?
 
  • Gefällt mir
Reaktionen: Amskirber
Jo, hat geklappt:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.Configuration.ConfigurationErrorsException: Das Konfigurationssystem konnte nicht initialisiert werden. ---> System.Configuration.ConfigurationErrorsException: '.', hexidezimaler Wert 0x00, ist ein ungültiges Zeichen. Zeile 9, Position 1. (C:\Users\WSV54\AppData\Local\WinTools.Info\black14notepad.exe_Url_ylj5djrrflnyh51qht1ov1ahurgnfiht\1.4.0.46\user.config line 9) ---> System.Xml.XmlException: '.', hexidezimaler Wert 0x00, ist ein ungültiges Zeichen. Zeile 9, Position 1.
bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
bei System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
bei System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
bei System.Xml.XmlTextReaderImpl.ParseText()
bei System.Xml.XmlTextReaderImpl.ParseElementContent()
bei System.Xml.XmlTextReaderImpl.Read()
bei System.Xml.XmlTextReader.Read()
bei System.Configuration.XmlUtil.StrictReadToNextElement(ExceptionAction action)
bei System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
bei System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
bei System.Configuration.BaseConfigurationRecord.ScanSections(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.BaseConfigurationRecord.ThrowIfInitErrors()
bei System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
bei System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigEventArgs e)
bei System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
bei System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
bei System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
bei System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
bei System.Configuration.ConfigurationManager.GetSection(String sectionName)
bei System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
bei System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
bei System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
bei System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
bei System.Configuration.SettingsBase.get_Item(String propertyName)
bei System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
bei System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
bei blacknotepad.Properties.Settings.get_lastPosX()
bei blacknotepad.Form1.setStartSize()
bei blacknotepad.Form1.Form1_Load(Object sender, EventArgs e)
bei System.Windows.Forms.Form.OnLoad(EventArgs e)
bei System.Windows.Forms.Form.OnCreateControl()
bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bei System.Windows.Forms.Control.CreateControl()
bei System.Windows.Forms.Control.WmShowWindow(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
bei System.Windows.Forms.Form.WmShowWindow(Message& m)
bei System.Windows.Forms.Form.WndProc(Message& m)
bei blacknotepad.Form1.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9232.0 built by: NET481REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
blacknotepad
Assembly-Version: 1.4.0.46.
Win32-Version: 1.4.0.46.
CodeBase: file:///C:/Program%20Files/BlackNotepad/black14notepad.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9181.0 built by: NET481REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9236.0 built by: NET481REL1LAST_B.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9236.0 built by: NET481REL1LAST_B.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Accessibility
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.xml.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Xml.resources.dll.
----------------------------------------
System.Configuration.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.resources/v4.0_4.0.0.0_de_b03f5f7f11d50a3a/System.Configuration.resources.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.9032.0 built by: NET481REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
 
Er meckert also wegen dieser Datei, sollte XML beinhalten:
C:\Users\WSV54\AppData\Local\WinTools.Info\black14notepad.exe_Url_ylj5djrrflnyh51qht1ov1ahurgnfiht\1.4.0.46\user.config

Eventuell schaust du da mal rein (vermutlich Zeile 9). Oder benennst sie zum Test um.
 
  • Gefällt mir
Reaktionen: dms und Amskirber
Super Danke, Hab sie erst umbenannt. Dann konnte ich BlackNotepad wieder starten. Die user.config wurde neu angelegt. Ich hab die alte gelöscht.

Nochmals danke.
 
  • Gefällt mir
Reaktionen: tollertyp
Wenn da keine "wichtigen" Einstellungen hinterlegt waren, ist das sicher der beste Weg.
 
  • Gefällt mir
Reaktionen: Amskirber
Für Logs und Code hier bitte den Code Tag verwenden.

Die App ist offenbar End-Of-Life, wird also keine Updates mehr bekommen. Ich würde mich mal nach einer Alternative umschauen.
 
Ich habe den sehr starken Verdacht aufgrund der Versionsnummer und dem Pfad:
Code:
WinTools.Info\black14notepad.exe [...] 1.4.0.46
Aber kann auch Rainer Zufall sein.
 
Zurück
Oben