Microsoft KB Archive/249816

= APPC App Fails with Primary RC = F004, Secondary RC = 00000000 =

Article ID: 249816

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft SNA Server 4.0
 * 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

-



This article was previously published under Q249816



SYMPTOMS
On the TP_STARTED call, an APPC application may fail and the following error message may occur:

Primary Return Code = F004 (AP_COMM_SUBSYSTEM_NOT_LOADED)

Secondary Return Code = 00000000 (no applicable subcode)

The APPC Programmer's Guide in the online SDK documentation describes the F004 error as follows:

A required component could not be loaded or has terminated while processing the verb. Thus, communication could not take place. Contact the system administrator for corrective action.



CAUSE
This error can be caused by the application calling an incorrect version of the Wappc32.dll file. This file is installed with SNA Server in the Sna\System directory.



RESOLUTION
If there is a duplicate Wappc32.dll file on the computer in the \WINNT\System32 directory for example, delete or rename it.



MORE INFORMATION
In one customer instance, there were two versions of the Wappc32.dll file on the system because the IBM version was installed in the \WINNT\System32 directory when the customer installed the IBM emulator program.

Note: There are other issues that can cause the F004 error with different secondary return codes. For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

148359 SNA Server APPC Error: F004 AP_COMM_SUBSYSTEM_NOT_LOADED

150841 Troubleshooting Common APPC Error Codes

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: KB249816

-

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

© Microsoft Corporation. All rights reserved.