Error 0x80070017 hostfxr.dll

After a while, the program stops working.
Error :
Description: A .NET application failed.
Application: MailClient.exe
Path: C:\Program Files (x86)\eM Client\MailClient.exe
Message: Failed to load the dll from [C:\Program Files (x86)\eM Client\hostfxr.dll], HRESULT: 0x80070017
The library hostfxr.dll was found, but loading it from C:\Program Files (x86)\eM Client\hostfxr.dll failed

Installation at the package link does not change anything. The client does not start again after a while
emclient-v9.2.1553
windows 10 ltsc 21h2

martes 14 febrero 2023 :: 0843hrs (UTC +0100)

In some cases, your .NET Framework installation can become damaged and require repairs.
This might be the case if your app crashes right after you try to start it or if you can
not install a particular .NET Framework version or update.

You can run: NetFxRepairTool.exe - Get it here: https://download.microsoft.com/download/2/B/D/2BDE5459-2225-48B8-830C-AE19CAF038F1/NetFxRepairTool.exe

If this does not work try process

Go to Control Panel ->Programs and Features ->Turn Windows features on or off
->Disable ALL .NET Framework entries ->Click OK ->Reboot computer if it does happen
→ Repeat above but this time ENABLE ->Click OK ->Allow to enable check & any update ->Rebbot
->Keep your fingers crossed that issue fixed

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!

skybat

[email protected]

Hablo español, luego portugués e inglés, con conocimiento de varios otros idiomas.

Nothing helped.I restored the program, it works. But I think not for long.

This mistake appeared on the third launch

martes 14 febrero 2023 :: 1555hrs (UTC +0100)

Hey @Serzh

As the .NET process did not help check you system as follows.
Stop any running programs

You must be connected to the Internet

1./ Press Windows Key + X then…
2./ Open an elevated command prompt (Admin)
3./Cut & Paste then press enter: DISM.exe /Online /Cleanup-image /Restorehealth
NEXT
4,/ Open an elevated command prompt (Admin)
5./ Cut & Paste then press enter: sfc /scannow
6,/ Reboot computer

There is also an upgrade to v9.2.1577 eMC at:
https://www.emclient.com/dist/latest/setup.msi

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!

skybat

[email protected]

Hablo español, luego portugués e inglés, con conocimiento de varios otros idiomas.

It didn’t help. Tested different versions, old and new, without changes. Reinstalled Windows. It doesn’t help.Copied from another system hostfxr.dll - it works

again this mistake.
are there any options ?

This file is included in the eM Client installation, so there is no need to get it from somewhere else.

  1. Close and uninstall eM Client, making sure NOT to delete the database folder when asked. That will ensure all your data and settings are there later.

  2. If it exists, delete the C:\Program Files (x86)\eM Client folder.

  3. Download and install the latest version from here: https://www.emclient.com/dist/latest/setup.msi

  4. Restart eM Client.

Did this
Removing or reinstalling

miércoles 15 febrero 2023 :: 1938hrs (UTC +0100)

I have re-read all the posts in this thread - assuming all the suggested actions
have been carried out as suggested and you still have the issue I conclude that:

1./ There is something other than eMC causing the issue
2./ Perhaps there is a firmware issue
3./ Have you checked your BIOS is current?
4./ Before you reinstalled Win10 did you format your SSD?
5./ What other apps do you have installed after re-install of Win10
6./ As @Gary states there is no logical reason to copy and overwrite hostfxr.dll
7./ Has eMC ever worked correctly, when, how long and what version/s?

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!

skybat

[email protected]

Hablo español, luego portugués e inglés, con conocimiento de varios otros idiomas.

Most likely
Bios latest
Windows 8.1 stood.There were no problems with the program
Most programs are portable
I will reinstall Windows 10 or I will install outlook

jueves 16 febrero 2023 :: 0925hrs (UTC +0100)

I am sorry I can not help further as the replies you give do answer and ignore
questions asked.
Without the information requested it is not possible to make valid or meaningful suggestions.

Perhaps others on this Forum, which is help from users NOT eMC, can guess at solving your
issue or maybe you should raise a support ticket direct with eMC, however, bear in mind
that personally I do NOT believe the issue is with eMC.

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!

skybat

[email protected]

Hablo español, luego portugués e inglés, con conocimiento de varios otros idiomas.

Technical support refused to help.There is no license.

jueves 16 febrero 2023 :: 1849hrs (UTC +0100)

So if you need and want Pro support you will need to buy a License.
I have previously explained my position and why.
There is an English expression “Hoist by your own petard”
This explains your situation.

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!

skybat

[email protected]

Hablo español, luego portugués e inglés, con conocimiento de varios otros idiomas.

1 Like

How can I purchase a product that does not work for some unknown reason?

viernes 17 febrero 2023 :: 1303hrs (UTC +0100)

OK, I will make a final attempt to help but only if you answer all questions
in full, if not you are on your own unless someone else wants to try.

1./ Has eMC ever worked?
2./ If so what version?
3./ What was date of original installation of eMC?
4./ What operating system at the time?
5./ What version of eMC do you currently have installed?
6./ You have mentioned Windows 8 and Windows 10
7./ What OS is installed now?
8./ If Windows 10, was it a clean install?
9./ Did you format your drive before the install?
10./ What version of Windows 10?
11./ Have you completed all current Microsoft OS updates?
12./ I need to know do you have an expired Trial or Free version?

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!

skybat

[email protected]

Hablo español, luego portugués e inglés, con conocimiento de varios otros idiomas.

1 Like

Thanks. But this is no longer necessary
Reinstalled windows + Mozilla Thunderbird
In the past -

  1. Yes.Windows 8.1 (Enterprise license),test period emc
  2. 9.2.1222.0
  3. is unknown
  4. windows enterprise ltsc 2021 ( corporate license )
  5. It was 9.2.1577
  6. –
  7. It was Windows enterprise ltsc 2021 (Enterprise license)
  8. always a clean installation
  9. Disk partition
  10. –
  11. drivers + updates
  12. emc ? free
    Installed programs
    MS Office 2016 (Enterprise license, word excel only)? Winrar, Reg Organizer,mDisk,Simplewall, “+ -” 2-3 programs. Everything else is portable

This is an error from the installation of a postal client by default

@Serzh

I suspect the problem is still somewhere in your Windows OS, as I’ve never seen that hostfxr.dll file missing / error with any eM Client installation.

I would suggest again a clean install of the latest Windows 10 (22H2) version via the Microsoft Media creation tool on their website. Then d/l and reinstall the latest eM Client V9.2.1577

https://www.emclient.com/release-history

Tested on a clean Windows 10 ltsc (formatted with the removal of the system partition) Visual++, DirectX is installed. nvidia drivers, Net Framework update, other drivers from Windows Update.
The file hostfxr.dll did not disappear anywhere
This error does not depend on the version.Verified