5250 Emulator Won't Connect Even Though Sessions Are Available (166875)
The information in this article applies to:
- Microsoft SNA Server 2.11
- Microsoft SNA Server 3.0
This article was previously published under Q166875 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SYMPTOMS
When connecting to an AS/400, the 5250 applet shows Not Connected in
the lower left corner. SNA Server shows that there are sessions
available for the LU-LU pair the 5250 applet is attempting to use.
However, some of these LUs on the AS/400 are in an Active - Detached
state, thereby preventing the request for conversation from succeeding.
The same thing will happen with other 5250 emulators. However, the message
displayed in the emulator may be different.
NOTE: There are various situations in which you might see a Not Connected
5250 status. This article documents one possible situation. For other
possible situations, see the following Microsoft Knowledge Base article:
150796 5250 Emulator Displays a BlackScreen Then Disconnects
CAUSE
The exact cause of why the AS/400 sometimes shows sessions in an Active -
Detached state is unknown.
WORKAROUND
To work around this problem, apply the fix referenced below, and then edit
the registry as follows.
NOTE: You must first apply the fix referenced below before editing the
registry.
WARNING: Using Registry Editor incorrectly can cause serious, system-wide
problems that may require you to reinstall Windows NT to correct them.
Microsoft cannot guarantee that any problems resulting from the use of
Registry Editor can be solved. Use this tool at your own risk.
- Start Registry Editor (Regedt32.exe or Regedit.exe, as appropriate for
your version of Windows NT).
- Go to the following key in the registry:
HKEY_LOCAL_ MACHINE\SYSTEM\CurrentControlSet\Services\SnaServr\
Parameters
- On the Edit menu, click Add Value and use the following entry:
Value Name: SessionLimitMargin
Data Type: REG_SZ
This registry entry artificially lowers the number of post cnos
negotiation by the value specified. Therefore, if the negotiated session
limit for an LU-LU-MODE triplet is 8 and SessionLimitMargin is 2, the
SNA Server service node will only start 6 sessions on the triplet.
- Exit Registry Editor.
This will work around the problem where SNA Server thinks it has sessions
available and the AS/400 does not.
STATUS
Microsoft has confirmed this to be a problem in SNA Server versions 2.11
and 3.0. This problem was corrected in the latest SNA Server version 3.0
U.S. Service Pack. For information on obtaining this Service Pack, query
on the following word in the Microsoft Knowledge Base (without the
spaces):
Modification Type: | Major | Last Reviewed: | 2/20/2004 |
---|
Keywords: | kbbug kbfix kbnetwork KB166875 |
---|
|