PRB: "Cannot Open the Browser Database File" on Novell ServerLast reviewed: July 17, 1997Article ID: Q97990 |
1.00 1.50 1.51 1.52
WINDOWS
kb3rdparty kberrmsg kbprb
The information in this article applies to:
SYMPTOMSAn attempt to open the Source Browser .BSC file associated with a project located on a Novell NetWare file server in Microsoft Visual Workbench (VWB) version 1.0 may cause VWB to display the following message:
Cannot open the browser database file. Share is not installed or is not active for this drive. CAUSEThe user does not have the necessary access rights to the root directory of the drive on which the .BSC file is stored.
RESOLUTIONPerform one of the following two steps to work around this situation:
MORE INFORMATIONThe Microsoft Source Browser attempts to create a hidden file in the root directory of the drive that contains a project. This file is named $$MSVC$$.SHR. For example, if your file server is mapped to drive R:, and a project is located in the R:\WORK\PROJECT directory, the Source Browser attempts to create its file in the R:\ directory. If the user does not have the necessary rights in the server root directory, the Source Browser cannot create the hidden file and it generates the message above. These rights include the ability to search for, create, read from, and write to files. If the user does not have the right to erase files from the root directory, the Source Browser may be able to successfully open the file once. However, because the Source Browser cannot delete the file in the root directory, subsequent attempts to open the hidden file for writing fail. To determine the rights a user has in a particular directory, use the Novell RIGHTS command. To determine what rights a user has in the current directory, enter the following at the MS-DOS command prompt:
RIGHTSThe RIGHTS command generates output similar to the following:
SERVER_NAME\SYS:WORK\PROJECT Your effective rights for this directory are [ RWC ] May Read from File. (R) May Write to File. (W) May Create Subdirectories and Files. (C)One method to work around insufficient access rights in the root directory involves mapping the directory that contains the project as the root directory for the project drive. The Novell MAP ROOT command is provided for this purpose. For example, to map the WORK\PROJECT directory as the root of drive R:, enter the following at the MS-DOS command prompt:
MAP ROOT R:=SYS:\WORK\PROJECTThe "SYS:" in the command line represents the volume on the file server on which the project is installed. Novell volumes are similar to MS-DOS disk partitions (C:, D:, and so on). To determine the correct volume, examine the output of the RIGHTS command, as shown above. After you enter the MAP ROOT command shown above, Novell uses the WORK\PROJECT directory as the root directory for drive R:. In other words, when the current directory is R:\, the WORK\PROJECT directory on the SYS: volume is actually the current directory. As long as the project is opened in the Visual Workbench from the R: drive, when the Source Browser creates its hidden file in the root directory of the R: drive, it actually creates the file in the WORK\PROJECT directory on the SYS: volume. If the user has the necessary rights in this directory, the file creation and deletion operations succeed. Because the project directory contains the source code files, the user should have the right to search for, create, read from, write two, and erase files in that directory. You can also define a drive mapping as a root drive using the Microsoft Windows File Manager in Microsoft Windows for Workgroups version 3.1. To do this, the Windows for Workgroups installation must include Novell NetWare support. To create a drive mapping in File Manager, perform the following eleven steps:
For more information on granting rights and mapping drives on a NetWare network, please refer to your Novell NetWare documentation.
|
Additional reference words: 1.00 1.50 1.51 1.52
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |