Error in sftp adapter calling

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Error in sftp adapter calling

Viewing 0 reply threads
  • Author
    Posts
    • #24375

      Hi,

      I am using Microsoft BizTalk Server 2006 R2 on Windows XP SP2.
      I have installed Codeplex SFTP adapter and created send and receive handler for it. when I click on properties, I got below error:

      “Value cannot be null. Parameter name: stream”

      My scenario is that, I want to download file from FTP site from my local IIS server. I have created FTP site on my local IIS Server and configure receive location to get file from the site.

      Following are the configurations:

      FTP site name is “SFTP_VD” having folder “FileIn” that contain text file name “SimpleFile.txt”

      Receive Location Properties:

      File Mask : SimpleFile.txt

      SSH host : localhost

      SSH Port : 21

      SSH Remote Path : /sftp_vd/FileIn/ (this is FTP site path for file Input)

      SSH User : adnan (SSO user name)

      SSO Affiliate : Biz (SSO Application Name)

      When I hit my service I got following error:

      Method:

      Blogical.Shared.Adapters.Sftp.SftpReceiverEndpoint.EndpointTask
      Error: Uri:D:/Clients/SFTP_RND_Practice/Services/SFTPPractice/SFTPPractice/FileIn/SimpleFile.txt
      ——————————
      Information:
      Type: System.Exception
      Target:
      Message: Uri:D:/Clients/SFTP_RND_Practice/Services/SFTPPractice/SFTPPractice/FileIn/SimpleFile.txt
      Stacktrace:
      ——————————
      Type: System.Exception
      Target: Void connect(Boolean)
      Message: Unable to connect to Sftp host [localhost]
      Stacktrace:
      at Blogical.Shared.Adapters.Sftp.SftpReceiverEndpoint.PickupFilesAndSubmit()
      at Blogical.Shared.Adapters.Sftp.SftpReceiverEndpoint.EndpointTask()
      ——————————
      Type: Tamir.SharpSsh.jsch.JSchException
      Target: Void connect(Int32)
      Message: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:22
      at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
      at Tamir.SharpSsh.java.net.Socket..ctor(String host, Int32 port)
      at Tamir.SharpSsh.jsch.Util.createSocket(String host, Int32 port, Int32 timeout)
      Stacktrace:
      at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
      at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)
      at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)
      at Blogical.Shared.Adapters.Sftp.SharpSsh.Sftp.connect(Boolean force)

      Please respond I need help here.
      Earliest help will be very appreciated.

      Regards,
      Adnan Iqbal

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.