emclient crashes when starting after db check

Hello,

my emclient crashes when starting after db checkup. i already installed  6.0.22774.0 this version, but its still crashing, it gives me the following error:

eM Client (6.0.22774.0)
Windows: Microsoft Windows NT 6.0.6002 Service Pack 2, Framework: 4.0.30319.34209
The following error has occurred:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei MailClient.Jabber.JabberAccount.Load()
   bei MailClient.Accounts.AccountManager…ctor()
   bei MailClient.Accounts.AccountManager.Initialize()
   bei MailClient.Program.Main(String[] args)

i hope anyone can help

thank you
best
robert

i also installed version 6.0.23144.0, no changes, still crashing

Hello, please install this update, 6.0.23181.0 and check if the issue persists? Are you able to load eM Client’s interface or does the application crash immediately?

If the issue reoccurs while using the latest update, can you please copy the whole error content from the crash report window and submit it to us here on the forum?

Thank you,

Hello Paul,

just installed the version you mentioned above, still crashing immediately.

this is the whole error content:

eM Client (6.0.23181.0)
Windows: Microsoft Windows NT 6.0.6002 Service Pack 2, Framework: 4.0.30319.42000
The following error has occurred:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei MailClient.Jabber.JabberAccount.Load()
   bei MailClient.Accounts.AccountManager…ctor()
   bei MailClient.Accounts.AccountManager.Initialize()
   bei MailClient.Program.Main(String[] args)

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

eM Client
6.0.23181.0

false

Microsoft Windows NT 6.0.6002 Service Pack 2
4.0.30319.42000


System.NullReferenceException
Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
MailClient




MailClient.exe
100683445
MailClient
MailClient.Jabber.JabberAccount
Load


24
71




MailClient.exe
100663445
MailClient
MailClient.Accounts.AccountManager
.ctor


aa
162




MailClient.exe
100663446
MailClient
MailClient.Accounts.AccountManager
Initialize


15
54




MailClient.exe
100675713
MailClient
MailClient.Program
Main


mscorlib
System.String[]
args



deb
1adb






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
Sprachneutral


ntdll.dll
C:\Windows\SysWOW64\ntdll.dll
ntdll.dll
ntdll.dll.mui
6.0.6001.18000 (longhorn_rtm.080118-1840)
DLL für NT-Layer
Betriebssystem Microsoft® Windows®
6.0.6001.18000
False
False
False
False
False
Deutsch (Deutschland)


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
Englisch (USA)


KERNEL32.dll
C:\Windows\syswow64\KERNEL32.dll
kernel32
kernel32
6.0.6001.18000 (longhorn_rtm.080118-1840)
Client-DLL für Windows NT-Basis-API
Betriebssystem Microsoft® Windows®
6.0.6001.18000
False
False
False
False
False
Deutsch (Deutschland)


ShimEng.dll
C:\Windows\system32\ShimEng.dll
Shim Engine DLL (IAT)
Shim Engine DLL (IAT)
6.0.6000.16386 (vista_rtm.061101-2205)
Shim Engine DLL
Microsoft® Windows® Operating System
6.0.6000.16386
False
False
False
False
False
Englisch (USA)


apphelp.dll
C:\Windows\system32\apphelp.dll
Apphelp
Apphelp
6.0.6000.16386 (vista_rtm.061101-2205)
Clientbibliothek für Anwendungskompatibilität
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


AcGenral.DLL
C:\Windows\AppPatch\AcGenral.DLL


6.0.6002.18417 (vistasp2_gdr.110303-0236)
Windows Compatibility DLL
Microsoft® Windows® Operating System
6.0.6002.18417
False
False
False
False
False
Englisch (USA)


SHLWAPI.dll
C:\Windows\syswow64\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL.MUI
6.0.6000.16386 (vista_rtm.061101-2205)
Shell Light-weight-Dienstprogrammbibliothek
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


GDI32.dll
C:\Windows\syswow64\GDI32.dll
gdi32
gdi32
6.0.6002.19421 (vistasp2_gdr.150612-0605)
GDI Client DLL
Microsoft® Windows® Operating System
6.0.6002.19421
False
False
False
False
False
Englisch (USA)


USER32.dll
C:\Windows\syswow64\USER32.dll
user32
user32
6.0.6001.18000 (longhorn_rtm.080118-1840)
Multi-User Windows USER API Client DLL
Betriebssystem Microsoft® Windows®
6.0.6001.18000
False
False
False
False
False
Deutsch (Deutschland)


ADVAPI32.dll
C:\Windows\syswow64\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.0.6002.18005 (lh_sp2rtm.090410-1830)
Erweiterte Windows 32 Base-API
Betriebssystem Microsoft® Windows®
6.0.6002.18005
False
False
False
False
False
Deutsch (Deutschland)


RPCRT4.dll
C:\Windows\syswow64\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll.mui
6.0.6001.18000 (longhorn_rtm.080118-1840)
Remoteprozeduraufruf-Laufzeitumgebung
Betriebssystem Microsoft® Windows®
6.0.6001.18000
False
False
False
False
False
Deutsch (Deutschland)


Secur32.dll
C:\Windows\syswow64\Secur32.dll
security.dll
security.dll
6.0.6002.19431 (vistasp2_gdr.150627-0605)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.0.6002.19431
False
False
False
False
False
Englisch (USA)


msvcrt.dll
C:\Windows\syswow64\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.6002.18551 (vistasp2_gdr.111214-0301)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.6002.18551
False
False
False
False
False
Englisch (USA)


UxTheme.dll
C:\Windows\system32\UxTheme.dll
UxTheme.dll
UxTheme.dll.mui
6.0.6000.16386 (vista_rtm.061101-2205)
Microsoft UxTheme-Bibliothek
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


WINMM.dll
C:\Windows\system32\WINMM.dll
winmm.dll
WINMM.DLL.MUI
6.0.6000.16386 (vista_rtm.061101-2205)
MCI API-DLL
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


ole32.dll
C:\Windows\syswow64\ole32.dll
OLE32.DLL
OLE32.DLL.MUI
6.0.6000.16386 (vista_rtm.061101-2205)
Microsoft OLE für Windows
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


OLEAUT32.dll
C:\Windows\syswow64\OLEAUT32.dll
OLEAUT32.DLL

6.0.6002.19243


6.0.6002.19243
False
False
False
False
False
Englisch (USA)


OLEACC.dll
C:\Windows\system32\OLEACC.dll
OLEACC
OLEACC.DLL
7.0.6002.18508 (vistasp2_gdr.110825-0338)
Active Accessibility Core Component
Microsoft® Windows® Operating System
6.0.6002.18508
False
False
False
False
False
Sprachneutral


NETAPI32.dll
C:\Windows\system32\NETAPI32.dll
NetApi32.DLL
NetApi32.DLL
6.0.6002.18659 (vistasp2_gdr.120629-0337)
Net Win32 API DLL
Microsoft® Windows® Operating System
6.0.6002.18659
False
False
False
False
False
Englisch (USA)


PSAPI.DLL
C:\Windows\syswow64\PSAPI.DLL
PSAPI
PSAPI
6.0.6000.16386 (vista_rtm.061101-2205)
Process Status Helper
Microsoft® Windows® Operating System
6.0.6000.16386
False
False
False
False
False
Englisch (USA)


MSACM32.dll
C:\Windows\system32\MSACM32.dll
Microsoft ACM Audio Filter
msfltr32.acm.mui
6.0.6000.16386 (vista_rtm.061101-2205)
Microsoft ACM-Audiofilter
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


VERSION.dll
C:\Windows\system32\VERSION.dll
version
VERSION.DLL
6.0.6002.18005 (lh_sp2rtm.090410-1830)
Version Checking and File Installation Libraries
Microsoft® Windows® Operating System
6.0.6002.18005
False
False
False
False
False
Englisch (USA)


SHELL32.dll
C:\Windows\syswow64\SHELL32.dll
SHELL32
SHELL32.DLL.MUI
6.0.6001.18000 (longhorn_rtm.080118-1840)
Allgemeine Windows-Shell-DLL
Betriebssystem Microsoft® Windows®
6.0.6001.18000
False
False
False
False
False
Deutsch (Deutschland)


sfc.dll
C:\Windows\system32\sfc.dll
sfc.dll
sfc.dll
6.0.6000.16386 (vista_rtm.061101-2205)
Windows File Protection
Microsoft® Windows® Operating System
6.0.6000.16386
False
False
False
False
False
Englisch (USA)


sfc_os.dll
C:\Windows\system32\sfc_os.dll
sfc_os.dll
sfc_os.dll
6.0.6001.18000 (longhorn_rtm.080118-1840)
Windows File Protection
Microsoft® Windows® Operating System
6.0.6001.18000
False
False
False
False
False
Englisch (USA)


SETUPAPI.dll
C:\Windows\syswow64\SETUPAPI.dll
SETUPAPI.DLL
SETUPAPI.DLL.MUI
6.0.6001.18000 (longhorn_rtm.080118-1840)
Windows Setup-API
Betriebssystem Microsoft® Windows®
6.0.6001.18000
False
False
False
False
False
Deutsch (Deutschland)


USERENV.dll
C:\Windows\system32\USERENV.dll
userenv
userenv.dll.mui
6.0.6000.16386 (vista_rtm.061101-2205)
Userenv
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


dwmapi.dll
C:\Windows\system32\dwmapi.dll
dwmapi.dll
dwmapi.dll
6.0.6001.18000 (longhorn_rtm.080118-1840)
Microsoft Desktop Window Manager API
Microsoft® Windows® Operating System
6.0.6001.18000
False
False
False
False
False
Englisch (USA)


urlmon.dll
C:\Windows\syswow64\urlmon.dll
UrlMon.dll
UrlMon.dll.mui
9.00.8112.16421 (WIN7_IE9_RTM.110308-0330)
OLE32-Erweiterung für Win32
Windows® Internet Explorer
9.00.8112.16421
False
False
False
True
False
Deutsch (Deutschland)


iertutil.dll
C:\Windows\syswow64\iertutil.dll
IeRtUtil.dll
IeRtUtil.dll
9.00.8112.16685 (win7_ie9_GDR(builder).150814-1534)
Run time utility for Internet Explorer
Windows® Internet Explorer
9.00.8112.16685
False
False
False
True
False
Englisch (USA)


WININET.dll
C:\Windows\syswow64\WININET.dll
wininet.dll
wininet.dll.mui
9.00.8112.16421 (WIN7_IE9_RTM.110308-0330)
Interneterweiterungen für Win32
Windows® Internet Explorer
9.00.8112.16421
False
False
False
True
False
Deutsch (Deutschland)


Normaliz.dll
C:\Windows\syswow64\Normaliz.dll
normaliz
normaliz.dll
6.0.6000.16386 (vista_rtm.061101-2205)
Unicode Normalization DLL
Microsoft® Windows® Operating System
6.0.6000.16386
False
False
False
False
False
Englisch (USA)


MPR.dll
C:\Windows\system32\MPR.dll
mpr.dll
mpr.dll.mui
6.0.6000.16386 (vista_rtm.061101-2205)
Router-DLL für Mehrfachanbieter
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


IMM32.DLL
C:\Windows\system32\IMM32.DLL
imm32
imm32
6.0.6002.18005 (lh_sp2rtm.090410-1830)
Multi-User Windows IMM32 API Client DLL
Microsoft® Windows® Operating System
6.0.6002.18005
False
False
False
False
False
Englisch (USA)


MSCTF.dll
C:\Windows\syswow64\MSCTF.dll
MSCTF
MSCTF.DLL.MUI
6.0.6000.16386 (vista_rtm.061101-2205)
MSCTF-Server-DLL
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


LPK.DLL
C:\Windows\syswow64\LPK.DLL
LanguagePack
LanguagePack
6.0.6002.18005 (lh_sp2rtm.090410-1830)
Language Pack
Microsoft® Windows® Operating System
6.0.6002.18005
False
False
False
False
False
Englisch (USA)


USP10.dll
C:\Windows\syswow64\USP10.dll
Uniscribe
Uniscribe
1.0626.6002.19096 (vistasp2_gdr.140426-0532)
Uniscribe Unicode script processor
Microsoft® Uniscribe Unicode script processor
1.0626.6002.19096
False
False
False
False
False
Englisch (USA)


comctl32.dll
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.19373_none_5cbe60a608848a19\comctl32.dll
comctl32
comctl32.DLL.MUI
6.10 (vista_rtm.061101-2205)
Bibliothek für Steuerelemente
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


mscoreei.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
mscoreei.dll
mscoreei.dll
4.6.81.0 built by: NETFXREL2
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.6.81.0
False
False
False
True
False
Englisch (USA)


clr.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
clr.dll
clr.dll
4.6.81.0 built by: NETFXREL2
Microsoft .NET Runtime Common Language Runtime - WorkStation
Microsoft® .NET Framework
4.6.81.0
False
False
False
True
False
Englisch (USA)


MSVCR120_CLR0400.dll
C:\Windows\system32\MSVCR120_CLR0400.dll
msvcr120_clr0400.dll
msvcr120_clr0400.dll
12.00.52512.0 built by: VSWINSERVICING
Microsoft® C Runtime Library
Microsoft® Visual Studio® 2013
12.00.52512.0
False
False
False
False
False
Englisch (USA)


mscorlib.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\b7a12c4c0032847fcc6b9c710460456f\mscorlib.ni.dll
mscorlib.dll
mscorlib.dll
4.6.81.0 built by: NETFXREL2
Microsoft Common Language Runtime Class Library
Microsoft® .NET Framework
4.6.81.0
False
False
False
True
False
Englisch (USA)


tiptsf.dll
C:\Program Files (x86)\Common Files\microsoft shared\ink\tiptsf.dll
TipTsf.dll
TipTsf.dll.mui
6.0.6000.16386 (vista_rtm.061101-2205)
Framework für die Tablet PC-Eingabebereichdienste
Betriebssystem Microsoft® Windows®
6.0.6000.16386
False
False
False
False
False
Deutsch (Deutschland)


rsaenh.dll
C:\Windows\s

Hi again, I’m sorry to see this, unfortunately it seems like your database is corrupt and is no longer-accessible for the application, based on the error it seems like the application was shut-off while accounts were being deleted. You should be able to get rid off this message by setting up a new database, however this will require to have all accounts setup from scratch and all application settings will be re-set to defaults.

To setup a new database navigate to your local /user/AppData/Roaming folder and remove or rename the eM Client database folder. Next application startup will force the application to create a new database.

Regards,

Hi Paul,

i have made a backup of my em client folder beforce resetting it, because i though i can maybe at least save tasks, contacts and the events… so i overwrote each file seperately to check when em client will crash and the only file its having trouble with it the main.dat.

is there maybe a way to fix this file again?

i would like to avoid re setting up everyhing so hopefully i am lucky and there is a way to repair the main.dat

best
robert

Hello Robert, unfortunately it’s not possible to restore the file, the only possible way would be restoring from an existing backup, but unfortunately our database repair tool can’t resolve this issue.

Regards,

HI Paul,

does that mean that all my emails are lost now, my mail.dat is about 4.5 gb in size, and what about the events and tasks and contacts… are they all lost now?

when setting up a new account emclient is completely fresh and i dont find any option to import the “old” files… is my file backup useless?

i am a little helpless right now since i am using it for my business and all contacts and send emails are gone now.

best
robert

Hello Robert, unfortunately without a regular backup it is usually not possible to restore the data from the previous database folder, however you can replace your database files with the old ones - however as the main database files is corrupt you may no longer be able to restore most of the data.

Please compress your folders.dat and main.dat database folder and upload the files for download to a common file sharing service (as you’ve mentioned the files can be quite large), and submit a link for download to my work mail, mcgregor@emclient.com with a reference link to this forum topic.

I’ll check with the developers if it’s possible to restore some of the data manually, but please note this may take some time, as developer time is very precious to us at this point before the eM Client 7 release.

Hope you understand,

Hi Paul,

will do, thank you!

best
robert