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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:05:12+00:00 2026-06-03T18:05:12+00:00

I am having two different websites and I want to access the second website’s

  • 0

I am having two different websites and I want to access the second website’s home page as a link in the first website. But I am getting the problem in merging them in visual studio(2008). And also what to do with two web.config files.
I had also tried to copy all the files of second project in the first project but it doesn’t work out.
what are the possible ways to merge two websites.?

  • 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-03T18:05:20+00:00Added an answer on June 3, 2026 at 6:05 pm

    Put the two websites in separate VisualStudio projects within a single VisualStudio solution or you could put the second website in a folder within the first project and do:

    HttpContext.Response.Redirect("~/ProjectB/PageInProjectB.aspx");
    
    
    <asp:HyperLink ID="lnkLink" runat="server"
    NavigateUrl="~/ProjectB/PageInProjectB.aspx"> Link </asp:HyperLink>
    

    where ProjectB is the new folder in the first project.

    See Response.Redirect from one web project to another in Visual Studio

    You can only really have one web.config in a project. You can have more but these are usually used for different publishing environments, for example a dev and live deployment. (dev is used for testing stuff and live is the actual site people use)

    http://msdn.microsoft.com/en-us/library/9d9ats98.aspx

    http://msdn.microsoft.com/en-us/library/zk4ahe0t(v=vs.90).aspx

    EDIT: I also suggest you checkout http://www.asp.net/web-forms/tutorials to get more familiar with Visual Studio and ASP.NET Web Forms.

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

Sidebar

Related Questions

We are having the two different website running for different products (both sites have
i am having two textfields,fromdate and todate.how to get different dates from the same
Having the following classes, in two different assemblies: class Member { public string Label
I am having trouble constructing a single XPath statement to return two different sets
I have two list of different objects : List<Report> List<Newsletter> each having a 'created
I have to compare two Excel files having different number of sheets, different number
I'm having an issue with accessing objects within two different instances of the SPSite
In my application I am having two different types of date formats. One gives
I want to display 3 different websites one after another by creating their respective
I've been developing a website, but I develop on my local machine first. I

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.