DOCUMENT:Q165225 13-JUN-2001 [sna] TITLE :AP_TP_Name_Not_Recognized with DBCS and Single Signon PRODUCT :Microsoft SNA Server PROD/VER:WINDOWS:3.0 OPER/SYS: KEYWORDS:kbnetwork ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft SNA Server, version 3.0 ------------------------------------------------------------------------------- SYMPTOMS ======== When allocating a 5250 conversation using a double byte character set (DBCS) code page and the single signon feature, the following advanced program-to-program communications (APPC) return code may result: Primary Return Code: 0003 AP_ALLOCATION_ERROR Secondary Return Code: 10086021 AP_TP_NAME_NOT_RECOGNIZED. The partner LU does not recognize the TP name specified in the allocation request. The following trace excerpt shows the TP name being 0x066F646E: APPC ---------------------------------------------- 17:43:27.20 APPC MC_ALLOCATE request APPC APPC Type:Sync VerbID:00001400 APPC APPC ---- Verb Parameter Block at address 0210FB54 ---- APPC 01000100 00000000 00000000 00000000 <................> APPC B86A1A00 08801B00 00000000 00000000 <.j..............> APPC 00000000 00000000 53313030 35444341 <........S1005DCA> APPC D8D7C3E2 E4D7D740 066F646E 40404040 <-.odn APPC 40404040 40404040 40404040 40404040 <@@@@@@@@@@@@@@@@> APPC 40404040 40404040 40404040 40404040 <@@@@@@@@@@@@@@@@> APPC 40404040 40404040 40404040 40404040 <@@@@@@@@@@@@@@@@> APPC 40404040 40404040 02000000 00000000 <@@@@@@@@........> APPC 00000000 E2C8E4C9 C3C8C940 4040E2C8 <....SHUICHI@@@SH> APPC E4C9C3C8 C9404040 00000000 00000000 APPC 00000000 00000000 00000000 00000000 <................> APPC 00000000 00000000 00000000 <............ > The following is the return from the remote system after the allocate was sent to the AS/400: APPC ---------------------------------------------- 17:43:40.25 APPC MC_RECEIVE_AND_WAIT response, result = ALLOCATION_ERROR APPC APPC Type:Sync VerbID:00004400 APPC APPC ---- Verb Parameter Block at address 0210FBE0 ---- APPC 0B000100 00030000 10086021 00000000 <..........`!....> APPC 00000000 28FC1002 00000000 00000000 <....(...........> CAUSE ===== This problem occurs when you use WideCharToMultiByte() API on DBCS platforms. RESOLUTION ========== A change was made to Sec400.dll so that the WideCharToMultiByte () API is not used to convert the EBCDIC TP name. STATUS ====== Microsoft has confirmed this to be a problem in SNA Server version 3.0. This problem was corrected in the latest Microsoft SNA Server 3.0 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces): S E R V P A C K Additional query words: ====================================================================== Keywords : kbnetwork Technology : kbAudDeveloper kbSNAServSearch kbSNAServ300 Version : WINDOWS:3.0 Issue type : kbbug Solution Type : kbfix ============================================================================= 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 2001.