Error Message "Access Is Denied" Renaming Directory

Last reviewed: January 26, 1996
Article ID: Q130589
The information in this article applies to:
  • Microsoft Windows 95

SYMPTOMS

When you rename a directory on a Microsoft Windows NT server or work- station from a Windows 95 client, you may receive the following error message:

   Error Renaming File

   Cannot rename <directory name>: Access is denied.
   Make sure the disk is not full or write-protected
   and that the file is not currently in use.

 -or-

   Cannot rename <directory name>: There has been a
   sharing violation. The source or destination file
   may be in use.

The directory is correctly renamed even though you receive this error message.

CAUSE

This error message is generated if there is an open file in the directory you are trying to rename. The server is holding on to the open file's handle, in case the file needs to be opened again shortly. You receive an error message because the file appears to be in use.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


KBCategory: kbinterop kbnetwork kberrmsg
KBSubcategory: wpp95 win95 diskmem msnets
Additional reference words: 95


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: January 26, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.