6 Replies - 247 Views - Last Post: 12 February 2018 - 01:13 PM Rate Topic: -----

#1 aspfun  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 16-January 13

Could not load file or assembly "Renci.sshnet, ..."

Posted 30 January 2018 - 05:54 AM

I followed the link to create a sftp client.

https://www.codeproj....-in-Visual-Stu

It works fine in my local pc and exe file sftp.exe was copied to a file server.
But user got an error once ran copy of sftp.exe file from file server.
This is error.

Could not load file or assembly "Renci.sshnet, ..."

Is This A Good Question/Topic? 0
  • +

Replies To: Could not load file or assembly "Renci.sshnet, ..."

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13762
  • View blog
  • Posts: 54,941
  • Joined: 12-June 08

Re: Could not load file or assembly "Renci.sshnet, ..."

Posted 30 January 2018 - 07:39 AM

Please post the entire error message.
Was This Post Helpful? 0
  • +
  • -

#3 aspfun  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 16-January 13

Re: Could not load file or assembly "Renci.sshnet, ..."

Posted 30 January 2018 - 01:53 PM

View Postmodi123_1, on 30 January 2018 - 07:39 AM, said:

Please post the entire error message.


Please check the attachedment
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13762
  • View blog
  • Posts: 54,941
  • Joined: 12-June 08

Re: Could not load file or assembly "Renci.sshnet, ..."

Posted 30 January 2018 - 01:57 PM

Attachments are a bit wonky. Perhaps dump it on imgur.com and drop the link here.
Was This Post Helpful? 0
  • +
  • -

#5 andrewsw  Icon User is offline

  • blow up my boots
  • member icon

Reputation: 6500
  • View blog
  • Posts: 26,286
  • Joined: 12-December 12

Re: Could not load file or assembly "Renci.sshnet, ..."

Posted 30 January 2018 - 11:21 PM

Just searching "Could not load file or assembly "Renci.sshnet, ..."" a couple of useful looking links appeared, one suggesting that there is perhaps an older version of a .dll in-place.

That codeproject link is broken, but did you read the notes or comments attached to the tutorial?
Was This Post Helpful? 0
  • +
  • -

#6 aspfun  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 16-January 13

Re: Could not load file or assembly "Renci.sshnet, ..."

Posted 31 January 2018 - 05:41 AM

Here is error message.

Could not load file or assembly 'Renci.SshNet, Version=2016.1.0.0, Culture=neultral, publickeyToken=1cee9f8bde3db106' or one of its dependencies.

View Postaspfun, on 31 January 2018 - 05:39 AM, said:

Here is error message.

Could not load file or assembly 'Renci.SshNet, Version=2016.1.0.0, Culture=neultral, publickeyToken=1cee9f8bde3db106' or one of its dependencies.

I use vs2015, framework:4.6, windows 7

Was This Post Helpful? 0
  • +
  • -

#7 JustaNoOb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 12-February 18

Re: Could not load file or assembly "Renci.sshnet, ..."

Posted 12 February 2018 - 01:13 PM

I know you'l get that error if you don't have the dll in the same folder as the .exe you're trying to run.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1