This configuration section cannot be used at this path.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/28/2011 5:54:24 PM
Gravatar
Total Posts 8

This configuration section cannot be used at this path.

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". 

Hi all,

I am getting the above error message.

I am using: mojoportal-2-3-6-2-mssql-net40-deploymentfiles.zip

I have SQL Server 2008 Developer Edition with SP installed and configured.  I also have Visual Studio 2010 installed.

Windows 7 32-bit clean install.

I have .NET 3.5 and .NET 4.0 installed on my machine.  The ATI graphics software required .NET 2.0 installed (I think .NET 3.5 includes .NET 2.0).

I have followed the video on:

http://www.mojoportal.com/manual-installation-in-iis-75-with-mssql.aspx

I have also tried changing the application pool to using .NET 4.0 and restarted the application pool and the web site.

Can't get it working.

Any help greatly appreciated.

Thanks,

Shao


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 \\?\E:\mojoPortalDeploy\wwwroot\web.config
Requested URL http://localhost:80/
Physical Path E:\mojoPortalDeploy\wwwroot
Logon Method Not yet determined
Logon User Not yet determined
Config Source
1021:     <!-- Handlers for IIS 7.0 Integrated mode -->
1022:     <handlers>
1023:       <!-- This is causing errors on some Win 2008 installations
 

 

3/1/2011 9:05:49 AM
Gravatar
Total Posts 18439

Re: This configuration section cannot be used at this path.

These kinds of web.config conflicts can occur when you have more than one .NET app and one is running in the root and one is running in a folder beneath the root.

http://www.mojoportal.com/developer-faq.aspx

You can learn how to mitigate these issues by reading the links in the FAQ.

Hope it helps,

Joe

3/1/2011 9:37:20 AM
Gravatar
Total Posts 8

Re: This configuration section cannot be used at this path.

Hi Joe,

Thanks for that.  I have read the FAQ and I also don't have 2 .NET applications running.  At least there is only one website running under IIS.

I have also seen your post about getting around it with a location tag, but I can't see an example in the thread and I can't find one by Googling - possibly because I don't know what words to Google to get what I need.

Could you please point me in the right direction (e.g. Google link).

Cheers,

Shao

3/1/2011 12:43:37 PM
Gravatar
Total Posts 8

Re: This configuration section cannot be used at this path.

Okay, I have added the location tag now.

I only have one application and it is the root application.

I am still getting the error message.

What else could it be?

Thanks.

3/1/2011 2:03:41 PM
Gravatar
Total Posts 8

Re: This configuration section cannot be used at this path.

Okay, I think I've got it working.

In IIS 7.5 I didn't enable ASP.NET.

Once I enabled ASP.NET it corrupted the .NET framework, so you have to apply this:

http://www.gotknowhow.com/articles/fix-bad-module-managedpipelinehandler-in-iis7

%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

Once you've done that, it may create new Application Pools and will disable your own Application Pools, so you need to enable them.

After that it works.

Cheers,

Shao

You must sign in to post in the forums. This thread is closed to new posts.