SYMPTOMS
If you have multiple Web sites on a development computer
(that use Microsoft Internet Information Services (IIS) host header names, DNS,
IP, and other identifiers), and you try to open a file share solution from
Source Control by using the Microsoft Visual Studio .NET IDE, the IDE prompts
you for the URL to use for the development Web in the
Set Project Location dialog box. If you select
localhost (for example, http://localhost/TestProjest), and then continue,
the IDE creates a folder in the default Web root folder, and then appends an
_1 if the Web site already exists.
When you try to open
the solution to a different Web (other than the default Web) on the server, you
receive the following error message:
Unable to create
Web project 'http://MySite.com/MyProject'. The UNC share
'\\MySite.com\wwwroot$\MyProject' does not exist or you do not have access.
You cannot successfully create an instance of the solution on the
Web server.
REFERENCES
For a complete description of the integration between
Visual Studio .NET and ASP.NET applications under source code control, visit
the following Microsoft Web sites:
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
190008
HOW TO: Use Host Header Names to
Host Multiple Sites from One IP Address in IIS 5.0