可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
Are there any known issues with IIS 7.5? I'm getting the following error when I try to browse/start/view any page on the site.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration
data for the page is invalid.
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070021
Config Error This 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".
Config Source
97: </modules>
98: <handlers>
99: <remove name="WebServiceHandlerFactory-Integrated"/>
回答1:
Had a similar issue, ended up finding this article of use:
http://support.microsoft.com/kb/942055
basically the applicationHost.config had the handler section locked:
was
<section name="handlers" overrideModeDefault="Deny" />
i changed it to
<section name="handlers" overrideModeDefault="Allow" />
and it worked.
also worth checking that ALL the asp.net roles have been installed, see link text.
回答2:
This has solved my issue on Windows 7 64bit IIS 7.
回答3:
Using a text editor such as Notepad, open the applicationHost.config
file in the following location:
%windir%\system32\inetsrv\config\applicationHost.config
Basically, the applicationHost.config
had the handler section locked. It was
<section name="handlers" overrideModeDefault="Deny" />
changed it to
<section name="handlers" overrideModeDefault="Allow" />
and it works.
回答4:
I suspect that the majority of people receiving this error did not select enough check boxes in the iis feature selection in "Programs and Features" in the control panel's install.
Terrible error reporting IMO.
回答5:
The last answer gave me the answer, then it gave me another error, so you should check this one too
回答6:
This is comming due to asp.net not install in IIS for this,
Turn on Windows features on or off, iis feature selection in "Programs and Features" in the control panel's. Select IIS then "world wide web services"
then "Application Devlopment Features" then "ASP" and "ASP.NET"
回答7:
After fixing as above said We will get the following error
Error message when you visit a Web site that is hosted on IIS 7.0:
HTTP Error 403.14 - Forbidden.
To resolve this problem, use one of the following methods.
Method 1:To resolve this problem, follow these steps:
- Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand server name, expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click Directory Browsing.
- In the Actions pane, click Enable.
Method 2: To resolve this problem, follow these steps:
- Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand server name, expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click Default Document.
- In the Actions pane, click Enable.
- In the File Name box, type the name of the default document, and then click OK.
回答8:
HTTP Error 500.19 - Internal Server Error
This also happens if the .Net Framework Version is not correct or the Managed Pipeline Mode is not set properly.
回答9:
Was facing the same error. This solved my issue
http://blog.laksha.net/2009/08/http-error-50019-internal-server-error.html