Microsoft KB Archive/133721

= SNA Error 505: The Host Terminated the Connection Used... =

Article ID: 133721

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft SNA Server 2.1, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 2.11 Service Pack 1, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 2.11 Service Pack 2, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 4.0, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 3.0 Service Pack 2, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 3.0 Service Pack 3, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 3.0 Service Pack 4, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 4.0, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 4.0 Service Pack 1, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 4.0 Service Pack 2, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 4.0 Service Pack 3, when used with:
 * Microsoft Windows NT 4.0

-



This article was previously published under Q133721



SYMPTOMS
When you use Microsoft Network Client for MS-DOS and Microsoft SNA Server DOS Client, the 3270 terminal emulator may display communication status 505 and then stop responding (hang).



CAUSE
The incorrect computer name is called up during network initialization. SNA DOS Client traces show the following:   ... ... ... ... Remote box? : ...  ... ... ... ... STAB entry for box  where:  is the Server name in SNA Server Admin,  is the incorrectly specified computer name of SNA client, and is the service table entry number.

This situation occurs when both the MS-DOS-based and Windows-based clients are in the path. For example, your AUTOEXEC.BAT file contains the following:

PATH C:\WINDOWS;C:\NET;C:\DOS;C:\;

NET INITIALIZE

NET START

In this case, the Windows for Workgroups version of NET.EXE is called first. The Windows for Workgroups version of NET.EXE uses C:\WINDOWS\SYSTEM.INI, instead of C:\NET\SYSTEM.INI. This causes the error to occur.

The SYSTEM.INI contains the following entry for the SNA Client's computer name:

[Network]

ComputerName=



RESOLUTION
Use one of the following two methods to ensure the correct version of NET.EXE is used:  Specify the complete path in the AUTOEXEC.BAT file. For example:

C:\NET\NET INITIALIZE

C:\NET\NET START

-or- Remove Windows from the Path statement. For example:



PATH C:\NET;C:\;

NET INITIALIZE

NET START

</ul>

Additional query words: HIS 2000prodsna client dos applet computer name

Keywords: kbnetwork KB133721

-

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

© Microsoft Corporation. All rights reserved.