Microsoft KB Archive/303845

From BetaArchive Wiki

Article ID: 303845

Article Last Modified on 8/12/2005



APPLIES TO

  • Microsoft Visual Studio .NET 2002 Professional Edition



This article was previously published under Q303845

SUMMARY

Visual Studio .NET provides a new way to create and open a project that is located in the root Web. This article describes this new procedure. As in Microsoft Visual InterDev 6.0, it is convenient to create and open a project in the root Web when you are working with Web applications that serve as the root of a Web server. The pages for the application are stored in the root Web and in the subdirectories of the root Web, but they are not stored in subWebs.

MORE INFORMATION

Creating a Project in the Root Web

  1. In Visual Studio .NET, click Options on the Tools menu.
  2. In the Options dialog box, click to expand the Projects and Web Settings nodes.
  3. Under Preferred Access Method, confirm that you are in File Share mode, and then click OK.


NOTE: Microsoft FrontPage Server Extensions on the Internet Information Server (IIS) virtual server to which you are connecting are no longer required. This differs from Visual InterDev 6.0.

  1. From the File menu, point to New, and then click Project.
  2. In the Project Types list box, click either Visual Basic Projects or Visual C# Projects.
  3. In the Templates list box, click New Project In Existing Folder. Name your project, and then click OK.
  4. In Location text box, type the address of your virtual server (for example, http://localhost).


NOTE: This path should point to a shared folder, and the user who creates the project should have the appropriate permissions for that share. By default, C:\Inetpub\Wwwroot is shared as \\computername\Wwwroot$.

Opening an Existing Project That Is Located in the Root Web

  1. From the File menu, point to Open, and then click Project From Web.
  2. Type the address of your virtual server. For example, type http://localhost.
  3. In the Open Project dialog box, select any existing project file in the root Web, and then click Open.


REFERENCES

For more information, see the Microsoft .NET Framework SDK QuickStart Tutorials:


Additional query words: asp.net

Keywords: kbhowto KB303845