asp.net mvc (use external dll of c++ Exception from HRESULT: 0x8007007E )

0

I write a asp.net mvc project, this project use external dll of c++ (ACTR_DLL.dll) this project run on my system successfully. But when get publish from visual studio, external dll of c++ dont exist in folders when i upload project on server, this error is shown:

Unable to load DLL 'ACTR_DLL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:

System.DllNotFoundException: Unable to load DLL 'ACTR_DLL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

i replace external dll of c++ in folder in server but error dont solved

c++
asp.net
opencv
model-view-controller
dll
asked on Stack Overflow May 22, 2019 by M Shafaghi • edited May 22, 2019 by nathancy

1 Answer

0

In addition to should check that your dll your deployed, you should check that no dependencies of your dll is missing. For that you can use the Dependencies tool: https://github.com/lucasg/Dependencies

Then from there you should be able to take the appropriate actions.

answered on Stack Overflow May 22, 2019 by P. PICARD

User contributions licensed under CC BY-SA 3.0