473,408 Members | 2,734 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,408 software developers and data experts.

can't add existing project in visual studio


Hi,

When I try to create a new web project,
or "add existing project from web"
or "open from source control"

i'm prompted for a URL and type in a virtual directory.

-- with "add project from web" i just get a file dialog box in "my
documents" and browsing to the right project folder doesn't work.

-- with "create new project" visual studio then complains that the
virtual directory doesn't correspond to
c:\someRecentRandomProejct\NewProjectName. i'm allowed to type in the
correct directory, and everything's hunky dory.

if trying to open a project from source control, i get the same deal as
"create new project" i.e. Visual Studio makes a stupid guess at the
directory, but i'm not allowed to correct that guess.

So I imagine my task is to get VS and IIS to work together so VS can
infer the directory when i type in the URL?

I'm very unclear about IIS/websites/virtual directories. I'm just
assuming that if i can browse to the correct directory by typing in the
URL in IE, then visual studio ought to be able to do the same. (it
works for creating new projects, after all)

Any help would be much appreciated!

Edward


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #1
2 2457
ARt
Normally when you install VS it sets up the IIS correctly for you.
IIS has to have asp.net support installed before it will work properly with
VS.

You can intall it manually by going to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

run the following command from the command prompt in the above directory.

aspnet_regiis.exe -i

This will install asp.net support in IIS.

As far as the default project directory is concerned you can set it to any
folder you want on your system in the preferences. It always comes up with a
sample project name. No sure why you can't change the name, though.

"ed d" wrote:

Hi,

When I try to create a new web project,
or "add existing project from web"
or "open from source control"

i'm prompted for a URL and type in a virtual directory.

-- with "add project from web" i just get a file dialog box in "my
documents" and browsing to the right project folder doesn't work.

-- with "create new project" visual studio then complains that the
virtual directory doesn't correspond to
c:\someRecentRandomProejct\NewProjectName. i'm allowed to type in the
correct directory, and everything's hunky dory.

if trying to open a project from source control, i get the same deal as
"create new project" i.e. Visual Studio makes a stupid guess at the
directory, but i'm not allowed to correct that guess.

So I imagine my task is to get VS and IIS to work together so VS can
infer the directory when i type in the URL?

I'm very unclear about IIS/websites/virtual directories. I'm just
assuming that if i can browse to the correct directory by typing in the
URL in IE, then visual studio ought to be able to do the same. (it
works for creating new projects, after all)

Any help would be much appreciated!

Edward


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 19 '05 #2
Once you can specify URL to add existing web project, sometimes you
must further enable Directory Browsing on the virtual directory (in
IIS) of the project you want to add.

Brad Williams

Nov 19 '05 #3

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

Similar topics

0
by: Glenn Watson | last post by:
Hi, I am having the following problem with visual c++ at the moment. I have the Visual Studio 2003 Pro edition of VS. At the moment I'm trying to add a new windows form project to visual...
4
by: Anders Eriksson | last post by:
Hello! I'm using VC++ 7.1 and MFC. In a header file that is located in a different directory that the main project I include a header file that is located in the main project directory. The...
22
by: dw | last post by:
Please help some desperate developers!! We need to create an ASP.NET project via VS.NET 2003 on a networked Win 2003 server that we use for testing, but it keeps generating an error: "The Web...
4
by: Randall Parker | last post by:
XP Home does not come with IIS. Can one use VS 2003 or some other tool to view aspx pages one is developing and do that on XP Home without having IIS on the machine?
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...
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...
9
by: Jason | last post by:
Hi all, I am no longer able to publish a web site project using Visual Studio 2005 Professional. I am publishing it to an FTP url, and this used to work just fine. I enter the username and...
2
by: Norman Diamond | last post by:
My C# code is I18N'ed by appropriately naming and editing .resx files. At execution time, it works. My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files. When I link to a...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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,...

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.