500.19 error with IIS7.5

て烟熏妆下的殇ゞ 提交于 2019-11-29 03:59:19

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 edited the applicationHost.config but was still getting the error.

Completely forgot that after you edit applicationHost.config, you have to restart IIS.

Chris

As per my answer to this similar issue;

Try unlocking the relevant IIS configuration settings at server level, as follows:

  1. Open IIS Manager
  2. Select the server in the Connections pane
  3. Open Configuration Editor in the main pane
  4. In the Sections drop down, select the section to unlock, e.g. system.webServer > defaultPath
  5. Click Unlock Attribute in the right pane
  6. Repeat for any other settings which you need to unlock
  7. Restart IIS (optional) - Select the server in the Conncetions pane, click Restart in the Actions pane

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 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.

Berdin Ege Turgut

I solved problem by doing this:

  1. Click "Start button"
  2. In the search box, enter "Turn windows features on or off"
  3. In the features window, Click: "Internet Information Services"
  4. Click: "World Wide Web Services"
  5. Click: "Application Development Features"
  6. Check (enable) the features. I checked all but CGI.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!