473,696 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\So lution 1\WebProject1; d:\projects\Sol ution
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\so lution
1\webproject1\t est.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

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 1592

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

Similar topics

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
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 production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
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 with the same name as the project folder (same as the old server) but when I create a new solution and try to add the existing projects from the new development server I get the following message. "Unable to open Web project 'qssweb/CTSubs'. ...
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 from web" i just get a file dialog box in "my documents" and browsing to the right project folder doesn't work.
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 appears that the project files get created in the URL specified Location field on the New Project dialog box. This makes sense to me. What is confusing is that the solution file gets created in a folder with the same name as the location folder (the...
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 main app. I am able to add webfolder and other projects in these web folders, but how to make these web folders as "virtual directories"? Also how to give "Allow Anonymous Login" for virtual directory through web
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 compile and run without error. However they are separate applications and I would like to have them together in order to make use of my masterpages, and share controls between. Do I need to combine the web.config files? I figured I would just...
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. The error i get is Error 100 error LNK2001: unresolved external symbol "public: virtual void __thiscall CWnd::PostNcDestroy(void)" (?PostNcDestroy@CWnd@@UAEXXZ) Evenout.obj I have about 200 of these on almost all the obj's that have a dialog...
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 out from a repository into a sandbox. I don’t want the developer to have to setup IIS on their local machine to enable the editing of the web project – I want to configure the web project so that it only references files in the developer’s...
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...
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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...
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...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
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...
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
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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.