Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 498231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:51:31+00:00 2026-05-13T05:51:31+00:00

I have an ASP.net 1.1 application. In a sub-folder, I’ve installed blogengine.net, which is

  • 0

I have an ASP.net 1.1 application.

In a sub-folder, I’ve installed blogengine.net, which is a 2.0 app.

The folder is set to be an application and is using the proper framework.

It works…except for authentication.

The issue is inheritence from the web.config in the root application.

The common fix for this issue is to use ‘clear’ in your nested app’s config file for each thing you want to reset.

<httpModules>
    <clear/>
</httpModules>

The problem is that ‘clear’ does not appear to be allows within authentication tags:

<authentication mode="Forms">
    <clear/>
    <forms... rest of my child app's settings for authentication...>
</authentication>

Doing that gives me a syntax error.

Anyone know of a way to get this working? I need to prevent the root app’s authentication info in web.config from being inherited within the child application.

UPDATE: per curious_geek’s answer, one option is to modify the root config to not allow inheritance. However, my understanding is that will also block the system.config properties. Is that usually a big deal? This isn’t my server, so wonder if doing that will open up some security issues that might not go over with with the server admin.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:51:31+00:00Added an answer on May 13, 2026 at 5:51 am

    You need to tell the parent web.config no to force section inheritance in child-application.

    If you want to stop system.web section inheritance to child-app then you’d wrap your system.web section with location element mentioned as below.

      <location path="." inheritInChildApplications="false">
    
            <system.web>
    
            </system.web>
    
      </location>
    

    You can also apply this technique for stop inheritance for connectionstrings and appsettings section as well.

    PS: when you actually add this
    lines in web.config, visual studio will
    not recognize it as valid and mark it
    as error, but be rest assured that it
    will work well under IIS when
    deployed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.