DOCUMENT:Q244973 06-NOV-1999 [sna] TITLE :SNA Server Client Returns APPC Error 0001 0000015B PRODUCT :Microsoft SNA Server PROD/VER:WINDOWS:3.0 SP2,3.0 SP3,3.0 SP4,4.0,4.0 SP1,4.0 SP2,4.0 SP3 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft SNA Server, versions 3.0 SP2, 3.0 SP3, 3.0 SP4, 4.0, 4.0 SP1, 4.0 SP2, 4.0 SP3 ------------------------------------------------------------------------------- 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 article number below to view the article in the Microsoft Knowledge Base: Q150841 Troubleshooting Common APPC Error Codes Additional query words: ====================================================================== Keywords : Technology : kbAudDeveloper kbSNAServSearch kbSNAServ400 kbSNAServ300SP3 kbSNAServ400SP1 kbSNAServ400SP2 kbSNAServ400SP3 kbSNAServ300SP2 kbSNAServ300SP4 Version : WINDOWS:3.0 SP2,3.0 SP3,3.0 SP4,4.0,4.0 SP1,4.0 SP2,4.0 SP3 Issue type : kbinfo ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.