473,804 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "MyDocument s"
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 4261
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
1259
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 already a solution or project file. In the old Visual Studio 6, you could create a new solution, connect to an existing server, and "download" all the existing code into your new solution. How do I do that in VS.NET 2003? In particular, I'm trying to...
1
956
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 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
0
3183
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 From Web...". In the "Add Existing Project From Web" dialog, I enter the URL "http://crush/wscts" where crush is the server's name and wscts is the Webservice. This takes me to an "Add Existing Projec" dialog which has "My Documents" in the...
1
1558
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 understand my question fully, I do the following. 1. Create a project that is a WindowControlLibrary called Test in C++.NET in this project we have several files but the following are intresting for
0
614
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
1271
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 and installed it. I now have the option to create a new deployment project when I go File- New Project so I assume that it has installed correctly. However, when I open up my master solution containing all the other C# projects and the single web...
1
4329
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 WindowsXP Web Share on the folder. I can access the webshare by typing in http://localhost/dmedibiz. However, when I open the solution and it tries to open the Web Project parts, it says "Contacting Web Server to Open Web Project, followed by an...
2
31024
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 accostomed moreso to .NET Windows Forms development, where the ..sln (and other metadata files) are all self-contained within the project file. In that case, I never have problems moving the project from one system or folder to another.) How do you...
0
9716
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9177
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7643
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3005
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.