Skip to content

Chilkat Tech Notes

Chilkat Software Tech Notes

    October 11, 2024

    Returning Binary Data from ActiveX to SQL Server varbinary(max)

    The error -2147211494 (hex 0x80040202) in SQL Server when using “sp_OAMethod” typically indicates a type mismatch or invalid data type issue, particularly when interacting with COM objects that return binary data. The Chilkat ActiveX returns a SAFEARRAY of VT_UI1, which causes the problem explained below.  The solution is to instead look for the Chilkat method that returns the binary data as […]

    SQL Server 0 5 min read

    Blogroll

    • * Release Notes
    • Chilkat Binary Encodings
    • Chilkat Character Encodings
    • Chilkat Home
    • Example Code
    • Generate Chilkat Code from Postman
    • How to Determine FTP Connection Settings
    • How To Register ActiveX DLLs
    • MSVC Runtimes for .NET Assemblies
    • Never Handle Non-Text Binary Data as a String
    • Online XML Signature Validators
    • Reference Documentation
    • SOAP WSDL to Chilkat Code
    • Socket Programming Must-Know Concepts
    • StackOverflow (Chilkat Software)

    Tags

    ActiveX asp async asynchronous C# callbacks Delphi email Encryption error messages events exchange server FTP GMail HTTP IMAP IOS Java Linking MIME oauth2 Office365 pfx PHP pop3 port-forwarding regsvr32 release notes RSA SFTP smartcard SMTP socket SSH SSL TLS tunnel upload vb6 VBScript VC++ x64 xades XML zip

      Copyright ©2025 Chilkat Tech Notes . All rights reserved. Powered by WordPress & Designed by Bizberg Themes