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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:04:38+00:00 2026-06-06T10:04:38+00:00

There are 5 websites in ASP.NET 2.0 which have the same code and database

  • 0

There are 5 websites in ASP.NET 2.0 which have the same code and database structure. The only difference is the CSS and site names. These all are hosted on single GoDaddy account.

For example:

  1. http://www.abc1.com
  2. http://www.abc2.com
  3. http://www.abc3.com
  4. http://www.abc4.com
  5. http://www.abc5.com

There is a main folder bound to http://www.abc1.com and four other sub-directories bound to the other four sites.

Problem is that:

When I remove connection string from web.config of http://www.abc4.com, it is still working.

At same time it uses http://www.abc1.com’s connection string and remaining sites are working fine. If http://www.abc4.com has problem then all sites should be affected?

How is it possible?

  • 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-06-06T10:04:39+00:00Added an answer on June 6, 2026 at 10:04 am

    This is because the connection string is inherited from the parent application’s web.config.

    You can forcefully specify to use the next added connection string to be used by inserting

    <clear />
    

    before you add new connection string.

    This removes all references to inherited connection strings, allowing only the connection strings that are added by the current add element.

    Refer http://msdn.microsoft.com/en-us/library/ayb15wz8.aspx for MSDN docs on this.

    • 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 3 application using NHibernate over a PostgreSQL database. There
I have plenty experience creating ASP.NET Websites in the Visual Studio. But there is
We have hundreds of websites which were developed in asp, .net and java and
I have a asp.net website, there is a searchResult.aspx, it runs a sql script
I have two separate websites on the same server. One site is a forum
I have an asp.net application which uses the web part framework to allow users
I have written an ASP.NET page for a customer which uses the C# Facebook
I'm developing a website (using asp.net-mvc) with a SqlServer 2005 database. I have numerous
I have an existing complex website built using ASP.NET MVC, including a database backend,
I am creating a website using JavaScript/ASP.NET/C#/CSS/HTML/Compact SQL server. I have the majority of

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.