Upload from ASP code to FTP Server

I get the following support problem about once per week from ASP developers: The ASP developer wants to upload a file from the client computer where the browser is running, to an FTP server.  He writes ASP code to do the FTP upload, but cannot understand why the file is not found.  The thing the ASP developer doesn’t realize is […]

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 […]

Using 32-bit or 64-bit ActiveX Components on x64 Windows

64-bit Windows is capable of running applications in both 32-bit mode and 64-bit mode. If the application process is running in a 32-bit address space, the DLL must also use a 32-bit address space. (In other words, it should be a DLL compiled for the Win32 platform.) If the application process is running in a 64-bit address space, the DLL’s […]

Sending SMS Text Messages via Email-to-SMS Gateways

ASP: Send SMS Message SQL Server: Send SMS Message C#: Send SMS Message C++: Send SMS Message MFC: Send SMS Message C: Send SMS Message Delphi: Send SMS Message Visual FoxPro: Send SMS Message Java: Send SMS Message Perl: Send SMS Message PHP: Send SMS Message Python: Send SMS Message Ruby: Send SMS Message VB.NET: Send SMS Message Visual Basic: […]

Incorrect Format Error when trying to load .NET Assembly

This Chilkat blog post explains the following error: “Could not load file or assembly ‘ChilkatDotNet2, Version=9.0.8.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd’ or one of its dependencies. An attempt was made to load a program with an incorrect format.” When a DLL is loaded, it is mapped into the process’s address space. If the process is running in a 32-bit address space, the DLL […]

Getting Started with AES Decryption

This is a common question: You receive encrypted data and a key and want to decrypt. The person providing the encrypted data has provided little information, perhaps only that the encryption algorithm is AES. Where to do you begin, and what additional information, if any, do you need? Answer: AES encryption comes in 3 key sizes: 128-bit, 192-bit, and 256-bit. […]