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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:25:27+00:00 2026-05-22T22:25:27+00:00

I have a website configured in .NET 2.0, and I cannot change it because

  • 0

I have a website configured in .NET 2.0, and I cannot change it because of compatibility problems. Inside that website, I have other website in 4.0. So let’s think something like this:

RootWebsite --> 2.0

 - Default.aspx
 - Another.aspx
 - PROMOS
     - AnotherWebsite --> 4.0
         -web.config
 - web.config

Well, the AnotherWbesite (4.0) is using some libraries that don’t work on 2.0. I don’t know why, but when I execute the website, it is executing in 2.0 instead of 4.0, although it has its own web.config and it is configured in 4.0.

Is there any way to force the AnotherWebSite to execute in 4.0, despite its father is in 2.0?

Thank you very much

  • 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-22T22:25:28+00:00Added an answer on May 22, 2026 at 10:25 pm

    I have found the solution:

    in the parent’s web.config, you have to wrap the “system.web” section into the following:

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

    This way, the children won’t inherits anything from the parent, so you can use different .NET versions.

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

Sidebar

Related Questions

I have a ASP.NET MVC page. I Configured a IIS Website and added the
I have a .NET 3.5 website that is uploading files to a SQL Server
I have an ASP.NET website that will hit about 2gb physical memory used within
I have an asp.net website that needs to connect to a dBase file on
I have an ASP.NET website configured with <authentication mode=Forms> <forms loginUrl=Login.aspx timeout=10080> </forms> </authentication>
We have SiteMinder configured in our environment and I've been given an ASP.NET website
I have a Windows-Forms Application that I configured to use with an ASP.NET Service
I have an asp.net mvc app running on a local iis website that is
I am currently looking into devloping an ASP.NET website. I have configured IIS7 on
I have an ASP.NET Razor website that is working properly when I test locally

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.