OS/2 2.1 App File Locking Causes Trap000D

ID: Q109487


The information in this article applies to:
  • Microsoft LAN Manager, versions 2.2, 2.2a, 2.2b


SYMPTOMS

An application written to use OS/2 2.1 DosSFileLock functions for unlocking files causes a Trap000D on the workstation when unlocking files on a redirected drive. This does not occur when running an application that is unlocking files on the local workstation.


CAUSE

The OS/2 2.1 client redirector used uninitialized global variables instead of passed arguments in the FS_FILELOCKS function.


RESOLUTION

Obtain the corrected file "Netwksta.sys" from Microsoft Product Support Services.

When loading on an OS/2 2.1 workstation, you have to place a statement in the OS2VER file for NETWKSTA.SYS so that it is referenced as an OS/2 2.0 file.

To edit OS2VER use these steps:

  1. Use ATTRIB.EXE to remove the system/hidden/read-only attributes from the file.


  2. Edit OS2VER and add this line if it is not already there:
    
          2.0=netwksta.sys 


  3. Replace the system/hidden/read-only attributes.


  4. Reboot.



STATUS

This problem was fixed by CSD00.075, which is not included in the LAN Manager 2.2B patch. Contact Microsoft Product Support Services for more information on this fix.

Additional query words: 2.20 2.2a 2.2b

Keywords :
Version : :2.2,2.2a,2.2b
Platform :
Issue type :


Last Reviewed: November 11, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.