Cannot launch application, crashes imediatelly with .NET error

I reinstalled eMclient, .NET latest version, restarted pc several times - the result is the same: window with error and no eM running…

eM Client (6.0.20631.0)
Windows: Microsoft Windows NT 6.1.7601 Service Pack 1, Framework: 4.0.30319.18444
The following error has occurred:
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize —> System.Configuration.ConfigurationErrorsException: Root element is missing. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config) —> System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Configuration.XmlUtil…ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
   — End of inner exception stack trace —
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
   — End of inner exception stack trace —
   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
   at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   at System.Net.Configuration.SettingsSectionInternal.get_Section()
   at MailClient.Program.Main(String[] args)

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

eM Client
6.0.20631.0

false

Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.18444


System.Configuration.ConfigurationErrorsException
Configuration system failed to initialize
System.Configuration




System.Configuration.dll
100664845
System.Configuration
System.Configuration.ClientConfigurationSystem
EnsureInit


mscorlib
System.String
configKey



124
217




System.Configuration.dll
100664846
System.Configuration
System.Configuration.ClientConfigurationSystem
PrepareClientConfigSystem


mscorlib
System.String
sectionName



8
1f




System.Configuration.dll
100664848
System.Configuration
System.Configuration.ClientConfigurationSystem
System.Configuration.Internal.IInternalConfigSystem.GetSection


mscorlib
System.String
sectionName



0
12




System.Configuration.dll
100663837
System.Configuration
System.Configuration.ConfigurationManager
GetSection


mscorlib
System.String
sectionName



f
4e




System.dll
100679932
System
System.Configuration.PrivilegedConfigurationManager
GetSection


mscorlib
System.String
sectionName



0
20




System.dll
100676874
System
System.Net.Configuration.SettingsSectionInternal
get_Section


19
97




MailClient.exe
100675687
MailClient
MailClient.Program
Main


mscorlib
System.String[]
args



51
d7





System.Configuration.ConfigurationErrorsException
Root element is missing. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config)
System.Configuration




System.Configuration.dll
100663932
System.Configuration
System.Configuration.ConfigurationSchemaErrors
ThrowIfErrors


mscorlib
System.Boolean
ignoreLocal



28
a263c




System.Configuration.dll
100663505
System.Configuration
System.Configuration.BaseConfigurationRecord
ThrowIfParseErrors


System.Configuration
System.Configuration.ConfigurationSchemaErrors
schemaErrors



0
22




System.Configuration.dll
100663415
System.Configuration
System.Configuration.BaseConfigurationRecord
ThrowIfInitErrors


0
7




System.Configuration.dll
100664845
System.Configuration
System.Configuration.ClientConfigurationSystem
EnsureInit


mscorlib
System.String
configKey



65
da





System.Xml.XmlException
Root element is missing.
System.Xml




System.Xml.dll
100665718
System.Xml
System.Xml.XmlTextReaderImpl
Throw


mscorlib
System.Exception
e



27
45




System.Xml.dll
100665812
System.Xml
System.Xml.XmlTextReaderImpl
ParseDocumentContent


374
131




System.Xml.dll
100665645
System.Xml
System.Xml.XmlTextReaderImpl
Read


8c
d5




System.Xml.dll
100665552
System.Xml
System.Xml.XmlTextReader
Read


0
d




System.Configuration.dll
100665100
System.Configuration
System.Configuration.XmlUtil
.ctor


mscorlib
System.IO.Stream
stream


mscorlib
System.String
name


mscorlib
System.Boolean
readToFirstElement


System.Configuration
System.Configuration.ConfigurationSchemaErrors
schemaErrors



b3
162




System.Configuration.dll
100663430
System.Configuration
System.Configuration.BaseConfigurationRecord
InitConfigFromFile


0
1fe










MailClient.exe
C:\Program Files (x86)\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.20631.0
eM Client
eM Client
6.0.20631.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.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\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.18496 (win7sp1_gdr.140605-0343)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.1.7601.18496
False
False
False
False
False
English (United States)


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


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\syswow64\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\syswow64\GDI32.dll
gdi32
gdi32
6.1.7601.18275 (win7sp1_gdr.131002-1533)
GDI Client DLL
Microsoft® Windows® Operating System
6.1.7601.18275
False
False
False
False
False
English (United States)


USER32.dll
C:\Windows\syswow64\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\syswow64\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\syswow64\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\syswow64\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
&nb

btw, this is after latest upgrade

Hi Audrius, please update your .NET framework to the latest available version (4.5.2), the crash report is showing that you’re using an older version of .NET.

Hope this helps,
Paul.