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

  • Home
  • SEARCH
  • 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 1096159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:14:25+00:00 2026-05-17T00:14:25+00:00

Im using a asp.net 4.0 project. My file structure looks like this RootSite  -Web.Config

  • 0

Im using a asp.net 4.0 project.
My file structure looks like this

RootSite
 -Web.Config
 -WebService (WebApplication)
  -Web.Config

Now the WebService seems to get some parts of the web.config from the RootSite, the problem here is

<configuration><system.webServer>

So i tryed to place this around that section
<location path=”.” inheritInChildApplications=”false”>
but that had the result of making a httpHandler only to function in the root directory…

So is there any solution to this? i don’t understand why my webservice’s web.config is inheriting from the root’s web.config..

  • 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-17T00:14:25+00:00Added an answer on May 17, 2026 at 12:14 am

    This is the way web configs work by design. It allows defining common properties at a higher level and custom properties at a lower level

    Most of the time, the higher the level, the lesser the number of config sections in the web.config, you may be in a case where your root web.config contains sections that should be defined at a lower level

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

Sidebar

Related Questions

I have the correct entries in the web.config file in my ASP.NET project. How
There's a sample ASP.NET project with this controller: using System; using System.Collections.Generic; using System.Web;
I'm working on an ASP.NET project using MVP architecture. We would like to use
I'm using ASP.NET Web Deployment Projects with TortoiseSVN and VisualSVN, but this is a
I have a solution that contains an ASP.NET Web Site (file-based) project. I'm currently
Solved using this post: Can you convert an ASP.NET MVC Application to a Web
I am using an ASP.NET MVC project and everytime I add a class to
I am using ASP.NET Dynamic Data for a project and I have a table
I'm using jQuery and SimpleModal in an ASP.Net project to make some nice dialogs
I am using NHibernate on a new ASP.NET project, and am running into what

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.