Skip to content

ML Console application throwing native dll not found error #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dev8546 opened this issue Jul 30, 2018 · 3 comments
Closed

ML Console application throwing native dll not found error #605

dev8546 opened this issue Jul 30, 2018 · 3 comments

Comments

@dev8546
Copy link

dev8546 commented Jul 30, 2018

System information

  • Windows Server 2016:
  • **Dotnet core
    I created one Dotnet core application using VS 2017 and then published it and then copied the published folder having runtimes folder and my application dll to Windows server 2016 where I had installed the dotnet core framework.

Even time I run the application from command line I get the below error. (I found this dll is under the runtimes folder but somehow application is not able to load)

Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'CpuMathNative' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

@dev8546 dev8546 changed the title ML Console application throwing native dll not foind ML Console application throwing native dll not found error Jul 30, 2018
@tomwar
Copy link

tomwar commented Jul 30, 2018

I solved this issue by installing Microsoft Visual C++ 2015 Redistributable Update 3 RC (https://www.microsoft.com/en-us/download/details.aspx?id=52685)

I tried other solutions posted here regarding this problem but for my case my server was missing VCRUNTIME140.dll which is a dependency for CpuMathNative

@dev8546
Copy link
Author

dev8546 commented Jul 30, 2018

Yup I have just figured out and installed Microsoft Visual C++ Redistributable for Visual Studio 2017 and just came here and saw your comment @tomwar .

My problem is solved Thanks a lot

@dev8546 dev8546 closed this as completed Jul 30, 2018
@PaulDMendoza
Copy link

Oh, this solved my problem. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants