PRB: "File Access Denied" Error Message When Writing to File

Last reviewed: October 18, 1996
Article ID: Q89156
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 5.0
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5x, 2.6, 2.6a
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a

SYMPTOMS

When you try to write to a file, the action fails and a "File Access Denied" (error 1705) error message is displayed.

RESOLUTION

The steps you must use to resolve this problem depends on the network product you are using.

For a LANtastic network, do the following:

  1. Check the files and locks on the SHARE command in the AUTOEXEC.BAT file. The following are the recommended settings:

          share /f:5120 /l:500
    

  2. Verify that the .EXE, .RSC, and .OVL files are marked as read- only. If necessary, change the security using the MS-DOS ATTRIB command (for example, ATTRIB +R <filename>).

  3. Ensure that the CONFIG.FP file on the server redirects the OVERLAY= to a directory other than the directory containing the FOXPRO.EXE file.

For a Novell network, do the following:

  1. Check the user's privileges.

  2. Have the user log in as a supervisor and repeat the operation.

  3. Ensure that the .EXE, .ESO and .ESL files are marked as read-only. If necessary, change the security using the MS-DOS ATTRIB command (ATTRIB +R <filename>).

LANtastic is manufactured by Artisoft, Inc. and Novell products by Novell, Inc., both vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.


Additional reference words: 5.00 5.00 VFoxWin 3.00 FoxWin FoxDos 2.00 2.50
2.50a 2.50b 2.60 2.60a novel
KBCategory: kbprg kbprb
KBSubcategory: FxnetworkNetware


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