Microsoft KB Archive/102462

From BetaArchive Wiki

PRB: SHARE Causes "File Access Denied" When Opening Work Areas

ID: Q102462

2.50 2.50a 2.50b 2.60 WINDOWS kbprg kbprb

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6

SYMPTOMS

When you open several work areas in FoxPro for Windows, a "File Access Denied" error may occur. This error occurs with Microsoft Windows version 3.1, not with Microsoft Windows for Workgroups. If SHARE is loaded without any parameters, the number of databases that can be opened in the work areas in FoxPro for Windows is limited. If SHARE is not loaded, opening multiple databases proceeds as normal.

CAUSE

By default, the SHARE /F parameter, which is the number of bytes allocated for the MS-DOS storage area used to record file-sharing information, defaults to 2048. The /L parameter, which sets the number of files that can be locked at one time, defaults to 20.

RESOLUTION

If you must have SHARE loaded, add the /F:5120 and /L:500 parameters to the SHARE line. This will permit you to open more databases in work areas.

Additional reference words: FoxWin 2.50 2.50a files databases multiple workareas 2.50b 2.60 KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral

Keywords          : FxprgGeneral 
Version           : 2.50 2.50a 2.50b 2.60
Platform          : WINDOWS

Last Reviewed: April 30, 1996
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.