Microsoft KB Archive/180789

= Cancelling APPC RECEIVE_AND_POST Causes SNA Event ID 95 =

Article ID: 180789

Article Last Modified on 3/21/2005

-

APPLIES TO


 * Microsoft SNA Server 2.0
 * Microsoft SNA Server 2.1
 * Microsoft SNA Server 3.0
 * Microsoft SNA Server 2.11 Service Pack 1
 * Microsoft SNA Server 2.11 Service Pack 2
 * Microsoft SNA Server 3.0 Service Pack 4
 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 3.0 Service Pack 2
 * Microsoft SNA Server 3.0 Service Pack 3
 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 4.0 Service Pack 1
 * Microsoft SNA Server 4.0 Service Pack 2

-



This article was previously published under Q180789



SYMPTOMS
The following event may occur when an APPC application cancels a [MC_]RECEIVE_AND_POST function by calling TP_ENDED:  Source: SNA APPC Application Event ID: 95 Description: APPC given bad event handle or callback address 00000006 The following SNA Server APPC Application traces were captured when this problem occurred:   APPC  --- APPC MC_RECEIVE_AND_POST request APPC APPC Type:Sync                                  VerbID:00084000 APPC APPC  Verb Parameter Block at address 0138F34C APPC 0D000100 00000000 00000000 00000000     <................> APPC 00A87700 80A97700 00000100 00000800     <.yw..zw.........> APPC 00000000 58270900 94020000 00000000     <....X'..m.......> APPC --- APPC MC_RECEIVE_AND_POST response, result = OK   APPC APPC Type:Sync                                  VerbID:00084000 APPC APPC  Verb Parameter Block at address 0138F34C APPC 0D000100 00000000 00000000 00000000     <................> APPC 00A87700 80A97700 00040101 00000400     <.yw..zw.........> APPC 00000000 6EAA7700 94020000 00000000     <....n.w.m.......> APPC --- APPC TP_ENDED request APPC APPC Type:Sync                                  VerbID:00028000 APPC APPC  Verb Parameter Block at address 0138F090 APPC 13000000 00000000 00000000 00000000     <................> APPC 00A87700 01000000                       <.yw..... >  APPC  --- APPC ***UNKNOWN VERB*** response, result = DEALLOC_ABEND APPC APPC Type:Async   Method:Post   Hwnd:0138F398   VerbID:00084000 APPC APPC  Verb Parameter Block at address 0138F34C APPC 20F43801 0005                           < 48... >  APPC  ---



CAUSE
The APPC application was deallocating the verb control block (VCB) that it had passed to the [MC_]RECEIVE_AND_POST function prior to calling TP_ENDED. This caused an error when the APPC interface attempted to set the event handle indicating final completion of the [MC_]RECEIVE_AND_POST VCB.



RESOLUTION
The APPC application should maintain the state of the RECEIVE_AND_POST VCB until the function has fully completed.

Keywords: kbprb KB180789

-

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

© Microsoft Corporation. All rights reserved.