Sdk: Failed to load the dll from [C:\Program Files\dotnet\host\fxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057

Created on 21 Jul 2016  路  18Comments  路  Source: dotnet/sdk

Environment data

dotnet --info output:
C:\Users\Rakesh>dotnet --info
Failed to load the dll from [C:\Program Files\dotnet\hostfxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057

system config
configuration

software installed
installed

file location
file

error is still comming
error

solve this and give just reasonable solution. what i can do

Most helpful comment

Hi
Had this similar issue. I have Win 7 SP1. Installed Windows update from following link and got resolved.
https://www.microsoft.com/en-us/download/details.aspx?id=26767

Hope it helps

All 18 comments

/cc @gkhanna79 @schellap

what is this? @blackdwarf

Do you have all the pre-reqs installed for Windows (as listed at https://github.com/dotnet/core/blob/master/Documentation/prereqs.md), including the KB (https://support.microsoft.com/en-us/kb/2533623)?

I have installed microsof visual c++ 2015 redistributatable that is only dependency on windows

@RakeshYadvanshi https://github.com/dotnet/core/blob/master/Documentation/prereqs.md lists the pre-Win10 dependencies as well, one of which is the KB I linked above.

Please install it and let us know if the issue repros.

CC @schellap

ok let me try..
@gkhanna79

Given no activity in a week I'm assuming this is resolved. @RakeshYadvanshi please let us know if you're still seeing issues.

I'm stuck in the same problem. I'm using Windows 7, 32 bit with SP1.

Could someone help, please?

hi @JeanBarros, if you have done all the thing above described in discussion,
then I will advise you to install visual studio 2015 community version. that will solve all the dependency . after that you can uninstall. i know this is very silly answer. but i was not free as to give my time to solve this disgusting problem .

Hi @RakeshYadvanshi, thank you for replay but i had already installed it. Were you able to resolve the issue after installing VS 2015 Community?

Best regards.

Yes it was solved, problem was not showing.
but I haven't checked for debugging and running project. that i will check today and tell you in the evening.

Hi
Had this similar issue. I have Win 7 SP1. Installed Windows update from following link and got resolved.
https://www.microsoft.com/en-us/download/details.aspx?id=26767

Hope it helps

Windows 7 (KB2533623) Update solve this problem. Thanks Shailesh Pisat.

@gkhanna79 thanks! I have solve this problem after update the KB2533623 on windows 7

Thank you @RakeshYadvanshi / Question is valuable , Thank you @gkhanna79 / Answer is 100 times valuable .. helps to solve my 2 days problem

@gkhanna79 thanks! We have solve the problem after update kb file on Windows Server 2008 R2 Datacenter SP1. It's ok on Win7 SP1 x86 and Windows Server 2008 R2 Enterprise SP1.

This issue should not be closed. The hosting bundle should refuse to install and tell the user why ( missing prereqs). Instead it installs like everything is fine. Then my application installs and it manifests itself as a runtime error requiring me to go research this issue to find this. It's not a good UX and not the accepted practice for installers for the last 20 some years. (Bonus points: actually install the prereqs for the user. WiX is quiet capable of doing web downloads of vc_redist and some windows updates and installing them. )

Was this page helpful?
0 / 5 - 0 ratings