eM Client not opening, yet it's process is running.

I’m working on a computer of a client of mine. The eM Client wouldn’t open since 3 days ago. It does not give any errors, nor does it open any windows except th DBRepair tool that’s found in the same installation folder. The repair checks the data files, but their aren’t any problems found.

I’ve tested a few things before asking for support here. First I backupped all of the data and I re-installed the program. (The most recent update was already installed by the way)

It’s still not working, however I went to the task manager to check if it was running, and it was indeed running the client. Yet the window isn’t showing up (even after waiting for a long time).

But here’s some other info, I found in total 3 installations of the EM client, one in the normal installation folders (C:\Program Files (x86)\eM Client), one in the Downloads (C:\Users\Username\Downloads) and one in the C drive (C:\eM client).

I deleted the other 2, and let the one in program files stay.

Here’s the computer system’s info:

  • Windows 8.1 Pro 64 bit
  • Intel Core i5-4460
  • 8GB RAM
  • System language: Dutch
  • Model: MSI-7823
  • Intel HD Graphics 4600 Onboard
    I’ve looked throughout the forums here and also Google AND Bing, but I can’t find anyone with the same problem. Please help us resolve this. Thank you.

I also might’ve force closed the program a few times to re-run it.

I found a text file named Error EMClient 3-12.txt

Help?

eM Client (6.0.21040.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34014
The following error has occurred:
System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
database disk image is malformed
   bij System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   bij System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   bij System.Data.SQLite.SQLiteDataReader.NextResult()
   bij System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
   bij System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   bij System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   bij MailClient.Storage.Data.SQLite.DbRepository1..ctor(Compactor compactor, String indexTable, String[] readWriteDatabaseNames, String[] readOnlyDatabaseNames)    bij MailClient.Storage.Data.DbCategoriesItemRepository1…ctor(Compactor compactor, String indexTable, String[] readWriteDatabaseNames, String[] readOnlyDatabaseNames)
   bij MailClient.Storage.Data.SQLite.DbMailRepository…ctor(Compactor compactor)
   bij MailClient.Storage.Data.RepositoryFactory.get_MailRepository()
   bij MailClient.Storage.Application.Folder.CreateMailItemsCollection()
   bij MailClient.Storage.Application.Folder.get_MailItems()
   bij MailClient.UI.Controls.controlMailFolders.AttachUnreadCallbacks()
   bij MailClient.UI.Controls.controlMailFolders.AttachCallbacks()
   bij MailClient.UI.Controls.controlFolders.LoadNodes()
   bij MailClient.UI.Controls.controlFolders.OnLoad(EventArgs e)
   bij MailClient.UI.Controls.controlMailFolders.OnLoad(EventArgs e)
   bij System.Windows.Forms.UserControl.OnCreateControl()
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl()
   bij System.Windows.Forms.Control.WmShowWindow(Message& m)
   bij System.Windows.Forms.Control.WndProc(Message& m)
   bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
   bij System.Windows.Forms.Form.WmShowWindow(Message& m)
   bij System.Windows.Forms.Form.WndProc(Message& m)
   bij MailClient.UI.Forms.BaseForm.WndProc(Message& m)
   bij MailClient.UI.Forms.BorderlessForm.WndProc(Message& m)
   bij MailClient.UI.Forms.formMain.WndProc(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bij System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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

eM Client
6.0.21040.0

false

Microsoft Windows NT 6.2.9200.0
4.0.30319.34014


System.Data.SQLite.SQLiteException
database disk image is malformed
database disk image is malformed
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




MailClient.exe
100670279
MailClient
MailClient.Storage.Data.SQLite.DbRepository1</type><br> <name>.ctor</name><br> <parameters><br> <parameter><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Data.Compactor</type><br> <name>compactor</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.String</type><br> <name>indexTable</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.String[]</type><br> <name>readWriteDatabaseNames</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.String[]</type><br> <name>readOnlyDatabaseNames</name><br> </parameter><br> </parameters><br> </method><br> <offset>a2</offset><br> <nativeoffset>198</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100670326</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Data.DbCategoriesItemRepository1
.ctor


MailClient
MailClient.Storage.Data.Compactor
compactor


mscorlib
System.String
indexTable


mscorlib
System.String[]
readWriteDatabaseNames


mscorlib
System.String[]
readOnlyDatabaseNames



0
48




MailClient.exe
100685656
MailClient
MailClient.Storage.Data.SQLite.DbMailRepository
.ctor


MailClient
MailClient.Storage.Data.Compactor
compactor



0
9f




MailClient.exe
100686184
MailClient
MailClient.Storage.Data.RepositoryFactory
get_MailRepository


1a
6f




MailClient.exe
100677181
MailClient
MailClient.Storage.Application.Folder
CreateMailItemsCollection


0
17




MailClient.exe
100677180
MailClient
MailClient.Storage.Application.Folder
get_MailItems


1a
2a




MailClient.exe
100678772
MailClient
MailClient.UI.Controls.controlMailFolders
AttachUnreadCallbacks


12
52




MailClient.exe
100678771
MailClient
MailClient.UI.Controls.controlMailFolders
AttachCallbacks


0
4




MailClient.exe
100678607
MailClient
MailClient.UI.Controls.controlFolders
LoadNodes


98
18d




MailClient.exe
100678604
MailClient
MailClient.UI.Controls.controlFolders
OnLoad


mscorlib
System.EventArgs
e



53
98




MailClient.exe
100678765
MailClient
MailClient.UI.Controls.controlMailFolders
OnLoad


mscorlib
System.EventArgs
e



0
d




System.Windows.Forms.dll
100682730
System.Windows.Forms
System.Windows.Forms.UserControl
OnCreateControl


6
29




System.Windows.Forms.dll
100665625
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


mscorlib
System.Boolean
fIgnoreVisible



bf
193




System.Windows.Forms.dll
100665625
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


mscorlib
System.Boolean
fIgnoreVisible



92
150




System.Windows.Forms.dll
100665625
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


mscorlib
System.Boolean
fIgnoreVisible



92
150




System.Windows.Forms.dll
100665625
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


mscorlib
System.Boolean
fIgnoreVisible



92
150




System.Windows.Forms.dll
100665625
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


mscorlib
System.Boolean
fIgnoreVisible



92
150




System.Windows.Forms.dll
100665625
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


mscorlib
System.Boolean
fIgnoreVisible



92
150




System.Windows.Forms.dll
100665625
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


mscorlib
System.Boolean
fIgnoreVisible



92
150




System.Windows.Forms.dll
100665244
System.Windows.Forms
System.Windows.Forms.Control
CreateControl


7
27




System.Windows.Forms.dll
100665766
System.Windows.Forms
System.Windows.Forms.Control
WmShowWindow


System.Windows.Forms
System.Windows.Forms.Message&
m



42
87




System.Windows.Forms.dll
100665461
System.Windows.Forms
System.Windows.Forms.Control
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



5b1
2ca




System.Windows.Forms.dll
100665975
System.Windows.Forms
System.Windows.Forms.ScrollableControl
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



3a
29




System.Windows.Forms.dll
100666075
System.Windows.Forms
System.Windows.Forms.ContainerControl
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



13
f




System.Windows.Forms.dll
100675046
System.Windows.Forms
System.Windows.Forms.Form
WmShowWindow


System.Windows.Forms
System.Windows.Forms.Message&
m



11
3c




System.Windows.Forms.dll
100674945
System.Windows.Forms
System.Windows.Forms.Form
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



222
208




MailClient.exe
100667212
MailClient
MailClient.UI.Forms.BaseForm
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



86
127




MailClient.exe
100674591
MailClient
MailClient.UI.Forms.BorderlessForm
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



6ec
9bb




MailClient.exe
100693062
MailClient
MailClient.UI.Forms.formMain
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



23
2a




System.Windows.Forms.dll
100665839
System.Windows.Forms
System.Windows.Forms.Control+ControlNativeWindow
OnMessage


System.Windows.Forms
System.Windows.Forms.Message&
m



0
10




System.Windows.Forms.dll
100665840
System.Windows.Forms
System.Windows.Forms.Control+ControlNativeWindow
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



8e
38




System.Windows.Forms.dll
100665822
System.Windows.Forms
System.Windows.Forms.NativeWindow
DebuggableCallback


mscorlib
&n

Hi, unfortunately this seems to be a database issue, I’m afraid some of the database files may have got corrupted while force quitting the application, you can try to download this database repair tool http://www.emclient.com/tools/dbrepairrebuildall.exe and check if the tool is able to restore your database files.

However I’m afraid that if the database repair tool fails to restore the database, it is not possible to restore the original data and a new database has to be created.

To setup a new database please navigate to your local folder > App Data > Roaming and rename or remove the current eM client database folder, next time you reopen the application eM Client should automatically create a new database.

Thank you,
Paul

Hey Paul,

Thank you for answering so quickly, I did every step you told me to do. I ran the repair and it was indeed restoring the database files. Yet the client itself still does not open. It only opens the DbRepair.exe program and that one closes automatically after 3 seconds. And the client’s process is running.

What do I do now? I’ll try running that repair tool again, and see if that might solve it. I’ll also try another clean install.

Though I might wonder if it could be a virus? I scanned the system once but I didn’t find any. Since it’s an email program is it vulnerable?

One last question, is it possible to convert the eM client’s data so that other email clients can recognize it? I backupped all the data, and if it’s possible we have at least that. But we’ll still try to fix the start up problem.

Have a great day,

Jento

Hi again Jento, id the dbrepair tool finishes without showing any errors, you should be able to open the application, if not, can you try to create a new database folder and setup your accounts from scratch, to setup a new database, please navigate to Your local folder > App Data > Roaming, and rename or remove the eM Client database folder.

Reopen the application and new database should be automatically setup.

Hope this helps,
Paul

If it were that simple, we would’ve fixed the problem yesterday. I’ve done these steps 3 times and still, it won’t open. Something isn’t right, we’ve tried every step possible. Other steps like running as an admin, changing permissions so that the system may access it, restarting, updating, repair using the installer, scanning for virusses,  or even deleting ALL traces of the program and installing again won’t fix it. Maybe it’s the PC itself causing the problem? Maybe because of the OS?
Also, I’ve found a folder named “inbox.imm” where .eml files are located in, where does this folder originally come from?
Thank you for you time Paul, I really appreciate it.

Hi again, if the process is running in the task manager, please try to run this utility http://www.emclient.com/tools/emstackdump.exe and run the utility when the application is not running but still is displayed in the task manager as a running process.

However the error states your database is not accessible by the application, so removing the current database folder as I suggested should resolve the issue. Are you sure you’ve removed the database from the right directory?

Thank you,
Paul

Hello,

I found that post is related to a problem I also have…
I installed a fresh clean version of W8.1 a couple of weeks ago.
I installed emClient and reconfigured all my accounts.
Each time I’m closing the application, I can actually see it in the task manager go from ‘application’ to ‘process’. At this point it is not possible to reopen the app until I manually kill the emClient process.
So I tried to repair the db with the tool provided above: not helping.
So I renamed my old db directory to _OLD and restarted.
After few tries I was able to add the CalDAV account again (it requested a huge number of times the login/passd that I was carefully writing). It took few tries to have the certificate prompt displayed and accepted. Don’t know why.
After that I was able to close the app and reopen without any problem.
GOOD.

Then I started to add the email accounts and now I want to rip my hair of my head!!!
I can never add an account completely. I add all the information, and the emClient is SYSTEMATICALLY not remembering it and replace with default parameters that are not correct for me and it looks like in goes into a loop of retries until I kill it.
For the last couple of hours I cannot create any account. A nightmare.
I don’t even know where to force the parameters in config files.

My older AppData emClient dir is still working at the price of the ‘kill process’.

Please help as I’m close to give up … :frowning: and I don’t want to …

Thanx a regards

Nicolas

Hello Nicolas, what version of eM Client are you currently using on your computer, can you please check the exact release of the application in Help > About or try to install the latest release using this installer, 6.0.22336.0 .

We’ve released a fix for the process not being terminated on application shutdown, however maybe you’re experiencing a different issue. If you’re being re-prompted for password with the password required box using your Gmail account, this release should also help you resolve the issue.

If you’re still experiencing issues, can you please make a screenshot of the issue and submit it to us here on the forum?

Thank you…

Thanx Paul!
At the moment I’m using 6.0.22328.0 version.
I try your release & keep you posted!

Paul,

I was gonna write that the issue remained but byt the time I opened my web browser the process was gone!!!

After few tests, can say that it takes somewhere between 10s to 3min before the process ends on its own.
But it works.
I hope it won’t be an issue when Windows is closing.

Thanx

Hello again Nicolas, glad it works, please make sure to let us know if you come across this or any other issue or questions about the application, we’ll be happy to help.

Thank you,
Paul

Hi Paul,

I’m afraid to say that the issue is back again.
It did work for a few days but then I realized that the program was not shutting down correctly upon a Windows Shutdown. I had the message back when I restarted.
Yesterday, the process did not even work after letting the night to the shutdown.

Anything I could provide to help?

Thanx

Nicolas

Hello Nicolas, what version of eM Client are you currently using on your computer, can you please check the exact release number in Help > About?

Make sure you’re using the latest release of eM Client, 6.0.22344.0 and if the issue persists, use the above submitted eM Client Stack Dump tool and create a stack dump once the issue occurs. So if the process is still active after you close the application, run the utility and submit the created stack dump file to my email [email protected] with a reference link to this forum topic.

Thank you.

Paul,

yes, I’m using the version you mention. I checked for updates but there are none.
I send you the stack dump next time it occurs.

Thanx