UnlockComponent LastErrorText shows exact string passed to it.

If the string argument passed to UnlockComponent or UnlockBundle is NOT a purchased unlock code, then the LastErrorText will contain the exact string passed to it by your application.  In this case, the string “Hello World” was passed to UnlockBundle. If UnlockComponent returns 0/false, check carefully the exact string being passed to it.  Make sure the exact purchased unlock code […]

426 Connection closed; transfer aborted.

Problem: An FTP transfer fails with the following message found in LastErrorText: 426 Connection closed; transfer aborted Solution: A local firewall may be blocking the connection. Try switching between Active and Passive mode and try again. See these examples: ASP: Active and Passive Modes in FTP SQL Server: Active and Passive Modes in FTP C#: Active and Passive Modes in […]

IMAP “Not in the authenticated state” Error

The blog post explains the “Not in the authenticated state” error. ChilkatLog: SelectMailbox: DllDate: Feb 15 2010 UnlockPrefix: Anything for 30-day trial Username: NETWORK SERVICE Component: .NET 2.0 mailbox: Inbox Not in the authenticated state This error happens if the caller is either not connected to an IMAP server, or is connected but the Login method was never called or […]

SSH / SFTP – Too much time between connect and authentication

The Solution: Issue solved.   The problem was, that we stepped through the code and because of that too much time elapsed between connect and authentication.  As we ran the program without breakpoints it worked. The Problem: The AuthenticatePw method failed and the LastErrorText contained this information: ChilkatLog: AuthenticatePw: DllDate: Jan 31 2010 UnlockPrefix: *** Username: *** Component: .NET 2.0 SshVersion: […]

SSL/TLS Error – SEC_E_INTERNAL_ERROR

Problem: An SSL/TLS connection failed and the LastErrorText contains “SEC_E_INTERNAL_ERROR”, such as in the error text below: (See cause solution below) ChilkatLog: Connect: DllDate: Dec 4 2009 UnlockPrefix: **** Username: **** Component: .NET 2.0 objectId: 1 hostname: *.*.*.* port: 443 ssl: 1 maxWaitMs: 20000 windowsAccount: **** ClientCertDN: **** protocol: default An existing connection was forcibly closed by the remote host. […]

SFTP File not Found

Question: I’m trying to open a file on the SFTP server, but I get a “File not Found” error? Here is the LastErrorText: ChilkatLog: OpenFile: DllDate: Dec 2 2009 UnlockPrefix: Anything for 30-day trial Username: IUSR_ABC*** Component: ActiveX SshVersion: SSH-2.0-1.36 sshlib: GlobalScape SftpVersion: 3 hcCurDate: Tue, 08 Dec 2009 13:48:25 +0000 hcExpire: 1/2010 filename: test.txt access: writeOnly createDisposition: createTruncate v3Flags: […]

SFTP Permission Denied trying to open existing file.

Question: Why did I get a permission denied error from the server when trying to open an existing file on the SSH/SFTP server? Here’s the LastErrorText: ChilkatLog: DownloadFileByName: DllDate: Dec 2 2009 UnlockPrefix: *** Username: Administrator Component: ActiveX SshVersion: SSH-2.0-CoreFTP-0.1.2 SftpVersion: 3 PreserveDate: 0 fromFilePath: /test.dat.gz toFilePath: c:\abc\test.dat.gz OpenRemoteFile: filename: /test.dat.gz access: readOnly createDisposition: openExisting v3Flags: 0x1 Sent FXP_OPEN StatusResponse: […]

InitializeSftp – Received FAILURE response to subsystem request.

If the SSH server is setup/configured to not allow SFTP, or your SSH user account is not allowed to use SFTP, the InitializeSftp method will return a failed status. Here is an example: ChilkatLog: InitializeSftp: DllDate: Oct 30 2009 UnlockPrefix: ABC123 Username: chilkat Component: .NET 2.0 SshVersion: SSH-2.0-OpenSSH_4.5 SftpVersion: 0 channelType: session clientChannel: 200 initialWindowSize: 327680 maxPacketSize: 32768 Sent open […]