Could not use "; file already in use
Symptoms: When trying to start the Sentinel web page, you get the error: “The database is currently locked by the Sentinel service because the right permissions haven’t been set for it.”
Cause: Verify this by stopping Sentinel:
- Go to Windows Services (Start —> Settings —> Control Panel —> Administrative Tools —> Services).
- Stop the Sentinel service by right clicking Sentineland selecting the Stop option.
- Refresh the Sentinel web page. It should load without the problem.
Resolution 1:
- Make sure the service is running. If you stopped it, start it again (in Windows Services, select Sentinel and click Start)
- Open File Explorer and navigate to C:\Inetpub\wwwroot\sentinel\App_Data\.
- Right click Sentinel.mdb and click Properties.
- Click the Security tab. If you don’t see a Security tab, close the Properties window, and from the Tools menu, select Folder Options. Click OK, confirm, and go back to the folder. Right click Sentinel.mdb and select Properties. This time, you should see a Security tab.
- Select the Security tab and click Add.
- In the textbox, type Everyone and click OK.
- Click Everyone and select the checkbox Full Control under Allow. It automatically marks all other checkboxes under Allow. Click OK.
- Repeat these actions with Sentinel.ldb.
Resolution 2:
If the previous steps did not resolve the problem, do this:
- Open IIS Manager and expand the master server node (the Servername node).
- Under Web Sites —> Default Web Site, right click Sentineland select Permissions.
- Click Everyone and select the checkbox Full Control under Allow.