em with Smartermail crash

We recently migrated from iMail to Smartermail and are using emClient. Everything works fine until we add a task or for holidays add United States as a calendar after which emClient crashes. If i remove the US holiday calendar, the app will crash becuase of the task. I can delete the task from the webmail client, but still emclient crashes. I submitted a trouble ticket to support and they suggested i deleted the database folder and start over, which i did. However, the crashes continue. By the way, there only seems to be one person in tech support who asks me to try this and i usually receive his email at 2am…I always have to wait atleast one day. Meanwhile, I am waiting on placing an order for more licenses but support is very slow. Anyways, below is the output from the application crash window:

eM Client (6.0.21372.0)Windows: Microsoft Windows NT 5.1.2600 Service Pack 3, Framework: 4.0.30319.1022
The following error has occurred:
System.InvalidCastException: Unable to cast object of type ‘System.DBNull’ to type ‘System.IComparable’.
   at MailClient.Storage.Data.SQLite.DbRepository1.FindOids(QueryCondition condition, CancellationToken cancellationToken, SortField[] sortKeys)    at MailClient.Protocols.Common.ItemSynchronizeContext2.Synchronize[T](SynchronizationType synchronizationType, IEnumerable1 items, Func2 getUniqueId, Func3 hasChanged, Func2 isDeleted, Func2 convertItems, Action2 updateItem)
   at MailClient.Protocols.Exchange.ExchangeItemSynchronizer2.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
   at MailClient.Protocols.Common.ItemSynchronizer2.\<\>c\_\_DisplayClass30.\<\>c\_\_DisplayClass35.<enqueuesynchronize>b__2c(WorkerStatus status, CancellationToken cancellationToken)<br> at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)<br> at MailClient.Commands.Command.Process(WorkerStatus status)<br> at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)<br> at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)<br> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br> at System.Threading.ThreadHelper.ThreadStart(Object obj)<br><br><br><report xmlns="&lt;a href=" http:>" rel="nofollow" target="_blank"&gt;http://emclient.com/ns/report"&gt;;<br> <product><br> <name>eM Client</name><br> <version>6.0.21372.0</version><br> </product><br> <silent>false</silent><br> <environment><br> <osversion>Microsoft Windows NT 5.1.2600 Service Pack 3</osversion><br> <frameworkversion>4.0.30319.1022</frameworkversion><br> </environment><br> <exception><br> <type>System.InvalidCastException</type><br> <message>Unable to cast object of type 'System.DBNull' to type 'System.IComparable'.</message><br> <source>MailClient</source><br> <stack><br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100670344</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Data.SQLite.DbRepository1
FindOids


MailClient
MailClient.Storage.Query.QueryCondition
condition


MailClient
System.Threading.CancellationToken
cancellationToken


MailClient
MailClient.Storage.Query.SortField[]
sortKeys



bc
1e4




MailClient.exe
100667513
MailClient
MailClient.Protocols.Common.ItemSynchronizeContext2</type><br> <name>Synchronize</name><br> <genericarguments><br> <argument><br> <assembly>MailClient</assembly><br> <type></type><br> </argument><br> </genericarguments><br> <parameters><br> <parameter><br> <assembly>MailClient</assembly><br> <type>MailClient.Protocols.Common.SynchronizationType</type><br> <name>synchronizationType</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type></type><br> <name>items</name><br> </parameter><br> <parameter><br> <assembly>LinqBridge</assembly><br> <type></type><br> <name>getUniqueId</name><br> </parameter><br> <parameter><br> <assembly>LinqBridge</assembly><br> <type></type><br> <name>hasChanged</name><br> </parameter><br> <parameter><br> <assembly>LinqBridge</assembly><br> <type></type><br> <name>isDeleted</name><br> </parameter><br> <parameter><br> <assembly>LinqBridge</assembly><br> <type></type><br> <name>convertItems</name><br> </parameter><br> <parameter><br> <assembly>LinqBridge</assembly><br> <type></type><br> <name>updateItem</name><br> </parameter><br> </parameters><br> </method><br> <offset>cf</offset><br> <nativeoffset>347</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100667669</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Protocols.Exchange.ExchangeItemSynchronizer2
Synchronize


MailClient

synchronizeContext


MailClient
MailClient.Storage.Application.Folder
folder


MailClient
System.Threading.CancellationToken
cancellationToken



15d
7e6




MailClient.exe
100697506
MailClient
MailClient.Protocols.Common.ItemSynchronizer`2+<>c DisplayClass30+<>c DisplayClass35
<EnqueueSynchronize>b__2c


MailClient
MailClient.Commands.WorkerStatus
status


MailClient
System.Threading.CancellationToken
cancellationToken



da
1ea




MailClient.exe
100667890
MailClient
MailClient.Protocols.Exchange.ExchangeGenericCommand
Execute


MailClient
MailClient.Commands.WorkerStatus
status



96
216




MailClient.exe
100664007
MailClient
MailClient.Commands.Command
Process


MailClient
MailClient.Commands.WorkerStatus
status



15
59




MailClient.exe
100664060
MailClient
MailClient.Commands.SynchronizationQueue
ThreadWorker


mscorlib
System.Object
threadData



8c
122




mscorlib.dll
100669032
mscorlib
System.Threading.ThreadHelper
ThreadStart_Context


mscorlib
System.Object
state



25
92




mscorlib.dll
100668817
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state


mscorlib
System.Boolean
ignoreSyncCtx



6a
af




mscorlib.dll
100668816
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state



0
2b




mscorlib.dll
100669033
mscorlib
System.Threading.ThreadHelper
ThreadStart


mscorlib
System.Object
obj



f
4d






MailClient.exe
C:\Program Files\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.21372.0
eM Client
eM Client
6.0.21372.0
False
False
False
False
False
Language Neutral


ntdll.dll
C:\WINDOWS\system32\ntdll.dll
ntdll.dll
ntdll.dll
5.1.2600.6055 (xpsp_sp3_gdr.101209-1647)
NT Layer DLL
Microsoft® Windows® Operating System
5.1.2600.6055
False
False
False
False
False
English (United States)


mscoree.dll
C:\WINDOWS\system32\mscoree.dll
mscoree.dll
mscoree.dll
4.0.31106.0 (Main.031106-0000)
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.31106.0
False
False
False
True
False
English (United States)


KERNEL32.dll
C:\WINDOWS\system32\KERNEL32.dll
kernel32
kernel32
5.1.2600.6532 (xpsp_sp3_qfe.140312-0419)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
5.1.2600.6532
False
False
False
False
False
English (United States)


ADVAPI32.dll
C:\WINDOWS\system32\ADVAPI32.dll
advapi32.dll
advapi32.dll
5.1.2600.5755 (xpsp_sp3_gdr.090206-1234)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
5.1.2600.5755
False
False
False
False
False
English (United States)


RPCRT4.dll
C:\WINDOWS\system32\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll
5.1.2600.6477 (xpsp_sp3_qfe.131106-0418)
Remote Procedure Call Runtime
Microsoft® Windows® Operating System
5.1.2600.6477
False
False
False
False
False
English (United States)


Secur32.dll
C:\WINDOWS\system32\Secur32.dll
security.dll
security.dll
5.1.2600.5834 (xpsp_sp3_gdr.090624-1305)
Security Support Provider Interface
Microsoft® Windows® Operating System
5.1.2600.5834
False
False
False
False
False
English (United States)


mscoreei.dll
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
mscoreei.dll
mscoreei.dll
4.0.30319.237 (RTMGDR.030319-2300)
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.30319.237
False
False
False
True
False
English (United States)


SHLWAPI.dll
C:\WINDOWS\system32\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL
6.00.2900.5912 (xpsp_sp3_gdr.091207-1454)
Shell Light-weight Utility Library
Microsoft® Windows® Operating System
6.00.2900.5912
False
False
False
False
False
English (United States)


GDI32.dll
C:\WINDOWS\system32\GDI32.dll
gdi32
gdi32
5.1.2600.6460 (xpsp_sp3_qfe.131009-0419)
GDI Client DLL
Microsoft® Windows® Operating System
5.1.2600.6460
False
False
False
False
False
English (United States)


USER32.dll
C:\WINDOWS\system32\USER32.dll
user32
user32
5.1.2600.5512 (xpsp.080413-2105)
Windows XP USER API Client DLL
Microsoft® Windows® Operating System
5.1.2600.5512
False
False
False
False
False
English (United States)


msvcrt.dll
C:\WINDOWS\system32\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.2600.5512 (xpsp.080413-2111)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.2600.5512
False
False
False
False
False
English (United States)


IMM32.DLL
C:\WINDOWS\system32\IMM32.DLL
imm32
imm32
5.1.2600.5512 (xpsp.080413-2105)
Windows XP IMM32 API Client DLL
Microsoft® Windows® Operating System
5.1.2600.5512
False
False
False
False
False
English (United States)


clr.dll
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll
clr.dll
clr.dll
4.0.30319.1022 (RTMGDR.030319-1000)
Microsoft .NET Runtime Common Language Runtime - WorkStation
Microsoft® .NET Framework
4.0.30319.1022
False
False
False
True
False
English (United States)


MSVCR100_CLR0400.dll
C:\WINDOWS\system32\MSVCR100_CLR0400.dll
msvcr100_clr0400.dll
msvcr100_clr0400.dll
10.00.30319.1
Microsoft® C Runtime Library
Microsoft® Visual Studio® 2010
10.00.30319.1
False
False
False
False
False
English (United States)


mscorlib.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\mscorlib\4e62d1d9b7dd2c2d14915abb73c22d50\mscorlib.ni.dll
mscorlib.dll
mscorlib.dll
4.0.30319.1022 (RTMGDR.030319-1000)
Microsoft Common Language Runtime Class Library
Microsoft® .NET Framework
4.0.30319.1022
False
False
False
True
False
English (United States)


ole32.dll
C:\WINDOWS\system32\ole32.dll
OLE32.DLL
OLE32.DLL
5.1.2600.6435 (xpsp_sp3_qfe.130803-0418)
Microsoft OLE for Windows
Microsoft® Windows® Operating System
5.1.2600.6435
False
False
False
False
False
English (United States)


uxtheme.dll
C:\WINDOWS\system32\uxtheme.dll
UxTheme.dll
UxTheme.dll
6.00.2900.5512 (xpsp.080413-2105)
Microsoft UxTheme Library
Microsoft® Windows® Operating System
6.00.2900.5512
False
False
False
False
False
English (United States)


MSCTF.dll
C:\WINDOWS\system32\MSCTF.dll
MSCTF
MSCTF.DLL
5.1.2600.5512 (xpsp.080413-2105)
MSCTF Server DLL
Microsoft® Windows® Operating System
5.1.2600.5512
False
False
False
False
False
English (United States)


tv_w32.dll
C:\Program Files\TeamViewer\tv_w32.dll
TeamViewer
tv_w32.dll
10.0.40798.0
TeamViewer 10
TeamViewer Remote Control
10.0
False
False
False
False
False
Language Neutral


VERSION.dll
C:\WINDOWS\system32\VERSION.dll
version
VERSION.DLL
5.1.2600.5512 (xpsp.080413-2105)
Version Checking and File Installation Libraries
Microsoft® Windows® Operating System
5.1.2600.5512
False
False
False
False
False
English (United States)


COMCTL32.dll
C:\WINDOWS\system32\COMCTL32.dll
COMCTL32
COMCTL32.DLL
5.82 (xpsp_sp3_qfe.100823-1643)
Common Controls Library
Microsoft® Windows® Operating System
6.00.2900.6028
False
False
False
False
False
English (United States)


SHELL32.dll
C:\WINDOWS\system32\SHELL32.dll
SHELL32
SHELL32.DLL
6.00.2900.6242 (xpsp_sp3_gdr.120608-1638)
Windows Shell Common Dll
Microsoft® Windows® Operating System
6.00.2900.6242
False
False
False
False
False
English (United States)


comctl32.dll
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
comctl32
comctl32.DLL
6.0 (xpsp_sp3_qfe.100823-1643)
User Experience Controls Library
Microsoft® Windows® Operating System
6.00.2900.6028
False
False
False
False
False
English (United States)


culture.dll
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\culture.dll
culture.dll
culture.dll
4.0.30319.237 (RTMGDR.030319-2300)
Microsoft Globalization Support
Microsoft® .NET Framework
4.0.30319.237
False
False
False
True
False
English (United States)


nlssorting.dll
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll
nlssorting.dll
nlssorting.dll
4.0.30319.1022 (RTMGDR.030319-1000)
Microsoft Collation Support
Microsoft® .NET Framework
4.0.30319.1022
False
False
False
True
False
English (United States)


System.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System\4c906eb82e6f56aea01b2a7291fab7ea\System.ni.dll
System.dll
System.dll
4.0.30319.1001 built by: RTMGDR
.NET Framework
Microsoft® .NET Framework
4.0.30319.1001
False
False
False
True
False
English (United States)


rsaenh.dll
C:\WINDOWS\system32\rsaenh.dll
rsaenh.dll
rsaenh.dll
5.1.2600.5507 (xpsp.080318-1711)
Microsoft Enhanced Cryptographic Provider
Microsoft® Windows® Operating System
5.1.2600.5507
False
False
False
False
False
English (United States)


MailClient.Collections.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\MailClient.Collecti#\4c23422f3db9d0d3395138455dade6dd\MailClient.Collections.ni.dll
MailClient.Collections.dll
MailClient.Collections.dll
6.0.21372.0
MailClient.Collections
MailClient.Collections
6.0.21372.0
False
False
False
False
False
Language Neutral


MailClient.Mail.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\MailClient.Mail\55e31ede2e861add901c1a050c507d57\MailClient.Mail.ni.dll
MailClient.Mail.dll
MailClient.Mail.dll
6.0.21372.0


6.0.21372.0
False
False
False
False
False
Language Neutral


HTMLEditorControl.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\HTMLEditorControl\03d283a7ac075114a7800b7c4c95081a\HTMLEditorControl.ni.dll
HTMLEditorControl.dll
HTMLEditorControl.dll
6.0.21372.0
HtmlEditorControl

6.0.21372.0
False
False
False
False
False
Language Neutral


MailClient.ni.exe
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\MailClient\058f76e72feedf3ee2a41cc4001244bf\MailClient.ni.exe
MailClient.exe
MailClient.exe
6.0.21372.0
eM Client
eM Client
6.0.21372.0
False
False
False
False
False
Language Neutral


Esent.Interop.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Esent.Interop\9d57de36ed7d1d33b93e985284e60365\Esent.Interop.ni.dll
Esent.Interop.dll
Esent.Interop.dll
1.7.0.0
EsentInterop
EsentInterop
1.7.0.0
False
False
False
False
False
Language Neutral


Microsoft.Exchange.WebServices.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Microsoft.Exchange.#\c3b20e134a926f7ff13772d33ca4c093\Microsoft.Exchange.WebServices.ni.dll
Microsoft.Exchange.WebServices.dll
Microsoft.Exchange.WebServices.dll
15.0.847.33

I have also tried repairing the database every time it crashes, no difference.

Hi, our support centre is based in central Europe so time differences can be present, can you please try to run the application in offline mode if the application crashes on startup as well?

To run the application in offline mode, please hold the ctrl button on startup and hold it until the application loads up.

Based on the look on the error it seems like this is a problem with an Exchange account, how did you setup your account with eM Client?

Can you also please try to update your client to this release if the issue persists, http://www.emclient.com/dist/v6.0.22283/setup.msi .

If you’ve submitted a ticket to the PRO support, can you please submit the ticket ID to me for more information about the issue?

Thank you.