# Crash on startup

**URL:** <https://forum.log4view.com/t/crash-on-startup/143>\
**Category:** Log4View Support\
**Created:** [July 3, 2019, 2:33pm UTC](https://forum.log4view.com/t/crash-on-startup/143 "2019-07-03T14:33:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Todd\_Bowman](https://forum.log4view.com/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@Todd\_Bowman](https://forum.log4view.com/u/Todd_Bowman)\
**Post date:** [July 3, 2019, 2:33pm UTC](https://forum.log4view.com/t/crash-on-startup/143/1 "2019-07-03T14:33:42Z")

</div>

Log4View is crashing on startup due to an unhandled exception. It only happens for one user on this workstation so I suspect it is related to configuration data. However, I have not been able to determine where the data resides. I have tried reinstalling Log4View, deleting all of my .lvc files and deleting the AppData\Roaming\Log4View directory.

# Application Error

Faulting application name: Log4View.exe, version: 1.4.4.1461, time stamp: 0x5c7fc775  
Faulting module name: KERNELBASE.dll, version: 10.0.17763.348, time stamp: 0xd620e319  
Exception code: 0xe0434352  
Fault offset: 0x0000000000039149  
Faulting process id: 0x5860  
Faulting application start time: 0x01d531ab02e6a441  
Faulting application path: C:\Program Files (x86)\Log4View V2\Log4View.exe  
Faulting module path: C:\Windows\System32\KERNELBASE.dll  
Report Id: 405a244c-b33f-463a-a2ff-eb2460cf1f43  
Faulting package full name:  
Faulting package-relative application ID:

# Stack Trace:

Application: Log4View.exe  
Framework Version: v4.0.30319  
Description: The process was terminated due to an unhandled exception.  
Exception Info: System.Xml.XmlException  
at System.Xml.XmlTextReaderImpl.Throw(System.Exception)  
at System.Xml.XmlTextReaderImpl.ParseText(Int32 ByRef, Int32 ByRef, Int32 ByRef)  
at System.Xml.XmlTextReaderImpl.ParseText()  
at System.Xml.XmlTextReaderImpl.ParseElementContent()  
at System.Xml.XmlTextReaderImpl.Skip()  
at System.Configuration.XmlUtil.StrictSkipToNextElement(System.Configuration.ExceptionAction)  
at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(System.Configuration.XmlUtil, System.String, Boolean, System.String, System.Configuration.OverrideModeSetting, Boolean)  
at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(System.Configuration.XmlUtil, System.String, Boolean, System.String, System.Configuration.OverrideModeSetting, Boolean)  
at System.Configuration.BaseConfigurationRecord.ScanSections(System.Configuration.XmlUtil)  
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

Exception Info: System.Configuration.ConfigurationErrorsException  
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean)  
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors)  
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(System.Object, System.Configuration.Internal.InternalConfigEventArgs)

Exception Info: System.Configuration.ConfigurationErrorsException  
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(System.Object, System.Configuration.Internal.InternalConfigEventArgs)  
at System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(System.Configuration.Internal.InternalConfigEventArgs)  
at System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(System.String, System.Configuration.BaseConfigurationRecord)  
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)  
at System.Configuration.BaseConfigurationRecord.GetSection(System.String)  
at System.Configuration.ConfigurationManager.GetSection(System.String)  
at System.Configuration.ClientSettingsStore.ReadSettings(System.String, Boolean)  
at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(System.Configuration.SettingsContext, System.Configuration.SettingsPropertyCollection)  
at System.Configuration.SettingsBase.GetPropertiesFromProvider(System.Configuration.SettingsProvider)  
at System.Configuration.SettingsBase.GetPropertyValueByName(System.String)  
at System.Configuration.SettingsBase.get\_Item(System.String)  
at System.Configuration.ApplicationSettingsBase.GetPropertyValue(System.String)  
at System.Configuration.ApplicationSettingsBase.get\_Item(System.String)  
at Prosa.Log4View.Properties.Settings.get\_Language()  
at Prosa.Log4View.Core.Log4ViewVm..ctor(Prosa.Log4View.Interfaces.IWorkspaceManager)  
at DynamicClass.lambda\_method(System.Runtime.CompilerServices.Closure, Unity.Builder.IBuilderContext)  
at Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicBuildPlanGenerationContext+\<\>c\_\_DisplayClass16\_0.b\_\_0(Unity.Builder.IBuilderContext)  
at Unity.Strategies.BuildPlanStrategy.PreBuildUp(Unity.Builder.IBuilderContext)  
at Unity.Builder.BuilderContext.NewBuildUp(System.Type, System.String, System.Action`1\<Unity.Builder.IBuilderContext\>)  
at DynamicClass.lambda\_method(System.Runtime.CompilerServices.Closure, Unity.Builder.IBuilderContext)  
at Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicBuildPlanGenerationContext+\<\>c\_\_DisplayClass16\_0.b\_\_0(Unity.Builder.IBuilderContext)  
at Unity.Strategies.BuildPlanStrategy.PreBuildUp(Unity.Builder.IBuilderContext)  
at Unity.UnityContainer.ThrowingBuildUp(Unity.Builder.IBuilderContext)

Exception Info: Unity.Exceptions.ResolutionFailedException  
at Unity.UnityContainer.ThrowingBuildUp(Unity.Builder.IBuilderContext)  
at Unity.UnityContainerExtensions.Resolve[[System.\_\_Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Unity.IUnityContainer, Unity.Resolution.ResolverOverride)  
at Prosa.Log4View.Core.App.ConfigureDefaultRegionBehaviors(Prism.Regions.IRegionBehaviorFactory)  
at Prism.PrismApplicationBase.Initialize()  
at Prism.PrismApplicationBase.InitializeInternal()  
at Prosa.Log4View.Core.App.OnStartup(System.Windows.StartupEventArgs)  
at System.Windows.Application.\<.ctor\>b\_\_1\_0(System.Object)  
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)  
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)  
at System.Windows.Threading.DispatcherOperation.InvokeImpl()  
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)  
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)  
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)  
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)  
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)  
at System.Windows.Threading.DispatcherOperation.Invoke()  
at System.Windows.Threading.Dispatcher.ProcessQueue()  
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)  
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)  
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)  
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)  
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)  
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)  
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)  
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)  
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)  
at System.Windows.Application.RunDispatcher(System.Object)  
at System.Windows.Application.RunInternal(System.Windows.Window)  
at Prosa.Log4View.Core.App.Main()

---

<div class="post-metadata">

**Author:** ![Ulrich](https://forum.log4view.com/user_avatar/forum.log4view.com/ulrich/32/7_2.png) [@Ulrich](https://forum.log4view.com/u/Ulrich)\
**Post date:** [July 4, 2019, 3:12pm UTC](https://forum.log4view.com/t/crash-on-startup/143/2 "2019-07-04T15:12:59Z")

</div>

Hi Todd,

please check also the “%AppData%Local\PROSA\_GMBH\Log4View.exe\_StrongName….” Folder.  
If this fixes the problem, you could help us by sending the problematic files to [support@prosa.biz](http://mailto://support@prosa.biz).

Please let me know if this fixes your problem.

Ulrich

---

<div class="post-metadata">

**Author:** ![RWalther](https://forum.log4view.com/letter_avatar_proxy/v4/letter/r/7bcc69/32.png) [@RWalther](https://forum.log4view.com/u/RWalther)\
**Post date:** [August 13, 2021, 2:01pm UTC](https://forum.log4view.com/t/crash-on-startup/143/3 "2021-08-13T14:01:16Z")

</div>

Hello

I had exactly the same error already twice. The problem was always a corrupted user.config in …\AppData\Local\PROSA\_GmbH. Based on the error messages I guess it has something to do with invalid window positions. It may also be linked to the fact that I use Log4View view Remote Desktop from different Clients (Notebook and Desktop with three screens).

Regards  
Raffael Walther
