Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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 translated from localized messages of Russian Windows Server 2008 R2 Foundation:

C:Oleginfast>FAST.exe

Exception: System.IO.FileNotFoundException: Can't load "QuickFASTDotNet.dll"
or dependent component. Can't find this file.
in FAST.FAST..ctor()
in FAST.Program.Main(String[] args) in C:OlegfastFASTFAST
Program.cs:line 474

C:Oleginfast>dir QuickFASTDotNet.dll
    16.02.2012  16:45           117?760 QuickFASTDotNet.dll

The same binaries work on my Windows 7 machine (but doesn't work on another Windows Server 2008 R2 Foundation machine).

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
187 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...