[MC_]ALLOCATE May Return Sense 00000805 Instead of 08050000

Last reviewed: March 11, 1998
Article ID: Q182267
The information in this article applies to:
  • Microsoft SNA Server, versions 3.0, 3.0SP1, 3.0SP2, and 4.0

SYMPTOMS

If a Win32 APPC program calls [MC_]ALLOCATE and the request fails on an Intel-based server, in some instances the returned sense_data may not indicate a valid sense code. For example, if session limits are exceeded, APPC returns a sense code of 0x00000805, instead of 0x08050000.

CAUSE

The SNA Server APPC interface (Wappc32.dll) is not properly formatting the 4-byte sense_code returned parameter on Intel systems. Because APPC is implemented in a platform-independent fashion and Intel systems store double-word values in byte-inversed order in memory, the APPC DLL is not properly formatting the sense code before returning to the APPC application.

STATUS

Microsoft has confirmed this to be a problem in SNA Server 3.0 (all service packs) and SNA Server 4.0. A supported fix is now available for SNA Server 4.0, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Product Support Services for more information.

Keywords          : prodsna snaappc
Version           : WINDOWS:3.0,3.0SP1,3.0SP2,4.0
Platform          : WINDOWS
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.

Last reviewed: March 11, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.