Keep getting error messages saying the app must close. I may be opening the app or using it. It may say I haven't shut down properly.

I keep getting error messages indicating the app must close. Sometimes when I am opening the app, sometimes as I’m using it. It then tries to re-establish the database, sometimes successfully, others not so. Sometimes it says I haven’t shut it down properly, when in fact I have…

Hi Jack,
could you please take a screenshot of the error messages when they pop up? Please also include which version of eM Client you’re running (Help > About section).

Best regards,
Olivia

Here is the screen capture of a typical error message. On occasion, I have closed the app and reopened it later. It says I didn’t close it properly before.

Forgot to send along my version but it is 6.0.2318.

Hi Jack,
please click the “Show error” button and paste the content of it here?

Where is the “show error” button?

same here
eM Client (6.0.23181.0)
Windows: Microsoft Windows NT 6.1.7601 Service Pack 1, Framework: 4.0.30319.18444
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.ExecuteScalar()
   at MailClient.Storage.Data.SQLite.DbMailRepository.Store(IMailRepositoryItem mail)
   at MailClient.Storage.Data.SQLite.DbRepository1.Add[ST](Object senderContext, IEnumerable1 items, Action1 storeCallback)    at MailClient.Storage.Data.SQLite.DbRepository1.Add[ST](Object senderContext, IEnumerable1 items)    at MailClient.RepositoryExtensions.Add[T,ST](IRepository1 repository, IEnumerable`1 items)
   at MailClient.Imap.Synchronizer.SynchronizeMessagesCommand.Fetch(FetchNotification response)
   at MailClient.Imap.Synchronizer.Fetch(Folder folder, FetchNotification response)
   at MailClient.Imap.Synchronizer.ImapNotification(ConnectionPoolEntry connectionPoolEntry, Folder activeFolder, NotificationEventArgs e)
   at MailClient.Imap.ConnectionPoolEntry.Connection_Notification(Object sender, NotificationEventArgs e)
   at MailClient.Imap.Base.Connection.ParseUntagged(String line)
   at MailClient.Imap.Base.Connection.ParseReply(String line)
   at MailClient.Imap.Base.Connection.ReceiveWorker()
   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()

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

eM Client
6.0.23181.0

false

Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.18444


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
29af2




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
100663761
System.Data.SQLite
System.Data.SQLite.SQLiteCommand
ExecuteScalar


6
21




MailClient.exe
100685659
MailClient
MailClient.Storage.Data.SQLite.DbMailRepository
Store


MailClient
MailClient.Storage.Data.IMailRepositoryItem
mail



3df
7c8




MailClient.exe
100670223
MailClient
MailClient.Storage.Data.SQLite.DbRepository1</type><br> <name>Add</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> <parameter><br> <assembly>mscorlib</assembly><br> <type></type><br> <name>storeCallback</name><br> </parameter><br> </parameters><br> </method><br> <offset>d5</offset><br> <nativeoffset>20b</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100670222</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Data.SQLite.DbRepository1
Add


MailClient





mscorlib
System.Object
senderContext


mscorlib

items



0
3a




MailClient.exe
100670304
MailClient
MailClient.RepositoryExtensions
Add


MailClient



MailClient





MailClient

repository


mscorlib

items



0
5f




MailClient.exe
100668635
MailClient
MailClient.Imap.Synchronizer+SynchronizeMessagesCommand
Fetch


MailClient.Imap.Base
MailClient.Imap.Base.FetchNotification
response



2b9
6bd




MailClient.exe
100668437
MailClient
MailClient.Imap.Synchronizer
Fetch


MailClient
MailClient.Storage.Application.Folder
folder


MailClient.Imap.Base
MailClient.Imap.Base.FetchNotification
response



222
52e




MailClient.exe
100668424
MailClient
MailClient.Imap.Synchronizer
ImapNotification


MailClient
MailClient.Imap.ConnectionPoolEntry
connectionPoolEntry


MailClient
MailClient.Storage.Application.Folder
activeFolder


MailClient.Imap.Base
MailClient.Imap.Base.NotificationEventArgs
e



2e0
479




MailClient.exe
100689941
MailClient
MailClient.Imap.ConnectionPoolEntry
Connection_Notification


mscorlib
System.Object
sender


MailClient.Imap.Base
MailClient.Imap.Base.NotificationEventArgs
e



137
274




MailClient.Imap.Base.dll
100663355
MailClient.Imap.Base
MailClient.Imap.Base.Connection
ParseUntagged


mscorlib
System.String
line



3f
58




MailClient.Imap.Base.dll
100663358
MailClient.Imap.Base
MailClient.Imap.Base.Connection
ParseReply


mscorlib
System.String
line



ec
1d7




MailClient.Imap.Base.dll
100663353
MailClient.Imap.Base
MailClient.Imap.Base.Connection
ReceiveWorker


11
50




mscorlib.dll
100669199
mscorlib
System.Threading.ThreadHelper
ThreadStart_Context


mscorlib
System.Object
state



14
6e




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
100669197
mscorlib
System.Threading.ThreadHelper
ThreadStart


8
43



/ACCOUNT:2/Inbox
* 22 FETCH (UID 7531 RFC822.SIZE 35670 MODSEQ (630074) INTERNALDATE “11-Oct-2015 11:06:01 +0000” FLAGS (\Answered \Seen) ENVELOPE (“Sun, 11 Oct 2015 07:06:00 -0400” “Re: Status” ((“Joe Calabro” NIL “joe.calabro” “velocitycloud.com”)) ((“Joe Calabro” NIL “joe.calabro” “velocitycloud.com”)) ((“Joe Calabro” NIL “joe.calabro” “velocitycloud.com”)) ((“Travis Tavares” NIL “travis.tavares” “velocitycloud.com”)) ((“Tom” NIL “thomas.miller” “velocitycloud.com”)(“William Clinkscales” NIL “william.clinkscales” “velocitycloud.com”)(“Sal Jamil” NIL “sal.jamil” “velocitycloud.com”)) NIL “<embbd6fedd-5956-463a-a907-f5bbb048a0fa@ttavares-t530>” “<CALSzUMTStBGZDQmuMErNyY_6b69nBJ0ZK-UL…>”) BODYSTRUCTURE ((“TEXT” “PLAIN” (“CHARSET” “UTF-8”) NIL NIL “7BIT” 7028 204 NIL NIL NIL)(“TEXT” “HTML” (“CHARSET” “UTF-8”) NIL NIL “QUOTED-PRINTABLE” 25037 424 NIL NIL NIL) “ALTERNATIVE” (“BOUNDARY” “001a11c333f2b1079c0521d232d8”) NIL NIL) BODY[HEADER.FIELDS (importance x-priority references)] {121}
* OK Gimap ready for requests from 98.124.90.246 j140mb221776192ybj
183




MailClient.exe
C:\Program Files (x86)\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.23181.0
eM Client
eM Client
6.0.23181.0
False
False
False
False
False
Language Neutral


ntdll.dll
C:\Windows\SysWOW64\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\syswow64\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\syswow64\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\syswow64\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.1.7601.18869 (win7sp1_gdr.150525-0603)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
6.1.7601.18869
False
False
False
False
False
English (United States)


msvcrt.dll
C:\Windows\syswow64\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\SysWOW64\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\syswow64\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)


SspiCli.dll
C:\Windows\syswow64\SspiCli.dll
security.dll
security.dll
6.1.7601.18939 (win7sp1_gdr.150722-0600)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.1.7601.18939
False
False
False
False
False
English (United States)


CRYPTBASE.dll
C:\Windows\syswow64\CRYPTBASE.dll
cryptbase.dll
cryptbase.dll
6.1.7601.18939 (win7sp1_gdr.150722-0600)
Base cryptographic API DLL
Microsoft® Windows® Operating System
6.1.7601.18939
False
False
False
&n

Bottom right corner of the screenshot you made.

Hi Tom,
since those are system errors, the actual content of the error might be different. If the same window pops up, please also view the error by clicking “Show error” and copy paste the contents here.

Best regards,
Olivia

OK, when I get the error message again, I will capture that information. Right now, all I have is the screen capture.

that is the content of show error?

Oh, okay, the message i got before didnt include the text of the error, strange. Thank you.

Looks like your database is broken though. I recommend restoring your data from a back up or deleting the current database and re-adding your accounts into eM Client.

Best regards,
Olivia

I’ve tried an un-install and re-install but it still has remnants left over from the original.  How can I completely un-install emclient to perform a install just like the first time?
Thanks

It’s not about the program, but your database.
Unless you changed the location of it, it’s usually in C:\Users\ your username \AppData\Roaming\eM Client

Understood.  Suggestion - maybe have the un-installer ask if you want user data kept or un-installed as well?  Nice option to have so you don’t have to look for user data.