I am getting the following error, even after I unlock my website. Any reasons?
HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed becaus
I edited the applicationHost.config but was still getting the error.
Completely forgot that after you edit applicationHost.config, you have to restart IIS.
As per my answer to this similar issue;
Try unlocking the relevant IIS configuration settings at server level, as follows:
I encountered this before and it had something to do with a security setup. Check the web application folder permissions and make sure the following users and groups are included "ASPNET", "IIS_IUSRS", "IUSR".
Don't know if this will work for you or not, but worth a try I suppose.
I had a similar Lock violation
error due to defaultPath
. The following fixed it for me:
The only thing that it works is to go and remove manually "defaultPath" from "lockAttributes" attribute of xml node in the file %windir%\System32\inetsrv\config\applicationHost.config
You'll have to decide for yourself whether editing applicationHost.config
is too dirty.
I got this message after sharing my folder with a coworker. The folder had a lock on it (in Windows explorer). I had to release the lock (by granting a permission to all authenticated users, for further instructions view https://www.howtogeek.com/howto/17117/remove-the-lock-icon-from-a-folder-in-windows-7/). Once the lock has been removed, the error disappeared.
I solved problem by doing this: