PRB: AppendChunk from ADO or RDS Doubles Binary Field Size

ID: Q200261


The information in this article applies to:
  • Active Server Pages
  • Microsoft Internet Information Server versions 4.0, 5.0
  • ActiveX Data Objects (ADO)


SYMPTOMS

When using AppendChunk from either ADO or RDS from scripting (JScript or Visual Basic® Scripting Edition) to update a binary field, the result is twice as large as the original.


CAUSE

In scripting, all datatypes are considered variant and therefore default to Unicode.


RESOLUTION

Call AppendChunk from within a COM object written in a language that supports datatypes other than variant.

Additional query words:

Keywords : kbADO kbASP kbGrpASP kbiis400 kbiis500
Version : WINDOWS:; winnt:4.0,5.0
Platform : WINDOWS winnt
Issue type : kbprb


Last Reviewed: December 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.