eM Client crash on startup

Having the same issue here.  I cannot delete the Exchange account, nor can I disable it.  If I ignore the error dialog, it then shows me “Deleting Account - This operation may take a while to complete”.  It hasn’t completed yet, so I don’t know if it actually will ever finish.

Hi, when this error occurs, can you please switch to the Log tab in the operations window and copy the content of the Log and post it either here or to my email?

Thank you,
Paul.

Hi, can you please try to download this latest release of eM client, it should contain a lot of bug fixes regarding the Exchange issue, http://www.emclient.com/dist/v6.0.21005/setup.msi .
Please install the update and let me know if issues persist.

Thank you,
Paul.

In trying this update, I still get the same error as mentioned above. I’ve also tried deleting the OAB file from the eM Client directory. The good news is that I now again seem to be able to make changes to the Exchange calendar in eM Client and have those changes reflected on the server.

Thank you so much for all your help.

Hi again David,
if you switch to the Log tab when the error occurs, can you see the same error as in the previous version? If you’re not sure, just send me the content of the Log again.

Thank you,
Paul.

Paul,

I think the relevant error log section is below. Feel free to ask if you need anything else. Thank you so much for all your efforts.

4:52:17 PM Exchange [Offline Address Book]  MailExceptions.ConnectionException: Index was outside the bounds of the array. —> System.IndexOutOfRangeException: Index was outside the bounds of the array.4:52:17 PM    at Microsoft.Xna.Framework.LzxDecoder.Decompress(Stream inData, Int32 inLen, Stream outData, Int32 outLen)
4:52:17 PM    at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.UncompressLzx(Stream fullFile, Stream outputFile)
4:52:17 PM    at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.GetFolderList(Folder homeFolder, CancellationToken cancellationToken)
4:52:17 PM    at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass5.b__0(WorkerStatus status, CancellationToken cancellationToken)
4:52:17 PM at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
4:52:17 PM — End of inner exception stack trace —
4:52:17 PM at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
4:52:17 PM at MailClient.Commands.Command.Process(WorkerStatus status)

Hi again David, please update your application to this most recent release http://www.emclient.com/dist/v6.0.21015/setup.msi , this update contains more bug fixes and you should no longer see the error.

Thank you,
Paul.

Paul,

Thanks so much for this update. I’ve installed the eM Client version you’ve mentioned here (6.0.21015), but I’m still seeing the error with the Exchange Offline Address book as described above. What looks to be the relevant excerpt from the log is below.

Thank you, again, for all your help.

4:57:05 PM Exchange [Offline Address Book]  Synchronizing folder list4:57:05 PM Exchange [Exchange Web Services]  Synchronizing folder list
4:57:06 PM Exchange [Offline Address Book]  MailExceptions.ConnectionException: Index was outside the bounds of the array. —> System.IndexOutOfRangeException: Index was outside the bounds of the array.
4:57:06 PM    at Microsoft.Xna.Framework.LzxDecoder.Decompress(Stream inData, Int32 inLen, Stream outData, Int32 outLen)
4:57:06 PM    at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.UncompressLzx(Stream fullFile, Stream outputFile)
4:57:06 PM    at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.GetFolderList(Folder homeFolder, CancellationToken cancellationToken)
4:57:06 PM    at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass5.b__0(WorkerStatus status, CancellationToken cancellationToken)
4:57:06 PM at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
4:57:06 PM — End of inner exception stack trace —
4:57:06 PM at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
4:57:06 PM at MailClient.Commands.Command.Process(WorkerStatus status)

Hi David, thank you for reporting this, I was notified from one of our developers that a fix for the issue should be included in an upcoming update, please be patient the update should be released soon.
I’ll let you know when the update is available for download or when I get more information about the issue.

Thank you,
Paul.

Hi again David, can you please download this update : http://www.emclient.com/dist/v6.0.21032/setup.msi , install the update on your computer, once again, please remove all the existing *.oab files in your eM Client database folder in your local folder > App Data > Roaming > eM Client, and check if the issue persists…

The update contains more fixes regarding exchange accounts and should hopefully be resolved completely.
But if the issue persists, please let me know.

Thank you,
Paul.

Thanks, Paul. Unfortunately, this new update, seems to reinstitute the crash-restart-repeat cycle again. In addition to what you’ve suggested, I’ve full uninstalled eM Client, deleted the eM Client folder under Roaming, and reinstalled. On importing settings, the Exchange account is disabled like I described earlier. On deleting the account and recreating it, the crash, restart, repeat cycle begins anew. Deleting the OAB file seemingly makes no difference.

The full text of the error report is below for reference.

Thank you so much for all your help.


eM Client (6.0.21032.0)Windows: Microsoft Windows NT 6.1.7601 Service Pack 1, Framework: 4.0.30319.18444
The following error has occurred:
System.NotSupportedException: This stream does not support seek operations.
   at System.Net.ConnectStream.get_Position()
   at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.UncompressLzx(Stream fullFile, Stream outputFile)
   at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.GetFolderList(Folder homeFolder, CancellationToken cancellationToken)
   at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass5.b__0(WorkerStatus status, CancellationToken cancellationToken)
at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)


" rel=“nofollow” target="_blank">http://emclient.com/ns/report">;

eM Client
6.0.21032.0

false

Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.18444


System.NotSupportedException
This stream does not support seek operations.
System




System.dll
100673629
System
System.Net.ConnectStream
get_Position


f
39




MailClient.exe
100668770
MailClient
MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer
UncompressLzx


mscorlib
System.IO.Stream
fullFile


mscorlib
System.IO.Stream
outputFile



a0
162




MailClient.exe
100668771
MailClient
MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer
GetFolderList


MailClient
MailClient.Storage.Application.Folder
homeFolder


MailClient
System.Threading.CancellationToken
cancellationToken



51f
ae0




MailClient.exe
100697499
MailClient
MailClient.Protocols.Common.FolderSynchronizer+<>c DisplayClass5
<EnqueueGetFolderList>b
0


MailClient
MailClient.Commands.WorkerStatus
status


MailClient
System.Threading.CancellationToken
cancellationToken



1e
6f




MailClient.exe
100668764
MailClient
MailClient.Protocols.OfflineAddressBook.OabGenericCommand
Execute


MailClient
MailClient.Commands.WorkerStatus
status



4f
10d




MailClient.exe
100664007
MailClient
MailClient.Commands.Command
Process


MailClient
MailClient.Commands.WorkerStatus
status



15
53




MailClient.exe
100664057
MailClient
MailClient.Commands.SynchronizationQueue
ThreadWorker


mscorlib
System.Object
threadData



8c
11c




mscorlib.dll
100669199
mscorlib
System.Threading.ThreadHelper
ThreadStart_Context


mscorlib
System.Object
state



25
9b




mscorlib.dll
100668967
mscorlib
System.Threading.ExecutionContext
RunInternal


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state


mscorlib
System.Boolean
preserveSyncCtx



70
a6




mscorlib.dll
100668966
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state


mscorlib
System.Boolean
preserveSyncCtx



0
15




mscorlib.dll
100668965
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state



2b
40




mscorlib.dll
100669196
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.21032.0
eM Client
eM Client
6.0.21032.0
False
False
False
False
False
Language Neutral


ntdll.dll
C:\Windows\SYSTEM32\ntdll.dll
ntdll.dll
ntdll.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
NT Layer DLL
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


MSCOREE.DLL
C:\Windows\SYSTEM32\MSCOREE.DLL
mscoree.dll
mscoree.dll
4.0.40305.0 (Main.040305-0000)
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.40305.0
False
False
False
True
False
English (United States)


KERNEL32.dll
C:\Windows\system32\KERNEL32.dll
kernel32
kernel32
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.1.7601.18015
False
False
False
False
False
English (United States)


KERNELBASE.dll
C:\Windows\system32\KERNELBASE.dll
Kernelbase
Kernelbase
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.1.7601.18015
False
False
False
False
False
English (United States)


ADVAPI32.dll
C:\Windows\system32\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


msvcrt.dll
C:\Windows\system32\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.7601.17744 (win7sp1_gdr.111215-1535)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.7601.17744
False
False
False
False
False
English (United States)


sechost.dll
C:\Windows\SYSTEM32\sechost.dll
sechost.dll
sechost.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Host for SCM/SDDL/LSA Lookup APIs
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


RPCRT4.dll
C:\Windows\system32\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Remote Procedure Call Runtime
Microsoft® Windows® Operating System
6.1.7600.16385
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.18408 built by: FX451RTMGREL
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.30319.18408
False
False
False
True
False
English (United States)


SHLWAPI.dll
C:\Windows\system32\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL.MUI
6.1.7600.16385 (win7_rtm.090713-1255)
Shell Light-weight Utility Library
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


GDI32.dll
C:\Windows\system32\GDI32.dll
gdi32
gdi32
6.1.7601.18577 (win7sp1_gdr.140822-1508)
GDI Client DLL
Microsoft® Windows® Operating System
6.1.7601.18577
False
False
False
False
False
English (United States)


USER32.dll
C:\Windows\system32\USER32.dll
user32
user32
6.1.7601.17514 (win7sp1_rtm.101119-1850)
Multi-User Windows USER API Client DLL
Microsoft® Windows® Operating System
6.1.7601.17514
False
False
False
False
False
English (United States)


LPK.dll
C:\Windows\system32\LPK.dll
LanguagePack
LanguagePack
6.1.7601.18177 (win7sp1_gdr.130605-1534)
Language Pack
Microsoft® Windows® Operating System
6.1.7601.18177
False
False
False
False
False
English (United States)


USP10.dll
C:\Windows\system32\USP10.dll
Uniscribe
Uniscribe
1.0626.7601.18454 (win7sp1_gdr.140424-1533)
Uniscribe Unicode script processor
Microsoft® Uniscribe Unicode script processor
1.0626.7601.18454
False
False
False
False
False
English (United States)


IMM32.DLL
C:\Windows\system32\IMM32.DLL
imm32
imm32
6.1.7601.17514 (win7sp1_rtm.101119-1850)
Multi-User Windows IMM32 API Client DLL
Microsoft® Windows® Operating System
6.1.7601.17514
False
False
False
False
False
English (United States)


MSCTF.dll
C:\Windows\system32\MSCTF.dll
MSCTF
MSCTF.DLL.MUI
6.1.7600.16385 (win7_rtm.090713-1255)
MSCTF Server DLL
Microsoft® Windows® Operating System
6.1.7600.16385
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.18444 built by: FX451RTMGDR
Microsoft .NET Runtime Common Language Runtime - WorkStation
Microsoft® .NET Framework
4.0.30319.18444
False
False
False
True
False
English (United States)


MSVCR110_CLR0400.dll
C:\Windows\system32\MSVCR110_CLR0400.dll
msvcr110_clr0400.dll
msvcr110_clr0400.dll
11.00.50938.18408 built by: FX451RTMGREL
Microsoft® C Runtime Library
Microsoft® Visual Studio® 11 Beta
11.00.50938.18408
False
False
False
False
False
English (United States)


mscorlib.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\ce5f61c5754789df97be8dc991c47d07\mscorlib.ni.dll
mscorlib.dll
mscorlib.dll
4.0.30319.18444 built by: FX451RTMGDR
Microsoft Common Language Runtime Class Library
Microsoft® .NET Framework
4.0.30319.18444
False
False
False
True
False
English (United States)


ole32.dll
C:\Windows\system32\ole32.dll
OLE32.DLL
OLE32.DLL.MUI
6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft OLE for Windows
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


CRYPTBASE.dll
C:\Windows\system32\CRYPTBASE.dll
cryptbase.dll
cryptbase.dll
6.1.7600.16385 (win7_rtm.090713-1255)
Base cryptographic API DLL
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


uxtheme.dll
C:\Windows\system32\uxtheme.dll
UxTheme.dll
UxTheme.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft UxTheme Library
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


System.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\System\9b943fcb3af2101cfb3467161c6ac0ed\System.ni.dll
System.dll
System.dll
4.0.30319.18408 built by: FX451RTMGREL
.NET Framework
Microsoft® .NET Framework
4.0.30319.18408
False
False
False
True
False
English (United States)


CRYPTSP.dll
C:\Windows\system32\CRYPTSP.dll
cryptsp.dll
cryptsp.dll
6.1.7600.16385 (win7_rtm.090713-1255)
Cryptographic Service Provider API
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


rsaenh.dll
C:\Windows\system32\rsaenh.dll
rsaenh.dll
rsaenh.dll
6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft Enhanced Cryptographic Provider
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


MailClient.Collections.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\MailClient.1d52ed9e#\45bbfe32dbef475e6dd5ccf5a33bc4ac\MailClient.Collections.ni.dll
MailClient.Collections.dll
MailClient.Collections.dll
6.0.21032.0
MailClient.Collections
MailClient.Collections
6.0.21032.0
False
False
False
False
False
Language Neutral


MailClient.Mail.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\MailClient.Mail\c8f23cf81080450ed5eb647cacde0554\MailClient.Mail.ni.dll
MailClient.Mail.dll
MailClient.Mail.dll
6.0.21032.0


6.0.21032.0
False
False
False
False
False
Language Neutral


HTMLEditorControl.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\HTMLEditorControl\9166adff116656aef9fde895dcc3fbfc\HTMLEditorControl.ni.dll
HTMLEditorControl.dll
HTMLEditorControl.dll
6.0.21032.0
HtmlEditorControl

6.0.21032.0
False
False
False
False
False
Language Neutral


MailClient.ni.exe
C:\Windows\assembly\NativeImages_v4.0.30319_32\MailClient\3c40cfac2d12cac943d49000882e4dc7\MailClient.ni.exe
MailClient.exe
MailClient.exe
6.0.21032.0
eM Client
eM Client
6.0.21032.0
False
False
False
False
False
Language Neutral


System.Drawing.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\5cd2aee5e7c07227c694d89219688ab3\System.Drawing.ni.dll
System.Drawing.dll
System.Drawing.dll
4.0.30319.18408 built by: FX451RTMGREL
.NET Framework
Microsoft® .NET Framework
4.0.30319.18408
False
False
False
True
False
English (United States)


System.Windows.Forms.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\b51470d7e909c4fab01a25fd1e1c42dc\System.Windows.Forms.ni.dll
System.Windows.Forms.dll
System.Windows.Forms.dll
4.0.30319.18408 built by: FX451RTMGREL
.NET Framework
Microsoft® .NET Framework
4.0.30319.18408
False
False
False
True
False
English (United States)


MailClient.Common.UI.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\MailClient.Common.UI\88f79b8cd599ee6bc0de71aafa0350a3\MailClient.Common.UI.ni.dll
MailClient.Common.UI.dll
MailClient.Common.UI.dll
6.0.21032.0


6.0.21032.0
False
False
False
False
False
Language Neutral


MailClient.Interop.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\MailClient.Interop\639148d286135afed4a3266aef7ca188\MailClient.Interop.ni.dll
MailClient.Interop.dll
MailClient.Interop.dll
6.0.21032.0


6.0.21032.0
False
False
False
False
False
Language Neutral


MailClient.ExceptionUtils.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\MailClient.ad6c0f7b#\e7b47a5a7c52bdbded61717df2153488\MailClient.ExceptionUtils.ni.dll
MailClient.ExceptionUtils.dll
MailClient.ExceptionUtils.dll
1.0.0.0
MailClient.ExceptionUtils

Hi again David, I’m sorry for this inconvenience, seems like the release of this update was a bit premature, can you please downgrade to the previous version (http://www.emclient.com/dist/v6.0.21015/setup.msi), while we work on the fix for the issue, in order to downgrade to a previous release, you have to uninstall the application and install the older version after uninstalling.

I’m forwarding this info to the developers for more information.

Thank you,
Paul.

Thanks, Paul. The downgrade set things to working again as before. The update to 6.0.21034 just came through too, and that seems to have resolved the remaining error message for the Exchange offline address book.

Thank you, again, for all your help.

Hi again David, glad you were able to update to the 6.0.21034 version as this should be the final update to this issue. I’m sorry for the inconvenience caused by this issue, and thank you for your time spent on resolving the issue, please let me know if you come across any other issues or questions with the application, I’ll be happy to help.

For other users following this issue, please update your client to this version http://www.emclient.com/dist/v6.0.21034/setup.msi , let me know if any issues occur.

Thank you,
Paul.

Thanks to the efforts of the eM Client team, and the updates we’ve received over the last few days, I no longer have errors. However, this has led to the exposure of a different issue. Now that eM Client is successfully synchronising my corporate offline addressbook, it’s noticeable that it’s consuming quite an amount of resource doing so. I can understand why - my OAB contains 22975 entries. So every 10 minutes (which I would not call a particularly adventurous figure), eM Client spends up to 2 minutes hammering away at the CPU and the disk, reading them all and writing them to disk. So I have a question - is it possible to set the OAB to somehow synchronise at a different frequency from normal mail folders, or not at all?

If it would be preferable for me to post this as a separate thread, I’ll be happy to do so, or mods can move it if necessary.

Thanks

Nick

Hi Nick, can you please go to Tools > Settings > Advanced, and turn on Exchange Web Services and Offline Address Book logging for the problematic account.

  1. Save the settings
  2. Restart the application
  3. Replicate the issue
    Once the issue reoccurs, please go back to the advanced settings window and click on “Send logs” and send the logs to my email [email protected] with a reference link to this forum topic.

Thank you,
Paul.

Logs sent. Thanks Paul.

Hi again, thank you for the received data, I have submitted your logs to the developers for more information about the issue.

Thank you,
Paul.