500.19 error with IIS7.5

后端 未结 6 1964
没有蜡笔的小新
没有蜡笔的小新 2020-12-16 18:13

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

相关标签:
6条回答
  • 2020-12-16 18:42

    I edited the applicationHost.config but was still getting the error.

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

    0 讨论(0)
  • 2020-12-16 18:47

    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
    0 讨论(0)
  • 2020-12-16 18:50

    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.

    0 讨论(0)
  • 2020-12-16 18:57

    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.

    0 讨论(0)
  • 2020-12-16 19:02

    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.

    0 讨论(0)
  • 2020-12-16 19:05

    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.
    0 讨论(0)
提交回复
热议问题