Article ID: 320265
Article Last Modified on 6/16/2003
APPLIES TO
- Microsoft ASP.NET 1.0
- Microsoft Visual Studio .NET 2002 Professional Edition
- Microsoft Visual Studio .NET 2002 Enterprise Architect
- Microsoft Visual Studio .NET 2002 Enterprise Developer
- Microsoft Visual Studio .NET 2002 Academic Edition
- Microsoft ASP.NET 1.1
- Microsoft Visual Studio .NET 2003 Academic Edition
- Microsoft Visual Studio .NET 2003 Enterprise Architect
- Microsoft Visual Studio .NET 2003 Enterprise Developer
- Microsoft Visual Studio .NET 2003 Professional Edition
This article was previously published under Q320265
IN THIS TASK
SUMMARY
This step-by-step article demonstrates how to create a project on a remote Web server that uses the file share mode with a share other than the default wwwroot$ share by using Microsoft Visual Studio .NET.
back to the top
Configure the IIS Web Server
- Create a folder (for example, C:\Projects) to contain your Web application or Web applications.
- Share the folder (for example, sharename = projects).
- Give the VS Developers group full control of this shared folder. Make sure that the user who will create the ASP.NET Web application belongs to the VS Developers group.
- Create a subfolder under the folder that you created in step 1 (for example, C:\Projects\App2) for the new Web application.
- In Internet Services Manager, create a virtual directory (for example, App2) that points to the new application folder (for example, C:\Projects\App2).
NOTE: This virtual directory must point to the same physical folder that you created in step 4. Make sure that the virtual directory and physical folder names are the same.
Create the Project on the Remote Web Server
- Start Visual Studio .NET on the client computer.
- On the File menu, point to New, and then click Project.
- Click any language under Project Types, and then click ASP.NET Web Application under Templates.
- In the Location box, type the following path, and then click OK:
http://
servername
/appName
where appName is the name of the virtual directory that you created in step 4 of the "Configure the IIS Web Server" section (earlier in this article).
Because the virtual directory already exists but points outside the normal wwwroot$ share, you receive the following error message: - Click Retry using a different file share path, and then type the file share path for the share that you want to use in the following format:
\\ServerName\ShareName\appName
- Click OK.
Your Web application is created on the Microsoft Internet Information Services (IIS) server.
REFERENCES
For additional information about how to configure a remote Web server, click the article number below to view the article in the Microsoft Knowledge Base:
312779 INFO: Visual Studio .NET Readme (Part 1)
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
317955 BUG: "Failed to Start Monitoring Directory Changes" Error Message When You Browse to an ASP.NET Page
320117 FIX: "Value Cannot Be Null. Parameter Name: path2" Error Message When You Browse to ASP.NET Pages
Keywords: kbhowtomaster kbideproject KB320265