Microsoft KB Archive/288566

= SLI Application May &quot;Hang&quot; If Asynchronous Verb Returns Synchronously =

Article ID: 288566

Article Last Modified on 2/19/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 4.0 Service Pack 1
 * Microsoft SNA Server 4.0 Service Pack 2
 * Microsoft SNA Server 4.0 Service Pack 3
 * Microsoft SNA Server 4.0 Service Pack 4

-



This article was previously published under Q288566



SYMPTOMS
When you are running a session-level interface (SLI) application designed for using asynchronous verb completion against the SNA Server/Host Integration Server 2000 versions listed at the beginning of this article, the SLI application may &quot;hang&quot; indefinitely.



CAUSE
The SLI Library incorrectly sets the parameter lua_flag2.async, indicating that the logical units for applications (LUA) interface verb completed asynchronously, even if in fact it completed synchronously.



SNA Server 4.0
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft SNA Server version 4.0 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.

Host Integration Server 2000
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack

The English version of this fix should have the following file attributes or later:

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Host Integration Server 2000 Service Pack 1.



MORE INFORMATION
The following annotated SNA Server LUA API trace (CLIAPIx.ATF) statement shows an example of the problem described in this article.

NOTE: See the LUA Programmer's Guide in the SNA Server or Host Integration Server 2000 SDK for details on the format of the following SLI verb.

SLI_BID response OK - OK Verb Parameter Block at address 004884C0 52005000 00000000 00000000 06000000     **** 00000000 00000000 00000000 00000000    <................> 40426D00 00000C00 00000000 2D000000     <@Bm.........-...> 2C000901 022C0231 001F0141 00000000    <,....,.1...A....> ^^ 00000000 40404040 40404040 40404040    <....@@@@@@@@@@@@>

The SLI_BID response incorrectly set the lua_flag2.async value (denoted by ^^ in the trace) to 0x'41', indicating asynchronous verb completion. However, this particular verb completed synchronously, causing the primary return code to be set to 0000, OK (denoted by ****), rather then 0030, IN_PROGRESS. Therefore, the application waits indefinitely for final completion and never submits a subsequent SLI_RECEIVE command to read the data.

Additional query words: HIS 2000

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB288566

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.