Microsoft KB Archive/222940

From BetaArchive Wiki
Knowledge Base

SNA 5250 Print Service (PPV5250) May Log Event 4097 In Error

Article ID: 222940

Article Last Modified on 2/23/2004


  • Microsoft SNA Server 4.0

This article was previously published under Q222940


When using the SNA Print Server to support print emulation to an AS/400 or S/36, Event 4097 may be logged even when no error has actually occurred. For example:

Event ID: 4097
Source: PPV5250
Type: Error
Receive and Wait verb has completed with primary return code Dealloc Normal.

This event was logged when testing the SNA Print Server against an IBM S/36, when the S/36 print writer for the print device was not started.


The SNA Print Service logs this error whenever one of its APPC function calls completes when AP_OK is not the primary return code. However, in some cases, an APPC primary return code of AP_DEALLOC_NORMAL (0x0009) may not indicate an actual error condition.


To resolve this problem, obtain the latest service pack for SNA Server version 4.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

215838 How to Obtain the Latest SNA Server Version 4.0 Service Pack


Microsoft has confirmed that this is a problem in SNA Server 4.0, 4.0 SP1 and 4.0 SP2. This problem was first corrected in SNA Server version 4.0 Service Pack 3.

Keywords: kbbug kbfix kbsna400sp3fix kbqfe KB222940