Error: This operation is not supported with BTT enabled

I haven’t seen this error before.  A Chilkat user reported it, and then quickly found the answer: When trying to Create the Chilkat_9_5_0.http object with this example: , there’s a message that the ActiveX Component can’t create it, because “System:  This operation is not supported with BTT enabled.” The cause of the problem had to do with a 32-bit/64-bit […]

New Security Measures taken by Google concerning “Loopback IP Adresses” or “OAuth out-of-band (oob)”

Question:  I would like to know if Chilkat is affected by the new security measures taken by Google concerning “Loopback IP Adresses” or “OAuth out-of-band (oob)” Answer:   Chilkat does not use “oob”, so it’s not an issue. The loopback address, such as “http://localhost:port/”, remains valid if you define your app in the Google Developers Console as a “Desktop […]

Classic ASP to Read JSON Request Body and Write JSON Response

Here’s a Classic ASP example using Chilkat to read an incoming JSON request body (such as from a POST), load it into a Chilkat JsonObject, and then write the JSON to an application/json response: <% If Request.TotalBytes > 0 Then ‘ Read the JSON request body into a Chilkat BinData object. set bd = Server.CreateObject(“Chilkat_9_5_0.BinData”) bd.AppendBinary(Request.BinaryRead(Request.TotalBytes)) ‘ Load a Chilkat […]

XML Signature Id attribute

In Chilkat v9.5.0.90, the Id attribute is automatically generated and added to the “Signature” tag when an XML digital signature is created.  This results in a Signature that begins like this: <Signature xmlns=”” Id=”signature-1502-9002-7096-7873″> Why did Chilkat do this?  It is because if you or somebody else wishes to subsequently add an Encapsulated Timestamp to the signature, then the Id […]

How to Know a PDF is Corrupt

Open a PDF in Adobe Acrobat DC.  Then without doing anything else, close the PDF. Does Acrobat ask to save changes even though you made no changes? If so, then it means that Acrobat auto-fixed a corrupt PDF.

Failed to read beginning of SSL/TLS record – can be caused by External Firewall

The following error was recently reported: … Connecting to POP3 server hostname: port: 995 tls: True connectTimeoutMs: 30000 isInSshTunnel: 0 socket2Connect: connect2: connectImplicitSsl: clientHandshake: clientHandshake2: readHandshakeMessages: WindowsError: An existing connection was forcibly closed by the remote host. WindowsErrorCode: 0x2746 maxToReceive: 5 Failed to receive data on the TCP socket Failed to read beginning of SSL/TLS record. b: 0 dbSize: […]

AutoFix POP3 and SMTP Port / TLS Settings

What is the MailMan.AutoFix property? Protocols such as POP3, SMTP, FTP, IMAP, etc. that sit atop SSL/TLS in the protocol stack, can establish TLS connections in one of two ways:  explicit or implicit. Implicit SSL/TLS means that immediately after the TCP connection is established, it is implicitly known that client and server will begin with the TLS handshake. Explicit SSL/TLS […]

SQL sp_OAMethod String Length Return Value Limitations

The sp_OAMethod function is used to call ActiveX methods in SQL stored procedures.  If the ActiveX method returns a string, there is a limit imposed by sp_OAMethod on the size of the string that can be returned.  (Perhaps it is 4000 chars?) This blog post describes a way to workaround this limitation. An example of a method call that is […]

Chilkat for Amazon Marketplace SP-API

Chilkat already “supports” the Amazon Marketplace SP-API because it’s just a matter of implementing the API calls using the existing Chilkat general-purpose HTTP/REST functionality. Given that Chilkat is not an Amazon seller, we don’t have direct access to be able to write *and test* examples. We did it for Amazon’s older MWS API, but with customer-provided access to the sandbox. […] – Failed to get initial SMTP Response

If something on the client-side is blocking communications, such as a hardware or software firewall, or anti-virus, then it may be that a TLS connection is established, but then trying to read the 1st message from the server gets blocked.  When this happens, the contents of the LastErrorText look like this.   (The LastErrorText for a successful connection is shown below.) […]