Using TEMP Directory on Server Causes Sharing Violation

Last reviewed: September 9, 1996
Article ID: Q140386
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT Workstation versions 3.5 and 3.51
  • Microsoft Windows NT Server versions 3.5 and 3.51
  • Microsoft LAN Manager version 2.2c
  • Microsoft Windows for Workgroups version 3.11

SUMMARY

Workstations that set the TEMP or TMP variable to a network drive may experience sharing violation error messages while running some applications.

MORE INFORMATION

Most applications that allow editing existing data files, create a temporary copy of the file in a location described by the TEMP or TMP environmental variable that is set on the workstation. If this variable points to a common directory on the server that is used by multiple users concurrently, a sharing violation message occurs whenever a an application attempts to create a temporary file with the same name as an existing temporary file.


KBCategory: kbinterop
KBSubcategory: ntgeneral
Additional reference words: prodnt 2.20 3.10 3.11 3.50 3.51



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 9, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.