eM Client crashes on opening

This has suddenly just started happening - when I open eM Client the database checking box opens and runs. When that has completed, eM Client opens, then crashes immediately giving the application error notice shown at the end of this message. 

I have tried suggestions in another thread including running the ‘Fix Categories’ app, with no success. I have also tried uninstalling and reinstalling eM Client. I cannot find an eM Client folder in my App Data folder which you suggest elsewhere could be the problem. 

Hoping you can help.

Here’s the error notice:

eM Client (6.0.21372.0)Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34014
The following error has occurred:
System.Data.SQLite.SQLiteException (0x80004005): SQL logic error or missing database
SQL logic error or missing database
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at System.Data.SQLite.SQLiteTransaction.Commit()
   at MailClient.Storage.Data.SQLite.DbRepository1.RemoveByItems[ST](Object senderContext, IEnumerable1 items)
   at MailClient.Storage.Data.SQLite.DbRepository1.Remove[ST](Object senderContext, IEnumerable1 items)
   at MailClient.RepositoryExtensions.Remove[T,ST](IRepository1 repository, IEnumerable1 items)
   at MailClient.Imap.Synchronizer.SynchronizeMessagesCommand.RemoveDeletedMessages(ConnectionContext context)
   at MailClient.Imap.Synchronizer.SynchronizeMessagesCommand.ExecuteInternal(WorkerStatus status)
   at MailClient.Imap.Synchronizer.ImapCommand.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.21372.0

false

Microsoft Windows NT 6.2.9200.0
4.0.30319.34014


System.Data.SQLite.SQLiteException
SQL logic error or missing database
SQL logic error or missing database
System.Data.SQLite




System.Data.SQLite.dll
100663598
System.Data.SQLite
System.Data.SQLite.SQLite3
Reset


System.Data.SQLite
System.Data.SQLite.SQLiteStatement
stmt



83
2c162




System.Data.SQLite.dll
100663597
System.Data.SQLite
System.Data.SQLite.SQLite3
Step


System.Data.SQLite
System.Data.SQLite.SQLiteStatement
stmt



3c
bb




System.Data.SQLite.dll
100663982
System.Data.SQLite
System.Data.SQLite.SQLiteDataReader
NextResult


12f
150




System.Data.SQLite.dll
100663943
System.Data.SQLite
System.Data.SQLite.SQLiteDataReader
.ctor


System.Data.SQLite
System.Data.SQLite.SQLiteCommand
cmd


System.Data
System.Data.CommandBehavior
behave



5d
71




System.Data.SQLite.dll
100663757
System.Data.SQLite
System.Data.SQLite.SQLiteCommand
ExecuteReader


System.Data
System.Data.CommandBehavior
behavior



c
26




System.Data.SQLite.dll
100663760
System.Data.SQLite
System.Data.SQLite.SQLiteCommand
ExecuteNonQuery


6
21




System.Data.SQLite.dll
100664213
System.Data.SQLite
System.Data.SQLite.SQLiteTransaction
Commit


34
67




MailClient.exe
100670340
MailClient
MailClient.Storage.Data.SQLite.DbRepository1</type><br> <name>RemoveByItems</name><br> <genericarguments><br> <argument><br> <assembly>MailClient</assembly><br> <type></type><br> </argument><br> </genericarguments><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Object</type><br> <name>senderContext</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type></type><br> <name>items</name><br> </parameter><br> </parameters><br> </method><br> <offset>160</offset><br> <nativeoffset>393</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100670341</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Data.SQLite.DbRepository1
Remove


MailClient





mscorlib
System.Object
senderContext


mscorlib

items



1c
9e




MailClient.exe
100670420
MailClient
MailClient.RepositoryExtensions
Remove


MailClient



MailClient





MailClient

repository


mscorlib

items



0
5f




MailClient.exe
100668681
MailClient
MailClient.Imap.Synchronizer+SynchronizeMessagesCommand
RemoveDeletedMessages


MailClient
MailClient.Imap.ConnectionContext
context



129
361




MailClient.exe
100668677
MailClient
MailClient.Imap.Synchronizer+SynchronizeMessagesCommand
ExecuteInternal


MailClient
MailClient.Commands.WorkerStatus
status



378
77b




MailClient.exe
100668513
MailClient
MailClient.Imap.Synchronizer+ImapCommand
Execute


MailClient
MailClient.Commands.WorkerStatus
status



0
1d




MailClient.exe
100664007
MailClient
MailClient.Commands.Command
Process


MailClient
MailClient.Commands.WorkerStatus
status



15
53




MailClient.exe
100664060
MailClient
MailClient.Commands.SynchronizationQueue
ThreadWorker


mscorlib
System.Object
threadData



8c
11a




mscorlib.dll
100669370
mscorlib
System.Threading.ThreadHelper
ThreadStart_Context


mscorlib
System.Object
state



25
9b




mscorlib.dll
100668987
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
100668986
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
100668985
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state



2b
40




mscorlib.dll
100669367
mscorlib
System.Threading.ThreadHelper
ThreadStart


mscorlib
System.Object
obj



f
4d



0




MailClient.exe
C:\Program Files (x86)\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.mui
6.3.9600.17031 (winblue_gdr.140221-1952)
NT Layer DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United States)


MSCOREE.DLL
C:\WINDOWS\SYSTEM32\MSCOREE.DLL
mscoree.dll
mscoree.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft .NET Runtime Execution Engine
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


KERNEL32.dll
C:\WINDOWS\SYSTEM32\KERNEL32.dll
kernel32
kernel32
6.3.9600.17031 (winblue_gdr.140221-1952)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United Kingdom)


KERNELBASE.dll
C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Kernelbase.dll
Kernelbase.dll.mui
6.3.9600.17031 (winblue_gdr.140221-1952)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United Kingdom)


apphelp.dll
C:\WINDOWS\system32\apphelp.dll
Apphelp
Apphelp
6.3.9600.16384 (winblue_rtm.130821-1623)
Application Compatibility Client Library
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


ADVAPI32.dll
C:\WINDOWS\SYSTEM32\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


msvcrt.dll
C:\WINDOWS\SYSTEM32\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.9600.16384 (winblue_rtm.130821-1623)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.9600.16384
False
False
False
False
False
English (United States)


sechost.dll
C:\WINDOWS\SYSTEM32\sechost.dll
sechost.dll
sechost.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Host for SCM/SDDL/LSA Lookup APIs
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


RPCRT4.dll
C:\WINDOWS\SYSTEM32\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Remote Procedure Call Runtime
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


SspiCli.dll
C:\WINDOWS\SYSTEM32\SspiCli.dll
security.dll
security.dll
6.3.9600.16408 (winblue_gdr.130920-1803)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.3.9600.16408
False
False
False
False
False
English (United States)


CRYPTBASE.dll
C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
cryptbase.dll
cryptbase.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
Base cryptographic API DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


bcryptPrimitives.dll
C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
bcryptprimitives.dll
bcryptprimitives.dll
6.3.9600.17120 (winblue_gdr.140509-1516)
Windows Cryptographic Primitives Library
Microsoft® Windows® Operating System
6.3.9600.17120
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.34014 built by: FX45W81RTMGDR
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.30319.34014
False
False
False
True
False
English (United States)


SHLWAPI.dll
C:\WINDOWS\SYSTEM32\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
Shell Light-weight Utility Library
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United Kingdom)


combase.dll
C:\WINDOWS\SYSTEM32\combase.dll
COMBASE.DLL
COMBASE.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft COM for Windows
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


USER32.dll
C:\WINDOWS\SYSTEM32\USER32.dll
user32
user32
6.3.9600.16384 (winblue_rtm.130821-1623)
Multi-User Windows USER API Client DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United Kingdom)


GDI32.dll
C:\WINDOWS\SYSTEM32\GDI32.dll
gdi32
gdi32
6.3.9600.17246 (winblue_gdr.140801-1518)
GDI Client DLL
Microsoft® Windows® Operating System
6.3.9600.17246
False
False
False
False
False
English (United States)


IMM32.DLL
C:\WINDOWS\system32\IMM32.DLL
imm32
imm32
6.3.9600.17031 (winblue_gdr.140221-1952)
Multi-User Windows IMM32 API Client DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United States)


MSCTF.dll
C:\WINDOWS\SYSTEM32\MSCTF.dll
MSCTF
MSCTF.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
MSCTF Server DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United Kingdom)


clr.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
clr.dll
clr.dll
4.0.30319.34014 built by: FX45W81RTMGDR
Microsoft .NET Runtime Common Language Runtime - WorkStation
Microsoft® .NET Framework
4.0.30319.34014
False
False
False
True
False
English (United States)


MSVCR120_CLR0400.dll
C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll
msvcr120_clr0400.dll
msvcr120_clr0400.dll
12.00.51670.34230 built by: FX452RTMGDR
Microsoft® C Runtime Library
Microsoft® Visual Studio® 12 CTP
12.00.51670.34230
False
False
False
False
False
English (United States)


mscorlib.ni.dll
C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\mscorlib\c90ef9a73ea0044641d31b19023aad61\mscorlib.ni.dll
mscorlib.dll
mscorlib.dll
4.0.30319.34014 built by: FX45W81RTMGDR
Microsoft Common Language Runtime Class Library
Microsoft® .NET Framework
4.0.30319.34014
False
False
False
True
False
English (United States)


ole32.dll
C:\WINDOWS\SYSTEM32\ole32.dll
OLE32.DLL
OLE32.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft OLE for Windows
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)


kernel.appcore.dll
C:\WINDOWS\SYSTEM32\kernel.appcore.dll
kernel.appcore.dll
kernel.appcore.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
AppModel API Host
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

&nb

Hi Ian, unfortunately this seems to be a database issue, by default you should have an eM Client database folder located in your local folder > App Data > Roaming. In case the folder is missing completely, eM Client would automatically create a new database in this location.

However, as your database seems to be corrupted, can you please try to run this tool http://www.emclient.com/dbrepairrebuildall.exe and check if the utility is able to repair your database files?

In case the operation is unsuccessful, can you please try to create a new database by renaming or removing the current database folder in Roaming to enable eM Client create a new database on application startup?

Thank you,
Paul

Paul, apologies for the late response but I have been in hospital having hip surgery. I can’t get that link to work - when I try to open it, it leads nowhere except to a blank screen in my browsers (I have tried Chrome and Firefox).

The other problem is that I don’t have an eM Client folder in Roaming.

Hi Ian, the suggested link should automatically start downloading the utility to your downloads folder, open the utility and let it run. Also if you don’t have an eM Client folder in Roaming this would mean the database location has been changed or the database has been deleted.

I’m afraid that if the default location has been changed I won’t be able to navigate you to the correct destination.

Regards,
Paul

After going to the link there is nothing in the downloads folder and a search for dbrepairrebuildall doesn’t bring anything up. It would appear that the database may have been deleted as, again, a search doesn’t show it as being in any other location. Can anything be done or will I have to stop using eM Client?

Hi Ian, can you please send me an email to mcgregor@emclient.com with a reference link to this forum topic?

Thank you,
Paul