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 6044129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:58:37+00:00 2026-05-23T06:58:37+00:00

I have a parent application hosted in the root folder of my website. It’s

  • 0

I have a parent application hosted in the root folder of my website. It’s a .NET 4.0 application and the application pool is obviously set to 4.0.

I want to configure a child application at:

/blog

This is a .NET 2.0 application (it’s BlogEngine.NET). I created a new virtual directory called “blog”, pointed it at the appropriate directory, converted it to an application and put it in it’s own application pool set to .NET Framework 2.0.

I edited the parent web.config and added:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
      <configSections>
         <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
    </configSections>
  ....entire web.config basically...
  </location>
</configuration>

Right after the element. However, when I go to http://localhost/blog, I get the following error:

The configuration section ‘configSections’ cannot be read because it is missing a section declaration

Anyone have any ideas what’s going on here or what I might be missing?

  • 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-23T06:58:38+00:00Added an answer on May 23, 2026 at 6:58 am

    Unfortunately this is a downfall of the way IIS handles virtual directories. Your parent application’s web.config is still read even though it’s not in the child application. I tried to nest a 4.0 app as a child of a 3.5 app before and after several days of frustration, SO questions, and forum posts, I finally came to the conclusion that it was more trouble than it was worth.

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

Sidebar

Related Questions

I have parent/child relationship set up via Node Reference. A Child record can have
I have a parent class which contains a child object. I am using set
I have a 3.5 ASP.Net WebForm parent application. The parent uses forms authentication. I
I have done a sticky note application in asp.net. I have a parent window
I have a child browser window (aspx) opened from the parent application. The child
I have a winform application (.NET 2.0 C#). From this application, I want to
I have a parent class and its child in my application model. And have
When you have parent-child tables and you wish to use a DetailsView to edit
If you have Parent has_many :children Child Is there any reason a foreign key
I use Entity Framework 4 and I have parent - child relation with Cascade

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.