Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Error in sftp adapter calling
- This topic has 0 replies, 1 voice, and was last updated 9 years, 10 months ago by
community-content.
-
AuthorPosts
-
-
March 12, 2010 at 5:36 AM #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
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.