Maximizer error message:
File In Use
Maximizer is attempting to open a file that is already held open by another application or background process.
This error message typically appears in conjunction with error code 46 and is usually a result of one workstation in the network that was configured incorrectly.
This error also appears as a result of insufficient access rights for the user attempting to open a file and files marked read-only.
Answer
Delete the Gateway locator file
If you are using Maximizer 7 or later, and you encounter this error, search for and delete all ~PVSW~.LOC files on your computer and reset the Gateway computer.
1. Search for all ~PVSW~.LOC files on your computer
Windows 2000/XP
a. Choose Start > Search > For Files or Folders
b. Type in ~PVSW~.LOC and click "Search Now"
Windows 98/NT
a. Choose Start > Find > Files or Folders
b. Type in ~PVSW~.LOC and click "Find Now"
2. Once all the ~PVSW~.LOC files are listed, highlight all of them and delete them
3. Reset the Gateway
Please click on the following link for instructions on how to set up a permanent Gateway computer:
Setting up a permanent Gateway computer
Read-Only Files enabled
The quickest way to resolve this issue, if an incorrectly configured workstation is the cause, is to verify that all workstations are configured appropriately. Check the registry settings of all Maximizer workstations. Another possible solution is to verify the rights of the user accessing the database directory. Contact the network administrator or network engineer to resolve user-rights issues.
Read-only files:
1. In Windows Explorer, locate the file
2. Right-click on the file and select Properties
3. Uncheck/Disable the Read-only attribute and click OK
Also, verify that all Maximizer workstations use the same version of Btrieve. In Maximizer, choose Help - About Maximizer. Btrieve Version will indicate with version of Btrieve you have. All workstations MUST have the same version of Btrieve or error code 46 will appear during a Maximizer session.
Novell NetWare:
If you are using Novell NetWare, consider the following to resolve your problems:
- In NetWare 4.x, check the Maximum Number of Concurrent Sessions (Novell 4.x). In Windows, access the NetWare Administrator, and right-click on User's Name, then choose Properties. Verify that the Maximum Number of Concurrent Sessions is set to Unlimited.
- In NetWare 3.x, run Syscon, and select User Info. Verify that Maximum Number of Logins is 8 or more.
- For security purposes, if you are accessing Maximizer data files on a NetWare server using the Btrieve for NetWare Requester, the workstation uses the name of the user logged into the workstation. Therefore, regardless of whether you are logged into the NetWare server or have NetWare Runtime server support enabled, the access rights that you have are the access rights associated with the user name with which you logged into the workstation/domain. If the user name is not valid or does not have sufficient rights, you'll receive a "File in Use" message trying to access your Maximizer data. Log in to NetWare using a user ID that has sufficient rights to access the Maximizer database. Contact your network or database administrator for information if you do not know the correct user ID.
- In NetWare 4.x, the Microsoft NDS Workstation client may not be up to date. You can download the latest version of the Microsoft NDS Workstation client from the Microsoft web site
http://www.microsoft.com/.
Windows NT/2000
In Windows NT 4/2000, if the database is stored on a drive/partition employing NTFS, copy the database to a FAT drive/partition, then copy it back to the NTFS drive/partition and removing all permissions on this database directory.
More information:
Search this knowledge base for the article on Btrieve Registry Keys for information on changing and modifying registry settings in the Registry Editor.