Microsoft KB Archive/244973

= SNA Server client returns APPC error 0001 0000015B =

Article ID: 244973

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft SNA Server 3.0 Service Pack 2
 * Microsoft SNA Server 3.0 Service Pack 3
 * Microsoft SNA Server 3.0 Service Pack 4
 * 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
 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1

-



This article was previously published under Q244973



SYMPTOMS
When you try to establish a connection to an AS/400 with the APPC security check box enabled in the SNA Manager Subdomain Security folder, an SNA Server 5250 client may return the following APPC error:

primary_rc = X'0001' (AP_PARAMETER_CHECK)

secondary_rc = X'0000015B' (AP_BAD_PARTNER_LU_ALIAS)

This can also happen with an independent LU 6.2 connection to a host. The primary APPC return code is (0001) and the secondary return code is (0000015B). This error also appears in the display portion of the LU-LU test when you use the APPC session viewer in SNA Manager.

This error is returned when the user does not have authority to establish a conversation over the Remote APPC LU being requested by the APPC or CPI-C application (this error can also occur if the application is requesting a Remote APPC LU that is not configured on an SNA Server computer).



WORKAROUND
To verify whether or not APPC security is enabled, check the properties of the SNA subdomain, by clicking the Security tab. If the APPC security check box is checked, then the user must be configured to have permissions to the Local and Remote APPC LU under the configured users folder. The other option is to turn off APPC security.



MORE INFORMATION
This following example is a sample of the output when you run the LU-LU test with APPC security enabled in the APPC Session Viewer:

TP_Started primary rc: 0H


 * Allocate Failed ***

Allocate Primary RC : 1H

Allocate Secondary RC : 15BH

Please check the application event logs for further details on why the allocate failed.

The Partner LU Alias is incorrectly configured. Check session configuration.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

150841 Troubleshooting common APPC error codes

Keywords: kbinfo KB244973

-

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

© Microsoft Corporation. All rights reserved.