Add-Type PowerShell Error for ChilkatDotNet47.dll

Problem:   The following command: Add-Type -Path “C:\chilkat\ChilkatDotNet47-9.5.0-x64\ChilkatDotNet47.dll” results in the following errors when attempting to run in PowerShell: + Add-Type -Path”C:\chilkat\chilkatdotnet47-9.5.0-x64\ChilkatDotNet47.d … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo          : InvalidData : (Microsoft.Power…peCompilerError:AddTypeCompilerError) [Add-Type], Exception + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand Add-Type : Impossible d’ajouter un type. Des erreurs de compilation se sont produites. Au caractère C:\ProgramData\C1B2.ps1:1 : 1 + Add-Type -Path”C:\chilkat\chilkatdotnet47-9.5.0-x64\ChilkatDotNet47.d … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ […]

Chilkat v9.5.0.85 Release Notes

The previous version release notes: Chilkat v9.5.0.84 Release Notes The next version release notes: Chilkat v9.5.0.86 Release Notes Chilkat v9.5.0.85 Release Notes 26-Oct-2020 Cert: Added the ExtendedKeyUsage property. 4-Nov-2020 XmlDSigGen: Fixed problem when X509Type property includes “SubjectName” AND the signing certificate has a subject name that includes the ‘&’ char. 4-Nov-2020 TLS 1.3: Fixed the error “Unexpected key_share group” that […]

Chilkat v9.5.0.84 Release Notes

The previous version release notes: Chilkat v9.5.0.83 Release Notes The next version release notes: Chilkat v9.5.0.85 Release Notes Chilkat v9.5.0.84 Release Notes 17-Jul-2020 CSR: Added the AddSan method to allow for 1 or more Subject Alternative Names to be added to the CSR that is generated. 25-Aug-2020 Tar: Added the ClearDirRootsAndFiles method. 10-Sep-2020 Email: Fixed some email address parsing problems […]

GMail IMAP OAuth2 – A Walkthrough

This blog post covers from start to finish the process for getting a desktop application working with GMail using the IMAP protocol with OAuth2 authentication. Start here:  https://console.developers.google.com/apis/credentials (1) The first step is to create credentials.  Your app is a desktop application.  HOWEVER, you will be creating credentials as if your app is a web app. See this YouTube video […]

Apple Mail warning: Unable to Verify Message Signature

If Apple Mail displays the warning “Unable to verify message signature”, and when clicking details it says: The digital signature is incorrect. The message may have been tampered with or corrupted since signed by (sender’s name). the reason is due to a bug in Apple Mail (possibly introduced in a recent version of MacOSX). See https://apple.stackexchange.com/questions/343251/apple-mail-warning-unable-to-verify-message-signature “When Mail is set […]

Chilkat v9.5.0.83 Release Notes

The previous version release notes: Chilkat v9.5.0.82 Release Notes The next version release notes: Chilkat v9.5.0.84 Release Notes Chilkat v9.5.0.83 Release Notes 25-Mar-2020 SHA3: Added the SHA3 hash algorithms: sha3-224, sha3-256, sha3-384, sha3-512. The SHA3 hash algorithms may generally be used in any property or method of any Chilkat class where a hash algorithm is specified. 25-Mar-2020 MailMan: Added OAuth2 […]

Receiving a Webhook JSON POST in Classic ASP

Question: I need to setup a page in Classic ASP to serve as a webhook endpoint listener in Classic ASP The form product we are using (Paperform) posts the data to our endpoint as a JSON post payload. https://help.paperform.co/en/articles/2073207-how-to-use-webhooks Submission payload Webhooks POST a JSON payload on submission to the webhook URL. The JSON payload looks like the following: { “data”: […]

Using PeerBlock can Interfere with REST API’s running on AWS Lambda

A Chilkat customer uses Chilkat HTTP to send REST API requests to a popular IP Geolocation service.   The REST API requests worked a few times, but then started failing with this error information in Http.LastErrorText: ConnectFailReason: Connection rejected A few possible causes for a connection being rejected are: – A firewall (software or hardware), such as Windows Firewall, is blocking […]

Office365 SMTP Error: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;

Question: I’m trying to send email using SMTP via smtp.office365.com, and I get this error: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A001485, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:59020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:5E020000, 1.44866:F8000000, 16.55847:BC030000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140FFA8B1500001000000000, 20.50032:140FFA8B8517001000000000, 0.35180:F1030000, 255.23226:09000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:F1030000, 0.35250:0300C981, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:3A000000, 1.36674:32000000, 1.61250:00000000, 1.45378:3F000000, 1.44866:01000000, 16.55847:A6000000, […]

FoxPro Debugger Combined with Async Functions

Problem: A Chilkat FoxPro programmer was calling Rest.FullRequestSbAsync with a 3MB request.  It failed with a WSAECONNABORTED error message.  However, calling Rest.FullRequestSb works fine.  Why? Answer: When the async version of a method is called, Chilkat is starting a background thread to call the synchronous version of the method.  For example, the Async method returns a Task object.  When task.Run […]