NetworkCommsDotNet dll fails to load

1.3k views Asked by At

I am exploring NetworkCommsDotNet library for use in a project. I am building the project fine, but when it reaches TCPConnection.StartListening (NetworkComms dll function) I see in IntelliTrace exceptions thrown that say "could not load assembly blah blah blah".

I have attached the fusion log, any ideas? I an stumped... :/

EDIT: I should add that the dll is actually there and has its permissions set to Everyone - Full Control. It is also "unblocked" in its file properties. Also Owner is Everyone.

EDIT2: https://i.stack.imgur.com/bWBSz.jpg

*** Assembly Binder Log Entry  (3/12/2013 @ 10:58:45 ΟΞΌ) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  C:\Users\Administrator\Documents\Visual Studio 2012\Projects\CCF_PwrMon_Test_Server\CCF_PwrMon_Test_Server\bin\Release\CCF_PwrMon_Test_Server.vshost.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\Users\Administrator\Documents\Visual Studio 2012\Projects\CCF_PwrMon_Test_Server\CCF_PwrMon_Test_Server\bin\Release\NetworkCommsDotNetComplete, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
LOG: Appbase = file:///C:/Users/Administrator/Documents/Visual Studio 2012/Projects/CCF_PwrMon_Test_Server/CCF_PwrMon_Test_Server/bin/Release/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = CCF_PwrMon_Test_Server.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\Administrator\Documents\Visual Studio 2012\Projects\CCF_PwrMon_Test_Server\CCF_PwrMon_Test_Server\bin\Release\CCF_PwrMon_Test_Server.exe.config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///C:/Users/Administrator/Documents/Visual Studio 2012/Projects/CCF_PwrMon_Test_Server/CCF_PwrMon_Test_Server/bin/Release/NetworkCommsDotNetComplete, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
LOG: All probing URLs attempted and failed.

</pre></html><meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry  (3/12/2013 @ 10:58:45 ΟΞΌ) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  C:\Users\Administrator\Documents\Visual Studio 2012\Projects\CCF_PwrMon_Test_Server\CCF_PwrMon_Test_Server\bin\Release\CCF_PwrMon_Test_Server.vshost.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\Users\Administrator\Documents\Visual Studio 2012\Projects\CCF_PwrMon_Test_Server\CCF_PwrMon_Test_Server\bin\Release\NetworkCommsDotNetComplete, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
LOG: Appbase = file:///C:/Users/Administrator/Documents/Visual Studio 2012/Projects/CCF_PwrMon_Test_Server/CCF_PwrMon_Test_Server/bin/Release/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = CCF_PwrMon_Test_Server.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\Administrator\Documents\Visual Studio 2012\Projects\CCF_PwrMon_Test_Server\CCF_PwrMon_Test_Server\bin\Release\CCF_PwrMon_Test_Server.exe.config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///C:/Users/Administrator/Documents/Visual Studio 2012/Projects/CCF_PwrMon_Test_Server/CCF_PwrMon_Test_Server/bin/Release/NetworkCommsDotNetComplete, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
LOG: All probing URLs attempted and failed.
1

There are 1 answers

0
MemCtrl On

The problem was solved by using the updated version of NetworkCommsDotNet.