This occurs due to the STACKS line in the CONFIG.SYS file. The usual default stacks statement is:
STACKS=9,256
To fix this, simply increase the stacks statement as follows:
STACKS=64,512
This will solve your NetBEUI problem. By including STACKS=64,512 in your config.sys file you are allocating more memory than you really need.
This article was published in the 27 May 1997 "Information Alley".