This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by defaulthttp://forums.asp.net/t/1220987.aspx/1?This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultWed, 07 Apr 2010 13:35:38 -040012209872178041http://forums.asp.net/p/1220987/2178041.aspx/1?This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultThis configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default <p><strong><font color="#000066">I don't get this error when I run my default.aspx page using the built in VS web server (VS 2008)</font></strong></p> <p><strong><font color="#000066">&nbsp;</font></strong><strong><font color="#000066">I do get this error when I load my localhost\default.aspx in my .NET 3.5 Web application on my Vista Ultimate Box using IIS (not the built in VS web server):</font></strong></p> <h2><i>HTTP Error 500.19 - Internal Server Error</i></h2> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"> <p><b><font face="Verdana">Description:</font></b> The requested page cannot be accessed because the related configuration data for the page is invalid. </p> <p><b><font face="Verdana">Error Code:</font></b> 0x80070021 </p> <p><b><font face="Verdana">Notification:</font></b> BeginRequest </p> <p><b><font face="Verdana">Module:</font></b> IIS Web Core </p> <p><b><font face="Verdana">Requested URL:</font></b> http://localhost:80/ </p> <p><b><font face="Verdana">Physical Path:</font></b> C:\www\Projects\3.5 VS 2008 Beta\Elbalazo\Web </p> <p><b><font face="Verdana">Logon User:</font></b> Not yet determined </p> <p><b><font face="Verdana">Logon Method:</font></b> Not yet determined </p> <p><b><font face="Verdana">Handler:</font></b> Not yet determined </p> <p><b><font face="Verdana">Config Error:</font></b> 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=&quot;Deny&quot;), or set explicitly by a location tag with overrideMode=&quot;Deny&quot; or the legacy allowOverride=&quot;false&quot;. </p> <p><b><font face="Verdana">Config File:</font></b> \\?\C:\www\Projects\3.5 VS 2008 Beta\Elbalazo\Web\web.config </p> <b><font face="Verdana">Config Source:</font></b> <table class="" width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td class=""><pre class="prettyprint"><pre> 170: &lt;/modules&gt;</pre> 171: &lt;handlers&gt; 172: &lt;remove name=&quot;WebServiceHandlerFactory-Integrated&quot; /&gt; <pre></pre></pre></TD></TR></TBODY></TABLE><A href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,19,0x80070021,6000" mce_href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,19,0x80070021,6000"><A href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,19,0x80070021,6000" mce_href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,19,0x80070021,6000"> <P><B><FONT face=Verdana color=#000000>More Information...</FONT></B> </A>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. <HR width="100%" color=silver SIZE=1> <P><B><FONT face=Verdana>Server Version Information:</FONT></B> Internet Information Services 7.0. </P> <P mce_keep="true"><STRONG><FONT color=#000066>The handlers section is talking about this in my web.config which I believe is there by default when you create a new web application in the .NET 3.5 framework:</FONT></STRONG></P><pre class="prettyprint"> <SPAN class=cmt>&lt;!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --&gt;</SPAN> &lt;<SPAN class=tag>system.webServer</SPAN>&gt; &lt;<SPAN class=tag>validation</SPAN><SPAN class=attr> validateIntegratedModeConfiguration=</SPAN><SPAN class=attrv>"false"</SPAN> /&gt; &lt;<SPAN class=tag>modules</SPAN>&gt; &lt;<SPAN class=tag>add</SPAN><SPAN class=attr> name=</SPAN><SPAN class=attrv>"ScriptModule"</SPAN><SPAN class=attr> preCondition=</SPAN><SPAN class=attrv>"integratedMode"</SPAN><SPAN class=attr> type=</SPAN><SPAN class=attrv>"System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"</SPAN> /&gt; &lt;/<SPAN class=tag>modules</SPAN>&gt; &lt;<SPAN class=tag>handlers</SPAN>&gt; &lt;<SPAN class=tag>remove</SPAN><SPAN class=attr> name=</SPAN><SPAN class=attrv>"WebServiceHandlerFactory-Integrated"</SPAN> /&gt; &lt;<SPAN class=tag>add</SPAN><SPAN class=attr> name=</SPAN><SPAN class=attrv>"ScriptHandlerFactory"</SPAN><SPAN class=attr> verb=</SPAN><SPAN class=attrv>"*"</SPAN><SPAN class=attr> path=</SPAN><SPAN class=attrv>"*.asmx"</SPAN><SPAN class=attr> preCondition=</SPAN><SPAN class=attrv>"integratedMode"</SPAN><SPAN class=attr> type=</SPAN><SPAN class=attrv>"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"</SPAN> /&gt; &lt;<SPAN class=tag>add</SPAN><SPAN class=attr> name=</SPAN><SPAN class=attrv>"ScriptHandlerFactoryAppServices"</SPAN><SPAN class=attr> verb=</SPAN><SPAN class=attrv>"*"</SPAN><SPAN class=attr> path=</SPAN><SPAN class=attrv>"*_AppService.axd"</SPAN><SPAN class=attr> preCondition=</SPAN><SPAN class=attrv>"integratedMode"</SPAN><SPAN class=attr> type=</SPAN><SPAN class=attrv>"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"</SPAN> /&gt; &lt;<SPAN class=tag>add</SPAN><SPAN class=attr> name=</SPAN><SPAN class=attrv>"ScriptResource"</SPAN><SPAN class=attr> preCondition=</SPAN><SPAN class=attrv>"integratedMode"</SPAN><SPAN class=attr> verb=</SPAN><SPAN class=attrv>"GET,HEAD"</SPAN><SPAN class=attr> path=</SPAN><SPAN class=attrv>"ScriptResource.axd"</SPAN><SPAN class=attr> type=</SPAN><SPAN class=attrv>"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"</SPAN> /&gt; &lt;/<SPAN class=tag>handlers</SPAN>&gt; &lt;<SPAN class=tag>defaultDocument</SPAN>&gt; &lt;<SPAN class=tag>files</SPAN>&gt; &lt;<SPAN class=tag>clear</SPAN> /&gt; &lt;<SPAN class=tag>add</SPAN><SPAN class=attr> value=</SPAN><SPAN class=attrv>"default.aspx"</SPAN> /&gt; &lt;<SPAN class=tag>add</SPAN><SPAN class=attr> value=</SPAN><SPAN class=attrv>"index.aspx"</SPAN> /&gt; &lt;/<SPAN class=tag>files</SPAN>&gt; &lt;/<SPAN class=tag>defaultDocument</SPAN>&gt; &lt;/<SPAN class=tag>system.webServer</SPAN>&gt;</pre>&nbsp; <p><strong><font color="#000066">Initially I thought this problem was because I needed to change overrideModeDefault=&quot;Deny&quot; to overrideModeDefault=&quot;Allow&quot; so I changed all instances of this to Allow in my C:\Windows\System32\inetsrv\config\applicationHost.xml file on my Vista Ultimate machine.&nbsp; That made this error go away but then the second error stated that a handler that is mapped in my web.config has a problem.</font></strong></p> <p class="MsoNormal" style="margin:0in 0in 0pt"><span style="color:blue; line-height:115%; font-family:'Courier New'"></span></p> <strong><font color="#000066">I then&nbsp;get&nbsp;this second error:</font></strong> <h2><i>HTTP Error 404.3 - Not Found</i></h2> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"> <p><b><font face="Verdana">Description:</font></b> The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed. </p> <p><b><font face="Verdana">Error Code:</font></b> 0x80070032 </p> <p><b><font face="Verdana">Notification:</font></b> ExecuteRequestHandler </p> <p><b><font face="Verdana">Module:</font></b> StaticFileModule </p> <p><b><font face="Verdana">Requested URL:</font></b> http://localhost/Default.aspx </p> <p><b><font face="Verdana">Physical Path:</font></b> C:\www\Projects\3.5 VS 2008 Beta\Elbalazo\Web\Default.aspx </p> <p><b><font face="Verdana">Logon User:</font></b> Anonymous </p> <p><b><font face="Verdana">Logon Method:</font></b> Anonymous </p> <p><b><font face="Verdana">Handler:</font></b> StaticFile </p> <p><b><font face="Verdana">Most likely causes:</font></b> </p> <ul> <li>It is possible that a handler mapping is missing. By default, the static file handler processes all content. </li><li>The feature you are trying to use may not be installed. </li><li>The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.) </li></ul> <p><b><font face="Verdana">What you can try:</font></b> </p> <ul> <li>In system.webServer/handlers: </li><li>Ensure that the expected handler for the current page is mapped. </li><li>Pay careful attention to preconditions (e.g. runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool. </li><li>Pay careful attention to typographical errors in the expected handler line. </li><li>Please verify that the feature you are trying to use is installed. </li><li>Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe. <ol> <li>Open a command prompt and change directory to %windir%\system32\inetsrv. </li><li>To set a MIME type, use the following syntax: appcmd set config /section:staticContent /&#43;[fileExtension='string',mimeType='string'] </li><li>The variable fileExtension string is the file name extension and the variable mimeType string is the file type description. </li><li>For example, to add a MIME map for a file which has the extension &quot;.xyz&quot;, type the following at the command prompt, and then press Enter: </li><li>appcmd set config /section:staticContent /&#43;[fileExtension='.xyz',mimeType='text/plain'] </li></ol> Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them. </li><li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li></ul> <a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=404,3,0x80070032,6000"> <p><b><font face="Verdana" color="#000000">More Information...</font></b> </a>This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files. </p> <hr width="100%" color="silver" size="1"> <p><b><font face="Verdana">Server Version Information:</font></b> Internet Information Services 7.0. </p> <p>&nbsp;</p> <p><strong><font color="#000066">I have still no clue how to resolve this after trying to look at the web.config and IIS.</font></strong></font></p> </td> </tr> </tbody> </table> </font> 2008-02-17T04:45:17-05:002178061http://forums.asp.net/p/1220987/2178061.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>I have not tried these steps but take a look at <a href="http://blog.donnfelker.com/CommentView,guid,1ff098d5-bba0-491e-b13c-e0a42d95f999.aspx"> http://blog.donnfelker.com/CommentView,guid,1ff098d5-bba0-491e-b13c-e0a42d95f999.aspx</a></p> 2008-02-17T05:27:15-05:002180537http://forums.asp.net/p/1220987/2180537.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>I stated in my initial post that I did that...Please re-read...thanks.</p> <p>Also I confirmed that this happens to any web project I create in VS 2008.&nbsp; I tried just a simple test project and tried to run http://localhost/, same error message in it's out of box default.aspx page for this test project.&nbsp;</p> 2008-02-18T18:54:12-05:002180627http://forums.asp.net/p/1220987/2180627.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>Good God, I swear I had selected everything in IIS when enabling it but didn't...missed some of the asp.net stuff.&nbsp; Duh</p> <p>http://www.netomatix.com/Development/IIS7_404Error.aspx&nbsp;</p> 2008-02-18T19:44:55-05:002604582http://forums.asp.net/p/1220987/2604582.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>Received&nbsp;this same issue after installing IIS 7 on Vista Home Premium.&nbsp; To correct error I changed the following values located in the applicationHost.config file located in Windows\system32\inetsrv.</p> <p>Change all of the following values located in section &lt;configSections&gt; --&gt; &lt;sectionGroup name=&quot;system.webServer&quot;&gt;</p> <ul> <li>&lt;div mce_keep=&quot;true&quot;&gt;&lt;section name=&quot;handlers&quot; overrideModeDefault=&quot;Deny&quot; /&gt; <strong> change&nbsp;this value from &quot;Deny&quot; to &quot;Allow&quot;</strong>&lt;/div&gt; </li><li>&lt;div mce_keep=&quot;true&quot;&gt;&lt;section name=&quot;modules&quot; allowDefinition=&quot;MachineToApplication&quot; overrideModeDefault=&quot;Deny&quot; /&gt; <strong>change&nbsp;this value from &quot;Deny&quot; to &quot;Allow&quot;</strong>&lt;/div&gt;</li></ul> 2008-09-06T13:51:30-04:002677128http://forums.asp.net/p/1220987/2677128.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>ddeputy,</p> <p>Thank you!&nbsp; That's exactly what I needed.</p> 2008-10-11T19:48:22-04:002755590http://forums.asp.net/p/1220987/2755590.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>&nbsp;Great! Thanks did the trick for me too</p> <p>&nbsp;</p> <p>regards</p> <p>Liam <br> </p> 2008-11-19T15:06:45-05:002814880http://forums.asp.net/p/1220987/2814880.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>In windows 2008, where the config should be (applicationhost.config) for handlers allow??? Is there any difference in windows 2008?</p> 2008-12-17T08:42:29-05:002859385http://forums.asp.net/p/1220987/2859385.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <font color="#008000" size="2"><font color="#008000" size="2"> <p>&nbsp;</p> <p>%windir%\system32\inetsrv\config\.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; thats the location</p> </font></font> 2009-01-10T21:52:20-05:003488049http://forums.asp.net/p/1220987/3488049.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>I did exactly &nbsp;what is written here,but I still have the second Error &quot;The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.&quot;</p> <p>Is there anybody,who knows how to fix it???</p> <p>Thanks.</p> 2009-11-01T17:23:07-05:003488050http://forums.asp.net/p/1220987/3488050.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p></p> <blockquote><span class="icon-blockquote"></span> <h4>ddeputy</h4> <p>Received&nbsp;this same issue after installing IIS 7 on Vista Home Premium.&nbsp; To correct error I changed the following values located in the applicationHost.config file located in Windows\system32\inetsrv.</p> <p>Change all of the following values located in section &lt;configSections&gt; --&gt; &lt;sectionGroup name=&quot;system.webServer&quot;&gt;</p> <ul> <li>&lt;div&gt;&lt;section name=&quot;handlers&quot; overrideModeDefault=&quot;Deny&quot; /&gt; <strong>change&nbsp;this value from &quot;Deny&quot; to &quot;Allow&quot;</strong>&lt;/div&gt; </li><li>&lt;div&gt;&lt;section name=&quot;modules&quot; allowDefinition=&quot;MachineToApplication&quot; overrideModeDefault=&quot;Deny&quot; /&gt; <strong>change&nbsp;this value from &quot;Deny&quot; to &quot;Allow&quot;</strong>&lt;/div&gt;</li></ul> <p></p> </blockquote> <p></p> <p></p> <p>I did exactly &nbsp;what is written here,but I still have the second Error &quot;The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.&quot;</p> <p>Is there anybody,who knows how to fix it???</p> <p>Thanks.</p> <p>P.S. I use Windows 7</p> 2009-11-01T17:23:36-05:003490147http://forums.asp.net/p/1220987/3490147.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p></p> <blockquote><span class="icon-blockquote"></span> <h4>mikehac</h4> <p></p> <p>I did exactly &nbsp;what is written here,but I still have the second Error &quot;The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.&quot;</p> <p>Is there anybody,who knows how to fix it???</p> <p>Thanks.</p> <p>P.S. I use Windows 7</p> <p></p> </blockquote> <p></p> <p>mikehac,</p> <p>I was able to resolve this issue in my own Windows 7 webserver using the Microsoft&nbsp;Web Installer Platform&nbsp;(<a href="http://www.microsoft.com/web/downloads/platform.aspx"><strong>http://www.microsoft.com/web/downloads/platform.aspx</strong></a>).&nbsp; </p> <ul> <li>From the GUI or finding it in the IIS MMC manager, Click on the Web Platform tab </li><li>Then click on the Customize link below the Frameworks and Runtimes options.&nbsp; </li><li>Select ASP.NET and ASP.NET MVC 1.0 (if necessary) </li><li>and then click install.&nbsp; </li></ul> <p>Should resolve your issue.&nbsp; You can also probably do this without using the Web Installer Platform, but this was specifically the way I was able to resolve the same problem.</p> <p>&nbsp;</p> <p>Regards</p> 2009-11-02T20:23:17-05:003554984http://forums.asp.net/p/1220987/3554984.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>Thanks from me too. been looking around&nbsp;to solve this issue for&nbsp;quite long.&nbsp;</p> 2009-12-08T23:45:52-05:003574526http://forums.asp.net/p/1220987/3574526.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>yes&nbsp;this is working</p> <p><a href="http://www.microsoft.com/web/downloads/platform.aspx">http://www.microsoft.com/web/downloads/platform.aspx</a></p> <p>&nbsp;</p> <p>&nbsp;</p> <p><strong>the microsoft web platform installer 2.0&nbsp;solution provided about is working , thanks to ngarvey</strong></p> <p>&lt;------------------------------------------------------------&gt;</p> <p>I was able to resolve this issue in my own Windows 7 webserver using the Microsoft&nbsp;Web Installer Platform&nbsp;(<a href="http://www.microsoft.com/web/downloads/platform.aspx"><strong>http://www.microsoft.com/web/downloads/platform.aspx</strong></a>).&nbsp; </p> <ul> <li>From the GUI or finding it in the IIS MMC manager, Click on the Web Platform tab </li><li>Then click on the Customize link below the Frameworks and Runtimes options.&nbsp; </li><li>Select ASP.NET and ASP.NET MVC 1.0 (if necessary) </li><li>and then click install.&nbsp; </li></ul> <p>Should resolve your issue.&nbsp; You can also probably do this without using the Web Installer Platform, but this was specifically the way I was able to resolve the same problem.</p> <p>&lt;------------------------------------------------------------&gt;</p> <p>&nbsp;</p> 2009-12-19T19:06:48-05:003590961http://forums.asp.net/p/1220987/3590961.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>this&nbsp;worked for me too&nbsp;</p> <p><a href="http://www.microsoft.com/web/downloads/platform.aspx">http://www.microsoft.com/web/downloads/platform.aspx</a></p> <p>&nbsp;</p> <p>thanks </p> 2009-12-31T06:41:39-05:003599228http://forums.asp.net/p/1220987/3599228.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>I had the same problem.I reinstalled ASP.NET from command prompt.</p> <p>Follow the steps:</p> <p>1. Goto command prompt</p> <p>2. goto C:\Windows\Microsoft.NET\Framework64\v2.0.50727 and execute aspnet_regiis -i</p> <p>Thanks.</p> <p>&nbsp;</p> 2010-01-05T13:35:21-05:003728346http://forums.asp.net/p/1220987/3728346.aspx/1?AWESOME+AWESOME. <p>When will Microsoft simplify this??? i felt like i was giving everybody permissions, then your link points out more configuration&nbsp;is required for your pc, like allowing .Net development.&nbsp; what??? </p> <p>i guess this is life-time employment for MS engineers and us developers.&nbsp; ugh.&nbsp;</p> 2010-03-12T16:27:21-05:003772392http://forums.asp.net/p/1220987/3772392.aspx/1?Re+This+configuration+section+cannot+be+used+at+this+path+This+happens+when+the+section+is+locked+at+a+parent+level+Locking+is+either+by+defaultRe: 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 <p>You need to go to Control Panel &gt; Programs &gt; Turn Windows Features on or off </p> <p>Then navigate to Internet Information Services &gt; World Wide Web Services &gt; Application Development Features&nbsp; </p> <p>and tick ASP.NET. This adds the relevant mappings to handle ASP.NET extensions correctly ad I believe is what using the Web Platform Installer is essentially doing for you. This worked for me on Windows 7 x64 Professional running IIS 7.5<br> </p> 2010-04-07T13:35:38-04:00