FileNotFoundException when loading dll

前端 未结 3 479
伪装坚强ぢ
伪装坚强ぢ 2020-12-12 04:51

When I try to execute my program I receive FileNotFoundException, howerver dll exist in the same folder. How is that possible and how to fix the problem? Output below transl

相关标签:
3条回答
  • 2020-12-12 05:19

    Perhaps, QuickFASTDotNet.dll call some function of another library and these library not found. You can use dllexp to check it.

    0 讨论(0)
  • 2020-12-12 05:39

    Please check out Debugging Assembly Loading Failures.

    Most likely reason is some related file is not installed in the GAC on you Server machines, or x86/x64 mismatch.

    0 讨论(0)
  • 2020-12-12 05:45

    I was getting same error when the file has been blocked by Windows since it's been copied from another computer. Right click on the dll file and click on "Unblock" button from the security tab

    See https://superuser.com/questions/38476/this-file-came-from-another-computer-how-can-i-unblock-all-the-files-in-a

    0 讨论(0)
提交回复
热议问题