.NET 3.5 SP1 Code from Network - "The system cannot find the file specified."
Posted
by DaMoose
on Stack Overflow
See other posts from Stack Overflow
or by DaMoose
Published on 2009-11-10T14:25:06Z
Indexed on
2010/03/22
14:01 UTC
Read the original article
Hit count: 210
.net-3.5
This issue has nothing to do with whether the assemblies have been signed or caspol has been run for the shared network folder. Apparently, the location of the files is the issue, but I cannot find what the real problem is.
I have one executable that references 5 dll's. I can run the app from a local drive without any problem. When I run the app from a network share, I get an error stating that "Could not load file or assembly 'homer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
If all the files are in the same folder, what is the error really telling me?
I should note also that the framework used is 3.5 SP1, which does not require changing code access policy. I had tried that anyhow, and I received the same error in both cases.
Thanks, DaMoose
© Stack Overflow or respective owner