I am facing an issue related to .NET Reflection in Windows application.
I have 3 machines.
In Machine1 I have placed dot net assemblies(dll) (build with 1.1 framework) and shared(folder) for read access.
In machine 2 I am trying to load the Assembly (dll) from shared location of Machine1.
i.e. Assembly FileAssembly = Assembly.LoadFrom(\\127.0.0.1\....somelib.dll);
I am getting an exception as below
System.IO.FileLoadException was caught
Message="Could not load file or assembly ,..., Version=1.0.3310.15019, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))"
FileName="..., Version=1.0.3310.15019, Culture=neutral, PublicKeyToken=null"
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
View Complete Post