APPC/CPI-C Application Does Not Use APPC LU With Auto-activated Sessions (306876)
The information in this article applies to:
- Microsoft Host Integration Server 2000
This article was previously published under Q306876 SYMPTOMS
An Advanced Program-to-Program Communication (APPC) or Common Programming Interface for Communications (CPI-C) application may fail to allocate a conversation even though there are auto-activated (or pre-allocated) LU 6.2 sessions available for the remote APPC LU and APPC mode specified by the application.
The specific errors returned by the application may vary when this occurs. The following are typical APPC and CPI-C errors returned to the application.
If this occurs with an APPC application, the [MC_]ALLOCATE fails with the
following error message:
primary_rc = 0x0003 (AP_ALLOCATION_ERROR)
secondary_rc = 0x00000005 (AP_ALLOCATION_FAILURE_RETRY)
A CPIC application fails with the following error message:
rc = 20 (CM_PRODUCT_SPECIFIC_ERROR)
In addition, the following event may also be logged in the Application Event log:
Event ID: 93
Source: SNA APPC Application
Description: APPC local conversation start failed:
Primary_rc = 0003
Secondary_rc = 00000005
TP_ID = <value>
Dest TP name = <value>
LU alias = <value>
PLU alias = <value>
Mode name = <value>
FQ PLU name = <value>
NOTE: These particular errors are fairly common APPC and CPI-C errors, so they may occur for reasons other then the one described here.
APPC or CPI-C applications that had been functioning correctly when the application was obtaining LU 6.2 sessions through a Microsoft SNA Server 3.0 or 4.0 system may start experiencing this problem when the SNA Server systems are upgraded to Host Integration Server 2000 because this particular problem does not exist in previous versions of SNA Server.
CAUSE
The SNA Server service (Snaservr.exe) in Host Integration Server 2000 does not properly initialize a variable under some circumstances. This prevents the SNA Server service from selecting the "best" local APPC LU for an LU 6.2 (APPC) session request.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
328152 How to Obtain the Latest Host Integration Server 2000 Service Pack
The English version of this fix should have the following file attributes or later:
|
Snaservr.exe | 08/31/2001 | 03:51PM | NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Host Integration Server 2000 Service Pack 1.
Modification Type: | Minor | Last Reviewed: | 3/23/2005 |
---|
Keywords: | kbBug kbfix kbHostIntegServ2000preSP1fix kbHostIntegServ2000SP1fix KB306876 kbAudDeveloper |
---|
|