Hi All,
I am trying to connect to FTP using your binaries and getting below error:
System.InvalidOperationException: Dynamic operations can only be performed in homogenous AppDomain. at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle) at Renci.SshNet.Session.Connect() at Renci.SshNet.BaseClient.Connect()...
My scenario is I am using SharePoint 2013 List event receiver to upload file in SFTP shared location which is working successfully.
I am trying to read the file from same shared location and getting above error. The only thing which is different here is, for reading I am using SharePoint 2013 Timer Job.
Quick response would be appreciated.
Comments: ** Comment from web user: drieseng **
I am trying to connect to FTP using your binaries and getting below error:
System.InvalidOperationException: Dynamic operations can only be performed in homogenous AppDomain. at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle) at Renci.SshNet.Session.Connect() at Renci.SshNet.BaseClient.Connect()...
My scenario is I am using SharePoint 2013 List event receiver to upload file in SFTP shared location which is working successfully.
I am trying to read the file from same shared location and getting above error. The only thing which is different here is, for reading I am using SharePoint 2013 Timer Job.
Quick response would be appreciated.
Comments: ** Comment from web user: drieseng **
Try this:
http://sharepointchampion.blogspot.be/2014/06/systeminvalidoperationexception-dynamic.html
Please let me know if that fixes the problem for you.
Thanks,
Gert