Click here to Skip to main content
15,888,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i rum my application on localhost
i.e.
localhost/demo/Default.aspx

it shows mw the following error.

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

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900