DOCUMENT:Q253102 13-JUN-2001 [sna] TITLE :COMTI Returns ADO Recordset That Cannot Be Sorted PRODUCT :Microsoft SNA Server PROD/VER:WINDOWS:4.0 SP2,4.0 SP3 OPER/SYS: KEYWORDS:kbSNA400sp4fix kbSNA400PreSP4fix ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft SNA Server, versions 4.0 SP2, 4.0 SP3 - Microsoft COM Transaction Integrator for CICS and IMS, versions 4.0 SP2, 4.0 SP3 ------------------------------------------------------------------------------- SYMPTOMS ======== A recordset that contains strings cannot be sorted when it is returned by COM Transaction Integrator (COMTI). When you attempt to sort the recordset, the client application displays the following error message: Execution error '-2147217824 (80040e60)': Unable to open requested order CAUSE ===== In SNA Server versions 4.0 Service Pack 2 (SP2) and later, the string's data type is coerced to adLongVarWChar, which makes the recordset unsortable. Previous to SP2, the data type is coerced to adVarWChar. RESOLUTION ========== To resolve this problem, obtain the latest service pack for SNA Server 4.0. For additional information, please see the following article in the Microsoft Knowledge Base: Q215838 How to Obtain the Latest SNA Server Version 4.0 Service Pack STATUS ====== Microsoft has confirmed this to be a problem in Microsoft SNA Server, versions 4.0 SP2, 4.0 SP3, Microsoft COM Transaction Integrator for CICS and IMS, versions 4.0 SP2, 4.0 SP3. This problem was first corrected in SNA Server 4.0 Service Pack 4. Additional query words: ====================================================================== Keywords : kbSNA400sp4fix kbSNA400PreSP4fix Technology : kbAudDeveloper kbSNAServSearch kbCOMTISearch kbCOMTI400SP2 kbCOMTI400SP3 kbSNAServ400SP2 kbSNAServ400SP3 Version : WINDOWS:4.0 SP2,4.0 SP3 Issue type : kbbug Solution Type : kbfix ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.