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 …

Could not load file or assembly ‘ChilkatDotNet4.dll’ or one of its dependencies.

(Thank you Josh for your helpful information!) “I see that occasionally information from clients (with the client’s permission) end up on the blog and thought that perhaps this one would qualify. If there is mention of the C++ Runtime, I didn’t find it. At any rate, I was having trouble …

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 …

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 …

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: …

VB6 – “TYPE MISMATCH (ERROR CODE 13)” or “Invalid Use of New Keyword”

This error occurs if you incorrectly add the ActiveX component to your VB6 project.  Follow these rules: 1) If the ActiveX objects are dynamically created (they are not dragged and dropped onto a form from the palette), then add a Reference to the ActiveX.  You should NOT see the icons …