Windows 7 Januar 2018 Update Problem

Allgemeines zu Diving Log 6.0 - Fragen und Hinweise
Post Reply
Timm_Timm
Posts: 2
Joined: Sat Jan 13, 2018 20:56

Windows 7 Januar 2018 Update Problem

Post by Timm_Timm »

Hallo,

bei mir startet Diving Log 6 auch nicht mehr seit dem letzten Windows Update, hat man schon eine Lösung gefunden?
Diving Log zeigt mir das an:



System.Windows.Markup.XamlParseException: Durch den Aufruf des Konstruktors für Typ "DevExpress.Xpf.Editors.Settings.FontEditSettings", der den angegebenen Bindungseinschränkungen entspricht, wurde eine Ausnahme ausgelöst.

bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
bei System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
bei System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
bei System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
bei System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
bei System.Windows.Application.DoStartup()
bei System.Windows.Application.<.ctor>b__1_0(Object unused)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

System.TypeInitializationException: Der Typeninitialisierer für "DevExpress.Xpf.Editors.Settings.FontEditSettings" hat eine Ausnahme verursacht.

bei System.Runtime.Serialization.FormatterServices.nativeGetUninitializedObject(RuntimeType type)
bei System.Runtime.Serialization.FormatterServices.GetUninitializedObject(Type type)
bei System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CallCtorDelegate(XamlTypeInvoker type)
bei System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CreateInstance(XamlTypeInvoker type)
bei System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments)
bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(XamlType xamlType, Object[] args)
bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args)

System.TypeInitializationException: Der Typeninitialisierer für "System.Windows.Media.Fonts" hat eine Ausnahme verursacht.

bei System.Windows.Media.Fonts.get_SystemFontFamilies()
bei DevExpress.Xpf.Editors.Settings.FontUtility.GetSystemFontFamilies()
bei DevExpress.Xpf.Editors.Settings.FontEditSettings.GetSystemFonts()
bei DevExpress.Xpf.Editors.Settings.FontEditSettings..cctor()

System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1

bei MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
bei MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream)
bei MS.Internal.FontCache.FamilyCollection.SystemCompositeFonts.GetCompositeFontFamilyAtIndex(Int32 index)
bei MS.Internal.FontCache.FamilyCollection.GetFontFamilies(Uri fontFamilyBaseUri, String fontFamilyLocationReference)
bei System.Windows.Media.Fonts.CreateFamilyCollection(Uri fontLocation, Uri fontFamilyBaseUri, String fontFamilyLocationReference)
bei System.Windows.Media.Fonts..cctor()

System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1

bei MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
bei MS.Internal.FontFace.CompositeFontParser.ParseFontFamilyCollectionElement()
bei MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream)

Diving Log Version: 6.0.1.1
Windows Version: Windows 7
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: XamlParseException

Post by divinglog »

Hallo

Ich hab das Thema mal in einen eigenen Thread verschoben, weil es mit dem anderen Problem nichts zu tun hat. Der Fehler scheint tatsächlich durch das neueste Windows Update unter Windows 7 verursacht zu werden.

Hier gibt es vermutlich eine inoffizielle Lösung:

https://ngb.to/threads/32709-Microsoft- ... t-Probleme

Microsoft hat auch 2 offizielle Workarounds gepostet:

https://support.microsoft.com/en-us/hel ... wpf-apps-t
Workaround 1 - Uninstall the January 2018 Update

To keep .NET 4.7.1 installed and maintain protection against vulnerabilities that are addressed by the January security updates, uninstall the January .NET Framework Security and Quality Rollup (KB4055002), and then install the January .NET Framework Security-Only Update (KB4054183).

Workaround 2 - Uninstall the .NET Framework 4.7.1, Install .NET Framework 4.7
Die genaue Beschreibung findest du oben unter dem 2. Link auf der Microsoft Seite
Timm_Timm
Posts: 2
Joined: Sat Jan 13, 2018 20:56

Re: Windows 7 Januar 2018 Update Problem

Post by Timm_Timm »

Danke für ihre Rasche Hilfe…

Ja, ich habe NET Framework komplett deinstalliert, Computer runtergefahren und neu gestartet, das neuste NET Framework von MS heruntergeladen und installiert und dann auch das neuste Update dazu…

Und jetzt Funktioniert alles wieder... Diving Log startet wieder ….

SUPER Danke…
:D
Post Reply