# Unhandled Exception

**URL:** <https://forum.log4view.com/t/unhandled-exception/56>\
**Category:** Log4View Support\
**Created:** [May 8, 2015, 8:23am UTC](https://forum.log4view.com/t/unhandled-exception/56 "2015-05-08T08:23:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jod](https://forum.log4view.com/letter_avatar_proxy/v4/letter/j/dbc845/32.png) [@jod](https://forum.log4view.com/u/jod)\
**Post date:** [May 8, 2015, 8:23am UTC](https://forum.log4view.com/t/unhandled-exception/56/1 "2015-05-08T08:23:51Z")

</div>

This happened while closing third of tree instance of Log4View

Closed first: Log4View looking at files on network drive and configuration A saved locally  
Waiting 2 seconds, the closed two remaing instances using closse all from taskbar  
Closes suscessfull: Log4View looking at same files on network drive but with configuration B saved locally  
Close fail with unhandled exception below: Log4View looking at same files on network drive and same configuration A saved locally

See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box.

\*\*\*\*\*\*\*\*\*\*\*\*\*\* Exception Text \*\*\*\*\*\*\*\*\*\*\*\*\*\*  
System.IO.IOException: Illegal operation attempted on a registry key that has been marked for deletion.

at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)  
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)  
at DevExpress.Utils.Serializing.RegistryXtraSerializer.SerializeProperty(RegistryKey key, XtraPropertyInfo p)  
at DevExpress.Utils.Serializing.RegistryXtraSerializer.SerializeLevel(RegistryKey key, IXtraPropertyCollection props)  
at DevExpress.Utils.Serializing.RegistryXtraSerializer.SerializeProperty(RegistryKey key, XtraPropertyInfo p)  
at DevExpress.Utils.Serializing.RegistryXtraSerializer.SerializeLevel(RegistryKey key, IXtraPropertyCollection props)  
at DevExpress.Utils.Serializing.RegistryXtraSerializer.SerializeProperty(RegistryKey key, XtraPropertyInfo p)  
at DevExpress.Utils.Serializing.RegistryXtraSerializer.SerializeLevel(RegistryKey key, IXtraPropertyCollection props)  
at DevExpress.Utils.Serializing.RegistryXtraSerializer.Serialize(String path, IXtraPropertyCollection props, String appName)  
at DevExpress.XtraBars.Docking.DockManager.SaveLayoutCore(XtraSerializer serializer, Object path)  
at Prosa.Log4View.Log4ViewCtrl.CanClose()  
at Prosa.Log4View.ProgramForm.ProgramFormFormClosing(Object sender, FormClosingEventArgs e)  
at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)  
at System.Windows.Forms.Form.WmClose(Message& m)  
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)  
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

## \*\*\*\*\*\*\*\*\*\*\*\*\*\* Loaded Assemblies \*\*\*\*\*\*\*\*\*\*\*\*\*\* mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

## Log4View Assembly Version: 12.5.8.0 Win32 Version: 12.5.8.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/Log4View.exe

## log4net Assembly Version: 1.2.13.0 Win32 Version: 1.2.13.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/log4net.DLL

## System Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.dll

## System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Core/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Core.dll

## System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Configuration/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Configuration.dll

## PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_64/PresentationCore/v4.0\_4.0.0.0\_\_31bf3856ad364e35/PresentationCore.dll

## WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/WindowsBase/v4.0\_4.0.0.0\_\_31bf3856ad364e35/WindowsBase.dll

## System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Xml/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Xml.dll

## DevExpress.Utils.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.Utils.v14.2.DLL

## System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Windows.Forms/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Windows.Forms.dll

## System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Drawing/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Drawing.dll

## DevExpress.BonusSkins.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.BonusSkins.v14.2.DLL

## DevExpress.Data.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.Data.v14.2.DLL

## DevExpress.XtraBars.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.XtraBars.v14.2.DLL

## Prosa.Licensing Assembly Version: 12.1.0.0 Win32 Version: 12.1.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/Prosa.Licensing.DLL

## DevExpress.XtraEditors.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.XtraEditors.v14.2.DLL

## DevExpress.XtraTreeList.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.XtraTreeList.v14.2.DLL

## System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_64/System.Data/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Data.dll

## DevExpress.XtraGrid.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.XtraGrid.v14.2.DLL

## DevExpress.XtraCharts.v14.2.UI Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.XtraCharts.v14.2.UI.DLL

## DevExpress.XtraCharts.v14.2 Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.XtraCharts.v14.2.DLL

## DevExpress.Charts.v14.2.Core Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.Charts.v14.2.Core.DLL

## DevExpress.XtraCharts.v14.2.Wizard Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.XtraCharts.v14.2.Wizard.DLL

## Autofac Assembly Version: 3.4.0.0 Win32 Version: 3.4.1.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/Autofac.DLL

## System.ComponentModel.Composition Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.ComponentModel.Composition/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.ComponentModel.Composition.dll

## Autofac.Integration.Mef Assembly Version: 3.0.0.0 Win32 Version: 3.0.3.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/Autofac.Integration.Mef.DLL

## Log4View.TelemetryInterface Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/Log4View.TelemetryInterface.DLL

## Log4View.Utils Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/Log4View.Utils.DLL

## System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Runtime.Serialization/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Runtime.Serialization.dll

## PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/PresentationFramework/v4.0\_4.0.0.0\_\_31bf3856ad364e35/PresentationFramework.dll

## System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Xaml/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Xaml.dll

## System.Data.DataSetExtensions Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Data.DataSetExtensions/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Data.DataSetExtensions.dll

## System.Design Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Design/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Design.dll

## System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Xml.Linq/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Xml.Linq.dll

## System.ServiceModel Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.ServiceModel/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.ServiceModel.dll

## System.IdentityModel Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.IdentityModel/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.IdentityModel.dll

## Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_64/mscorlib/v4.0\_4.0.0.0\_\_b77a5c561934e089/mscorlib.dll

## System.Data.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Data.Linq/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Data.Linq.dll

## System.Security Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Security/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Security.dll

## Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Xml/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Xml.dll

## SMDiagnostics Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/SMDiagnostics/v4.0\_4.0.0.0\_\_b77a5c561934e089/SMDiagnostics.dll

## System.ServiceModel.Internals Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.ServiceModel.Internals/v4.0\_4.0.0.0\_\_31bf3856ad364e35/System.ServiceModel.Internals.dll

## DevExpress.Printing.v14.2.Core Assembly Version: 14.2.5.0 Win32 Version: 14.2.5.0 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/DevExpress.Printing.v14.2.Core.DLL

## Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/Accessibility/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/Accessibility.dll

## UIAutomationClient Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/UIAutomationClient/v4.0\_4.0.0.0\_\_31bf3856ad364e35/UIAutomationClient.dll

## System.ComponentModel.DataAnnotations Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.ComponentModel.DataAnnotations/v4.0\_4.0.0.0\_\_31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

## Newtonsoft.Json Assembly Version: 6.0.0.0 Win32 Version: 6.0.3.17227 CodeBase: file:///C:/Program%20Files%20(x86)/Log4View/Newtonsoft.Json.DLL

## System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Management/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Management.dll

## Microsoft.VisualStudio.Diagnostics.ServiceModelSink Assembly Version: 4.0.0.0 Win32 Version: 14.0.22310.1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll

## System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_64/System.Web/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Web.dll

## System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.5.27.0 built by: FX453PREVIEWREL CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC\_MSIL/System.Numerics/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Numerics.dll

\*\*\*\*\*\*\*\*\*\*\*\*\*\* JIT Debugging \*\*\*\*\*\*\*\*\*\*\*\*\*\*  
To enable just-in-time (JIT) debugging, the .config file for this  
application or computer (machine.config) must have the  
jitDebugging value set in the system.windows.forms section.  
The application must also be compiled with debugging  
enabled.

For example:

When JIT debugging is enabled, any unhandled exception  
will be sent to the JIT debugger registered on the computer  
rather than be handled by this dialog box.

---

<div class="post-metadata">

**Author:** ![Philipp\_Lauchner](https://forum.log4view.com/user_avatar/forum.log4view.com/philipp_lauchner/32/8_2.png) [@Philipp\_Lauchner](https://forum.log4view.com/u/Philipp_Lauchner)\
**Post date:** [May 15, 2015, 9:42am UTC](https://forum.log4view.com/t/unhandled-exception/56/2 "2015-05-15T09:42:40Z")

</div>

Dear Jens,

We just released a new beta version 12.5.10 with some checks added, which should solve your problem. You find the new version at [http://www.log4view.com/download/beta-releases/](http://www.log4view.com/download/beta-releases/)

Yours sincerely

Philipp Lauchner  
**PROSA GmbH**  
 Development & Support
