The information in this article applies to:
SUMMARY
The SNA Server 2.11 Windows 3.x client software includes support for the
IBM-compatible Enhanced PC Support APPC API interface, through a Microsoft
version of Ehnappc.dll. Both IBM-compatible and NetSoft-compatible versions
of Ehnappc.dll are shipped with SNA Server. The IBM-compatible version is
installed with the SNA Server Windows 3.x client, though the NetSoft-
compatible version must be manually copied from the SNA Server compact
disc, located in <cdrom>\Clients\Win3x\Ehnns\Ehnappc.dll.
MORE INFORMATIONThe following is a list of Enhanced PC Support error codes and corresponding SNA Server WINAPPC error codes, as returned by the SNA Server Ehnappc.dll interface. To troubleshoot the specific cause of the problem, SNA Server Windows 3.x client APPC, LU6.2 and internal traces should be captured. For instructions, see the following Knowledge Base article: Q123256 Enabling SNA Server Windows 3.x Client Traces0x0 (EHNAPPC_OK)
The verb executed successfully
0x1 (EHNAPPC_DEALLOCNORMAL)
The partner TP has deallocated the conversation without requesting
confirmation.
0x2 (EHNAPPC_PROGRAMERRNOTRUNCATION)
or
While in a SEND state, the partner TP (or partner LU) issued a
SEND_ERROR. The data was not truncated.
0x3 (EHNAPPC_PROGRAMERRTRUNCATION)
In a SEND state, after sending an incomplete logical record, the partner
TP issued SEND_ERROR. The local TP may have received the first part of
the logical record.
0x4 (EHNAPPC_PROGRAMERRPURGING)
or
The partner TP (or partner LU) issued SEND_ERROR while in
RECEIVE_PENDING, PENDING_POST, CONFIRM, CONFIRM_SEND, or
CONFIRM_DEALLOCATE state. Data sent to the partner program
may have been purged.
0x5 (EHNAPPC_RESOURCEFAILURERETRY) SNA Server does not return this error. 0x6 (EHNAPPC_RESOURCEFAILURENORETRY) Internal SNA client task table is full. Maximum number of tasks (10) are already running. Unable to register new task. 0x7 (EHNAPPC_UNSUCCESSFUL)
No data is immediately available from the partner TP.
0x8 (EHNAPPC_APPCBUSY)
The local TP has issued a call to APPC while APPC was processing
another call from the same TP. See Q137246 for another possible cause
for this problem.
or
The local TP issued a conversation verb while another conversation
verb was already outstanding. Only one outstanding conversation verb can
be issued at a time on any conversation.
or
The local TP issued a call while the calling thread is already
processing
a blocking call.
0x14 (EHNAPPC_PARMCHKINVALIDVERB) SNA Server does not return this error. 0x15 (EHNAPPC_PARMCHKINVALIDCONVERID)
The local TP specified an invalid conversation ID to APPC.
0x16 (EHNAPPC_PARMCHKBUFFERCROSSSEG) SNA Server does not return this error. 0x17 (EHNAPPC_PARMCHKTPNAMELENGTH)
The local TP specified an invalid transaction program ID to APPC.
0x18 (EHNAPPC_PARMCHKINVCONVERTYPE)
The local TP specified an invalid conversation type to APPC.
0x19 (EHNAPPC_PARMCHKBADSYNCLVLALLOC)
The local TP specified an invalid sync level to APPC.
0x1A (EHNAPPC_PARMCHKBADRETURNCTRL)
The local TP specified an invalid return control value to APPC.
0x1B (EHNAPPC_PARMCHKPIPTOOLONG)
The local TP specified a PIP data length value greater than 32767.
0x1C (EHNAPPC_PARMCHKBADPARTNERNAME)
The local TP specified an APPC mode name which is not defined in
SNA Server.
or
The local TP specified a partner LU alias which is not defined in
SNA Server.
0x1D (EHNAPPC_PARMCHKCONFNOTALLOWED)
The local TP tried to issue [MC_]CONFIRM in a conversation with
a synchronization level of AP_NONE.
0x1E (EHNAPPC_PARMCHKBADEALLOCTYPE)
The local TP specified a deallocation type which is not valid.
0x1F (EHNAPPC_PARMCHKPREPTORCVTYPE)
The local TP specified a ptr_type parameter which is not valid.
0x20 (EHNAPPC_PARMCHKBADFILLTYPE)
The local TP specified a fill parameter which is not valid.
0x21 (EHNAPPC_CHKRECMAXLEN) SNA Server does not return this error. 0x22 (EHNAPPC_PARMCHKUNKNOWNSECTYPE)
The local TP specified a security value which is not valid.
0x23 (EHNAPPC_PARMCHKRESFLDNOTZERO) SNA Server does not return this error. 0x28 (EHNAPPC_STATECHKNOTINCONFSTAT)
The local TP issued a SEND call though the conversation was
not in a SEND state, or the conversation was in a SEND state
and the local TP did not finish sending a logical record.
0x29 (EHNAPPC_STATECHKNOTINRECEIVE)
The local TP issued a RECEIVE call though the conversation
was in a RECEIVE state.
0x2A (EHNAPPC_STATECHKREQSNDBADSTAT)
The conversation was not in the allowed state when the local TP
issued this call.
0x2B (EHNAPPC_STATECHKSNDINBADSTATE)
The conversation was not in the allowed state when the local TP
issued this call.
0x2C (EHNAPPC_STATECHKSNDERRBADSTAT) SNA Server does not return this error 0x32 (EHNAPPC_ALLOCERRNORETRY)
The LU6.2 session being requested could not be activated due
to a permanent error condition, such as a configuration mismatch
between SNA Server and the remote system.
See the Knowledge Base article "Troubleshooting common APPC error codes" for more information about this error. or
The conversation terminated because of a permanent condition,
such as a session protocol error. The Windows NT application
event log should be reviewed to determine the cause of the error.
0x33 (EHNAPPC_ALLOCERRRETRY)
The LU6.2 session being requested could not be activated due
to a temporary error condition, such as a connection which is
not activating. See the Knowledge Base article "Troubleshooting
common APPC error codes" for more information about this error.
or
The conversation terminated because of a temporary error, such
as a dropped connection. Restart the TP to see if the problem
occurs again. If it does, the Windows NT application event log
should be reviewed to determine the cause of the error.
0x34 (EHNAPPC_ALLOCERRPGMNOTAVAILNR)
The partner LU rejected the allocation request because it was
unable to start the requested partner TP. This condition may
be temporary. The reason for the error may be logged on the
remote system.
0x35 (EHNAPPC_ALLOCERRTPNNOTRECOG)
The partner LU does not recognize the TP name specified in
the allocation request. Check the configuration of the remote
system.
0x36 (EHNAPPC_ALLOCERRPGMNOTAVAILR)
The partner LU rejected the allocation request because it was
unable to start the requested partner TP. This condition is
permanent, such as a configuration problem on the remote system.
The reason for the error may be logged on the remote system.
0x37 (EHNAPPC_ALLOCERRSECNOTVALID)
The user ID or password specified in the allocation request was not
accepted by the partner LU. Check that the user ID and password
were entered correctly, or confirm the user ID and password configured
on the remote system.
0x38 (EHNAPPC_ALLOCERRCONVTYP)
The partner LU or TP does not support the conversation type (Basic or
Mapped) specified in the allocation request.
0x39 (EHNAPPC_ALLOCERRPIPNOTALLOWED)
The allocation request specified PIP data, but either the partner TP
does not require this data, or the partner LU does not support it.
0x3A (EHNAPPC_ALLOCERRPIPNOTCORRECT)
The partner TP requires PIP data, but the allocation request specified
either no PIP data or an incorrect number of parameters.
0x3B (EHNAPPC_ALLOCERRSYNCHLEVEL)
The partner TP does not support the sync_level (AP_NONE or
AP_CONFIRM_SYNC_LEVEL) specified in the allocation request, or the
sync_level was not recognized.
0x46 (EHNAPPC_DEALLOCABENDPROGRAM)
or
or
The conversation has been deallocated for one of the following reasons:
0x47 (EHNAPPC_INSUFFICIENTMEMORY) SNA Server does not return this error. 0x48 (EHNAPPC_MEMORYALLOCERROR)
The local TP specified an invalid verb control block to APPC.
or
The operating system, network operating system, or SNA client software
returned an error to APPC while processing the APPC call from the
local TP.
or
The stack size of the local application is too small to execute the
APPC call. Increase the stack size of the application.
0x49 (EHNAPPC_TOOMANYCONVERSATIONS) SNA Server does not return this error. 0x4A (EHNAPPC_CONVTABLEFULL) SNA Server does not return this error. 0x4B (EHNAPPC_ROUTERNOTINSTALLED)
This indicates one of the following errors:
See the following Knowledge Base article for information on this error:
Q148359 SNA Server APPC Error: F004 AP_COMM_SUBSYSTEM_NOT_LOADED0x4C (EHNAPPC_ROUTERWRONGLEVEL) SNA Server does not return this error. 0x4D (EHNAPPC_PCWINNOTLOADED) SNA Server does not return this error. 0x4E (EHNAPPC_PCSWINOUTOFMEMORY) SNA Server does not return this error. 0x4F (EHNAPPC_INVALIDUSERIDLEN) SNA Server does not return this error. 0x50 (EHNAPPC_INVALIDPASSWORDLEN) SNA Server does not return this error. 0x51 (EHNAPPC_INVALIDLUNAME)
The SNA Server Enhanced Router is configured with a local LU
alias which is not defined in SNA Server. The Local LU alias
is configured in the following entry in WIN.INI:
where <LocalLUAlias> is the Local LU alias (without the "<" ">").
Make sure this Local LU alias is configured in SNA Server.
0x63 (EHNAPPC_UNDEFINED) This default error is returned by SNA Server for all other WINAPPC error conditions. Specific errors that fall into this category are:
Additional query words: 2.00 2.10 2.11
Keywords : prodsna |
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |