Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharing violation error

Status
Not open for further replies.

austinms

Programmer
Feb 14, 2001
6
IN
I am using an application which has been developed in MS Foxpro 2.6a (DOS). My network OS is MS Windows NT 4. The problem I am facing is the application throws a "Sharing violation reading Drive N:" (N: being the netwrok drive) everytime I am exiting the application.

I have tried changing the attribute of the EXE/ESL and resource files.

Can anyone suggest a solution?
 
I found this faq in google, but is no longer in the site of microsoft:

How do I resolve the "Sharing Violation Reading Drive" error?
Updated Tuesday, February 06, 1996
Follow these six troubleshooting steps:
1. Verify that each user has a FOXUSER.DBF file.
2. Verify that the CONFIG.FP file on the server includes the EXCLUSIVE=OFF statement. If EXCLUSIVE=OFF is used, database files can be shared.
3. Verify that the CONFIG.FP file on the server includes the RESOURCE=OFF statement, or that each user's FOXUSER.DBF and FOXUSER.FPT files are marked read-only.
4. Verify that the FOXPRO.EXE, FOXPROX.EXE, and FOXR.EXE files are marked read-only.
5. If you use the Distribution Kit to create a stand-alone application (.EXE), verify that the .EXE file is marked read-only.
6. If you create compact executable files, make the .ESL and .ESO support files read-only.
7. In some cases, the MS-DOS SHARE program must be loaded on the server and on each workstation. Specify the /F and /L parameters as follows:
SHARE /F:5120 /L:500.
Last Reviewed: Tuesday, February 13, 2001

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top