This problem occurs when user wants to access a file on which user has no access rights. To resolve this issue provide the access rights to everyone on the directory in which that file resides.
- Go to Directory.
- Right click on the directory select property and go to security tab.
- Click on edit button and then add button.
- Write “Everyone” in the textbox.
- Click on check Names.
- Give full control rights and click on OK button.