Knowledge Base |

# Server Gets Incomplete NCB Message Running Named Pipe App

Article ID: 110668

Article Last Modified on 9/30/2003

APPLIES TO

- Microsoft LAN Manager 2.2 Standard Edition

This article was previously published under Q110668

## SYMPTOMS

A custom named pipes program, when transferring large amounts of data with raw block write commands, sometimes causes the workstation to hang with a NET 805 error. The server would also record a NetBIOS Net5306 error "An incomplete NCB has been received."

## CAUSE

Analysis discovered an invalid jump in the code encountered when raw mode data transfer is initiated on a named pipe. The jump causes the server to return an invalid response to the WriteRAW request and fail to hang out a buffer for the rest of the data. The workstation fails to recognize this SMB response and continues to send the rest of the data. The data is received in a normal receive buffer, and is registered as an incomplete NCB because it has no SMB header information.

## RESOLUTION

This has been corrected in the LAN Manager redirector, NETWKSTA.SYS, which is included in the latest US Service Pack for LAN Manager. For information on obtaining this update, query on the following word in the Microsoft Knowledge Base:

`LMPATCH`

Additional query words: 2.20 2.2 hang namepipe rawwrite

Keywords: KB110668