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

Existing web projects aren't binding to the correct virtual directories

I have a full blown VS.NET 2003 solution with a handful of library
assemblies, two web projects, and a few web service projects. The
entire solution is in VSS. Recently our build server went haywire and
the best solution was to blow away everything on the build server
related to this solution (both filebase and virtual directories hanging
off the default website).

I recreated the shell of our solution's web projects
(d:\projects\Solution 1\WebProject1; d:\projects\Solution
1\WebProject2), recreated the virtual directories (WebProject1,
WebProject2), set as web applications, in the default website and
pointed them to the directories I setup. I've always done this in the
past with all my web projects... this way, ~I~ say where the projects
will be placed, not the default IIS mappings.

Note: This server has multiple web sites all listening on port 80 on
the "all unassigned" IP... just like the default site. However, all
default sites are set to listen for specific host headers.

Now, when I try to get the project from VSS, the web projects aren't
binding to the default website. I get the usual "Set Project Location"
which says the working copy location is "http://localhost/WebProject1"
for each web project... but when I click OK I get the message:

"Unable to create web project http://localhost/webproject1". The file
path d:\inetpub\[wwwroot of one of the other IIS sites] does not
correspond to the URL http://localhost/webproject1. The two need to
map to the same server location. Http Error 404: Not Found.

OK... so it's obvious to me that VS is trying to bind to one of the
other IIS sites. BUT, when I put a dummy file in the web applications
I created in the default website (d:\projects\solution
1\webproject1\test.txt) and browse to it
(http://localhost/webproject1/test.txt), it works just fine. So IIS
isn't passing off control to one of those other sites (which is good).
Also, after letting it go through its process, I see it created
directories in other IIS sites but didn't mark them as web
applications.

The only way I can keep it from binding to one of the other sites is by
stopping those web sites. But then it just goes onto another site
listening on port 80. I am not going this route for many reasons.
First those other IIS sites are very active projects. Second, this
site is a Content Management Server site I'm building, and the ISAPI
filters must be running on that site. Third, some of the sites it's
binding to are SharePoint sites... same deal with ISAPI filters. While
I've mentioned SharePoint & CMS, This is NOT an issue with those
products... it's an issue with the default website.

What gives? I've looked in the SLN, CSPROJ, and WEBINFO files trying
to find SOMETHING, but each and every test always looks in other IIS
sites. All references are to URLs... not file shares (we need to use
URL's, not file shares for a few reasons I won't go into). Ideas?

Nov 19 '05 #1
0 1570

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

Similar topics

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...
10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
1
by: scottrm | last post by:
We have multiple developers all using a shared development server. Recently we have migrated to a new server. I copied all the project folders across and created virtual directories mapped to and...
2
by: ed d | last post by:
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...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
1
by: Murali Krishna. Siruvuru | last post by:
Hi, I have 3 individual web projects (2 apps under one main app) and all of them need to be deployed using single web setup. Currently my web setup is creating only one virtual directory for...
2
by: Rob Dob | last post by:
Hi, How do I go about installing another Web Site Project inside my existing VS2005 website project. I currently have both a forum WSP and my main WSP application within the same solution. Both...
5
by: BK-Chicago | last post by:
I am in the midst of porting a massive MFC application from VS6.0 to VS8.0. While i have fixed most of the compile time errors, i do have quite a linker error that i have not been able to resolve....
1
by: Andy | last post by:
When I open a web project from a sandbox, Visual Studio reports: “The project you are trying to open is a Web project. You need to open it by specifying its URL path” The project is checked...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.