473,396 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

cannot add existing web project to solution

Hi Friendly Newsgroup Readers,

I switched to another PC and pulled all my source code
for my solution to my new PC, after first dutifully
adding my web project directories as appropriately named
virtual directories in IIS. But after much fiddling I
still cannot open my web projects from VS .NET.

When I open my old solution, it refuses to include the
web projects (asp.net web projects) that were in the
solution originally on the other machine. For example, I
have MySolution.Web in a directory called MySolution.Web
which I have mapped in IIS as MySolution.Web.

I then try to create a brand new solution and add this
web project. When I try "add existing project" and select
the web project, I get an error "The project you are
trying to open is a web project. You need to open it by
specifying the URL."

Ok, fine... So I try "Add Existing Project from the Web"
and enter:
http://localhost/MySolution.Web

and....

I see nothing - no files. Just what looks like an empty
directory with the file folder showing as
http://localhost/MySolution.Web as I would expect. But no
files...

I try

http://localhost/MySolution.Web/MySolution.csproj

again, I see nothing and I get taken to my "MyDocuments"
directory. If I go select my web project file it
complains again about specifying the URL.

So what is the magic word here? Anyone seen this? It
wants a URL, but it won't take it. I have the project
file's directory in IIS, and named correctly. I can see
that by checkig the "sharing" for the directory (in
Windows XP).

Jon Paugh
Jul 21 '05 #1
1 4241
OK, resolved this.

Added directory browsing to virtual dir in IIS and then
closed and reopened the solution. Apparently if opening a
project fails once in VS .NET solution, then it won't let
you try to open it again...

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike | last post by:
Hi all, Very Basic Question here. I can create new ASP.NET sites using VS.NET 2003 on my server, but for some reason I can't figure out how to connect to an existing web, when there isn't...
1
by: Jon Paugh | last post by:
Hi Friendly Newsgroup Readers, I switched to another PC and pulled all my source code for my solution to my new PC, after first dutifully adding my web project directories as appropriately named...
0
by: Joe Greene | last post by:
I'm trying to add an existing Webservice project to an existing solution. I open the solution and in Visual Studio Solution Explorer right click on the solution. Then select "Add/Existing Project...
1
by: tony | last post by:
Hello!! Normally I use C# but we have a project that is creating a window control library DLL that is done in C++.NET and that is here I have some problems that I want to solve. To be able to...
0
by: Narasimham | last post by:
Hi, I was able to successfully create a new project using the devenv command line arguments. I did devenv /command np and then specified the name of the project and its location in the
0
by: MarkusJNZ | last post by:
Hi, we have an existing solution which contains a bunch of C# projects and one weployment project. Initially I did not have the web deployment project installed on my computer so I downloaded...
1
by: John Kotuby | last post by:
In VS2003 (VB) I am trying to open a solution that contains a couple web projects. It was zipped from another developer's machine and sent to me. I unzipped it a folder on my C drive and placed a...
2
by: Bruce | last post by:
I just copied the file folder containing an ASP.NET application from a backup on network share, to a new development workstation. But in the process, I've lost the .sln file. (BTW, I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.