Some Issues of IIS 7.0

Error Summary

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

ModuleIIS Web Core NotificationBeginRequest HandlerNot yet determined Error Code0x80070021 Config ErrorThis configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

 

appcmd解决这个问题的command line:                                                                                                                               appcmd.exe unlock config "web site name" -section:system.webServer/Handler -commitPath:apphost

 

AppCmd.exe is located in the %systemroot%\system32\inetsrv\ directory. Because it is not path of the PATH automatically, you need to use the full path to the executable when executing commands like in "%systemroot%\system32\inetsrv\AppCmd.exe list sites". Alternatively, you can manually add the inetsrv directory to the path on your machine so that you can access AppCmd.exe directly from any location.

posted on 2009-04-16 10:33  yaksea  阅读(784)  评论(0编辑  收藏  举报