在IIS 7上运行网站会显示错误 [英] running website on iis 7 it shows error

查看:87
本文介绍了在IIS 7上运行网站会显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在localhost上浏览我的应用程序时

本地主机/demo/Default.aspx

它显示mw以下错误.

when i rum my application on localhost
i.e.
localhost/demo/Default.aspx

it shows mw the following error.

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.
Detailed Error Information
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 File \\?\C:\inetpub\wwwroot\demo\web.config
Requested URL   http://localhost:80/demo/Default.aspx
Physical Path   C:\inetpub\wwwroot\demo\Default.aspx
Logon Method    Not yet determined
Logon User  Not yet determined
Config Source
   95:      <validation validateIntegratedModeConfiguration="false"/>
   96:      <modules>
   97:          <remove name="ScriptModule"/>
Links and More Information
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.





can any one help me out.

推荐答案

1.若要启动IIS管理器,请单击开始",在开始搜索"框中键入Inetmgr,然后在程序"列表中单击"Inetmgr".
2.展开本地计算机节点,双击"ISAPI筛选器",然后删除列出的所有ASP.NET筛选器. 3.通过使用打开或关闭Windows功能"向导,重新安装IIS 7.0的ASP.NET功能.

如果我误解了您的问题,请随时纠正我.
希望以上信息对您有所帮助.如果您还有其他顾虑,请告诉我.
1. To start IIS Manager, click Start, type Inetmgr in the Start Search box, and then click Inetmgr in the Programs list.
2. Expand the local computer node, double-click ISAPI Filters, and then remove all the ASP.NET filters that are listed.
3. Reinstall the ASP.NET feature of IIS 7.0 by using the Turn Windows Features On or Off wizard.

If i misunderstand your question, please feel free to correct me.
I hope the above information will be helpful. If you have more concerns, please let me know.


这篇关于在IIS 7上运行网站会显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆