Forums/Pastel Accounting/Pastel Partner and Pastel Xpress

Status 46 Access to the requested file is denied

Steve K
posted this on January 11, 2011 14:00

The MicroKernel returns this status code for the following reasons: The application opened a file in Read-only mode and tried to perform a Write operation on that file.If files that the product install tries to overwrite are locked by the operating system, install will flag these files to be overwritten upon system reboot. However, the Pervasive System Analyzer relational or transactional tests may fail or hang depending on the files locked by the operating system.

The application attempted to perform a Write operation on a file that is flagged read-only by the operating system.
When the application opened the file, it did not correctly specify the owner name required for updates.

(Workstations Only)
If a workstation engine user or task opens a file that a client machine has opened using a server MicroKernel, the MicroKernel returns this status code if the workstation engine user attempts to write to the file.

You can also delete the *.loc (~pvsw~.loc) file.
- Click on start > search > all files and folders
- Type ~pvsw~.loc and delete all files found
- Close the search screen
- Right click on the start button
- Left click on explore
- Double click on pastel version used
- Double click on pastel company where error occurred
- Click on CTRL+A so all data files are highlighted
- Right click on highlighted file
- Left click on properties
- Unselect the read only files
- Ensure changes to all files, folders and subfolders is selected and apply changes

Small business server:

-When you are registered for 5 users, and the 6th user try to log on, the server change the read-write rights to read-only
-Add more users on the server
-Change the attributes of the files to archive only
-Additional users with the appropriate access rights will enable the error to be resolved.