Andrew Connell [MVP MOSS]
1468 Posts |  40 Articles |  0 Comments
.NET  |  MCMS  |  SharePoint  |  Office System
SharePoint Quick Links
Article Categories
Archives
Post Categories


Add to Technorati Favorites

File this one under the “interesting… this will come in handy again some day” like my other VS debugging issue.  Others may know this, but I didn’t… and it’s likely someone else didn’t as well.  This is for you (well, and documentation for me).

All the sudden I started having an issue with my build server when I tried to obtain a new or updated VS.NET 2003 solution from VSS that had a new web project or web service or when I tried to create a new web application.  Basically, VS.NET would try to bind the web project under (what seemed to be) any virtual server except the Default Web Site (quite frustrating).  No matter what I tried, I couldn’t get it to work!

Ends up, VS.NET iterates through the IIS metabase via WMI for the last instance of a virtual server on port 80 regardless of any host headers.  So, if you created other virtual servers on that same physical server, it won’t be looking for the Default Web Site, or other sites you created if they aren’t the most recently created.

This is an issue when you are doing MCMS development and you’ve marked a specific virtual server as a MCMS Web Entry Point.  So how to fix it?  WORKAROUND: Create another virtual server and move your MCMS site to it, mark it as a MCMS Web Entry Point, and then get the web projects from VSS/create the projects.  Then you can delete the old MCMS Web Entry Point under the Default Web Site.

Also confirmed that there is nothing special about the Default Web Site.  In other words,  I can blow it away and recreate it with the name “Default Web Site” and the only REAL difference may be the auto-generated log file path.

posted on Tuesday, July 05, 2005 5:11 PM

Feedback

No comments posted yet.

Post Feedback

Title:
Name:
Email:
(email will not be displayed)
Url:
Comments: 
Please add 2 and 5 and type the answer here:    
All Comments Are Filtered & Moderated
Unfortunately comment spammers are just too effecient and are constantly dirtying up blogs with irrelevant and unwanted comments trying to improve their standing on search engines. All comments on this blog are moderated. I do not censor comments, but I don't approve comments with vulger language or those soliciting products. Most of the time comments are approved within a few hours of being submitted with the only exception when I'm traveling.

Why are you asking for my email address?
The only reason I'm asking for your email address, which isn't required to submit a comment, is to provide a gravatar if you've created an account for yourself and associated your email address with a small image. If you have a gravatar created for the email address you submit, it will appear next to your comment. Otherwise nothing will appear.

What is a gravatar?
A gravatar is a "globally recognized avatar." You can get more information about gravatars, as well as create your own for free, at www.gravatar.com. You can also view my gravatar here.


Copyright © 2003 - 2009 Andrew Connell
Creative Commons License 
This work is licensed under a Creative Commons License
Site design by Heather Solomon.

 
 
MOSS WCM Training
Looking for MOSS 2007 WCM developer training? Look no further! I teach my 5-day hands-on and online WCM classes for developers I offer through my company: Critical Path Training.

Get more information on the WCM courses!


Upcoming Classes
 Hands-on WCM:
 Online WCM:
 » July 20-24, 2009


» Register today!