PRB: "File Access Denied" Using Grid or AutoFormat Builders

Last reviewed: August 10, 1995
Article ID: Q134465
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

One of the following two symptoms occurs:

  • Selecting the Style tab in the Grid Builder results in this error:

    Error #1705 in Getstyles (0): File access is denied.

    -or-

  • Calling the AutoFormat Builder results in this error:

    Error #1705 in Load (0): File access is denied.

    This error is followed by this information:

       'WBASTYLES' is not an array.
       Program:   wbcall
       Line: (0) wboName = CREATEOBJ(THIS.wbcName, &cParmstring)
          <Abort>  <Retry>  <Ignore>
    
    

CAUSE

The Wizards directory is Read-only. This may occur on an Administrative Installation when users are running Visual FoxPro from the Network and are calling the Builders, but they do not have Write or Create access to the directories.

WORKAROUND

The network administrator, or a user with Write and Create rights for the Visual FoxPro directories, should log on, start Visual FoxPro, and call the Grid and AutoFormat builders to create the tables that needed for these Builders. The tables need only be created once.

STATUS

This behavior is by design.

MORE INFORMATION

The Style tab of the Grid Builder attempts to create the following files in the Visual FoxPro Wizards directory:

   GRIDSTYL.DBF
   GRIDSTYL.FPT

The AutoFormat Builder attempts to create the following files in the Visual FoxPro Wizards directory:

   CTRLSTYL.DBF
   CTRLSTYL.FPT

Steps to Reproduce Behavior

Grid Builder Error:

  1. Install Visual FoxPro into a directory on a network drive. (For the purposes of this test, an administrative installation is not required.) Give users Read-Only rights to this directory.

  2. From a workstation, connect to the above directory, and start Visual FoxPro.

  3. On the File menu, click New and then Form.

  4. With the new form visible, select the Grid tool on the Form Controls Toolbar, and place the grid on the form.

  5. While the grid is still selected, select the Builder button on the Properties window.

  6. When the Grid Builder comes up, select the Style tab. Note that the described error occurs.

AutoFormat Builder Error:

  1. Install Visual FoxPro into a directory on a network drive. (For the purposes of this test, an administrative installation is not required.) Give users Read-Only rights to this directory.

  2. From a workstation, connect to the above directory, and start Visual FoxPro.

  3. Using a form that has at least one object on it, select the AutoFormat button on the Form Designer toolbar. Note that the described error occurs.


Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolBuilder


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: August 10, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.