Microsoft KB Archive/109487

= OS/2 2.1 App File Locking Causes Trap000D =

Article ID: 109487

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft LAN Manager 2.2 Standard Edition
 * Microsoft LAN Manager 2.2a
 * Microsoft LAN Manager 2.2b

-



This article was previously published under Q109487



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:

 Use ATTRIB.EXE to remove the system/hidden/read-only attributes from the file.  Edit OS2VER and add this line if it is not already there:      2.0=netwksta.sys  Replace the system/hidden/read-only attributes. 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: KB109487

-

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

© Microsoft Corporation. All rights reserved.