Synchronization unexpected error (Impossible d'accéder à un objet supprimé. Nom de l'objet : 'Icon'.))

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Post Reply
gwilliam
Posts: 2
Joined: September 3rd, 2023, 4:09 pm

Synchronization unexpected error (Impossible d'accéder à un objet supprimé. Nom de l'objet : 'Icon'.))

Post by gwilliam »

Hi, I was downloading cases from Dropbox server several times and it works fine but yesterday, when the downloading finished, I notice that it was done with the old dictionary not the last one as it does so many times. So I retry to download it but it's sait that connection was too low. So I open and old and good csdb file, and do synchronize. It was almost done when I get an error message box (I forgetting capture it) but I copy the message that's below :

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.ObjectDisposedException: Impossible d'accéder à un objet supprimé.
Nom de l'objet : 'Icon'.
à System.Drawing.Icon.get_Handle()
à System.Drawing.Icon.get_Size()
à System.Drawing.Icon.BmpFrame()
à System.Drawing.Icon.ToBitmap()
à System.Windows.Forms.MdiControlStrip.GetTargetWindowIcon()
à System.Windows.Forms.MdiControlStrip..ctor(IWin32Window target)
à System.Windows.Forms.Form.UpdateMdiControlStrip(Boolean maximized)
à System.Windows.Forms.Form.UpdateToolStrip()
à System.Windows.Forms.Form.OnMdiChildActivate(EventArgs e)
à System.Windows.Forms.Form.ActivateMdiChildInternal(Form form)
à System.Windows.Forms.Form.WmMdiActivate(Message& m)
à System.Windows.Forms.Form.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys chargés **************
mscorlib
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DataViewer
Version de l'assembly : 7.7.2.0
Version Win32 : 7.7.2.0
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/DataViewer.exe
----------------------------------------
System.Windows.Forms
Version de l'assembly : 4.0.0.0
Version Win32 : 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
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.9172.0 built by: NET481REL1LAST_C
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Version de l'assembly : 4.0.0.0
Version Win32 : 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
----------------------------------------
zDataCLR
Version de l'assembly : 7.7.2.0
Version Win32 :
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/zDataCLR.DLL
----------------------------------------
System.Configuration
Version de l'assembly : 4.0.0.0
Version Win32 : 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
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Version de l'assembly : 4.0.0.0
Version Win32 : 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
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 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_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
zDictCLR
Version de l'assembly : 7.7.2.0
Version Win32 :
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/zDictCLR.DLL
----------------------------------------
zUtilCLR
Version de l'assembly : 7.7.2.0
Version Win32 :
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/zUtilCLR.DLL
----------------------------------------
Accessibility
Version de l'assembly : 4.0.0.0
Version Win32 : 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
----------------------------------------
zBridgeCLR
Version de l'assembly : 7.7.2.0
Version Win32 :
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/zBridgeCLR.DLL
----------------------------------------
Microsoft.Web.WebView2.WinForms
Version de l'assembly : 1.0.1020.30
Version Win32 : 1.0.1020.30
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/Microsoft.Web.WebView2.WinForms.DLL
----------------------------------------
Microsoft.Web.WebView2.Core
Version de l'assembly : 1.0.1020.30
Version Win32 : 1.0.1020.30
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/Microsoft.Web.WebView2.Core.DLL
----------------------------------------
zSyncCLR
Version de l'assembly : 7.7.2.0
Version Win32 :
CodeBase : file:///C:/Program%20Files%20(x86)/CSPro%207.7/zSyncCLR.DLL
----------------------------------------
mscorlib.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.9032.0 built by: NET481REL1
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

But when I click, Ignore, it ends synchronizing and I get my cases on the updated dictionary.
My questions are :
1. why suddenly, it downloaded cases with and old outdated dictionary (and not with the updated one as it does well many times after new deploy)
2. How to resolve this error

So I need a help to know what to do next time. because we were still collecting data on the field.

Thanks for your help.
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Synchronization unexpected error (Impossible d'accéder à un objet supprimé. Nom de l'objet : 'Icon'.))

Post by Gregory Martin »

That error message is related to the UI of Data Viewer, but I've never seen anything like it.

Was your data file corrupted, or is it still okay? I would just try to sync again. Does this always happen when you sync now?

You can also try updating to the latest CSPro, 7.7.3, as you have the previous version: https://www.csprousers.org/downloads/
gwilliam
Posts: 2
Joined: September 3rd, 2023, 4:09 pm

Re: Synchronization unexpected error (Impossible d'accéder à un objet supprimé. Nom de l'objet : 'Icon'.))

Post by gwilliam »

I tried again, but by opening an old csdb file and synchronizing (not downloading again) and it works.

At the end of the survey I will install the latest version.

Thanks for your attention.
Post Reply