Microsoft KB Archive/71055

From BetaArchive Wiki

PRB: NetServerEnum Error Going into SAF ID Number: Q71055

1.10 1.11 4.20 OS/2

Summary:

SYMPTOMS When using SAF on a DOS workstation on IBM’s Lan Server version 1.3 and OS/2 EE version 1.3, either of the following errors may occur:

  Error calling NETSERVERENUM

-or-

  Error 10010, Severity 9, OSerr -1

CAUSE These errors occur when the workstation is unable to see any mailslots. These errors occur not only with SAF’s list of SQL Servers, but also when the workstation attempts a NET SEND.

RESOLUTION To correct these problems, modify the DOS workstation IBMLAN.INI file to include the following four lines:

  /nms:5
  /nvs:4
  /ndb:4
  /api

These parameters are not automatically included in the workstation installation; you must add them manually.

You must also check two other dependent parameters and, if necessary, edit them to successfully correct these problems:

  /nbs:1K  (must be 1K or greater if /api is used.)
  /bbs:2K  (must be greater than /nbs:??.)

These changes allow a DOS workstation to handle mailslots correctly and see SQL Server’s NetServerEnum broadcast.