Multiple SLI_OPEN()s Can Cause SESSION_ALREADY_OPENLast reviewed: April 17, 1997Article ID: Q150513 |
The information in this article applies to:
SYMPTOMSWhen a multi-threaded LUA application issues more than one SLI_OPEN() before the first SLI_OPEN() returns, the result is the following:
SLI_OPEN response UNSUCCESSFUL - SESSION_ALREADY_OPEN primary return code: 0014 (LUA_UNSUCCESSFUL) secondary return code: 00000035 (LUA_SESSION_ALREADY_OPEN)This SLI_OPEN response will contain an LUA_luname that had not been opened using an SLI_OPEN(). NOTE: The LUA_luname field is part of the VCB (verb control block) for the SLI_OPEN() and is explained in the SNA Server “Programmer's Reference” on page 88.
CAUSEThere is a problem in the SNA Server SLI library's algorithm to match up an SLI application VCB with its owning session control block. This can cause the SLI library to complete the wrong SLI call if two SLI_OPENs are pending at the same time.
RESOLUTIONA update to the SNA Server SLI interface corrects this problem by properly matching the SLI application's verb control block with the correct session control block.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SNA Server versions 2.0, 2.10, 2.11, and 2.11.sp1. This problem was corrected in the latest Microsoft SNA Server 2.11 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):
S E R V P A C K |
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |