RAD Studio for Microsoft .NET
ContentsIndex
PreviousUpNext
Creating a Virtual Directory

When you create an ASP.NET application, the IDE automatically creates a virtual directory for you based on the settings in the New ASP.NET Web Application dialog box.  

However, the IDE can also create a virtual directory for an application that you did not create within the IDE, such as the demo applications found in the DBWeb folder.

Note: DB Web Controls (Borland.Data.Web namespace) are being deprecated in 2007. You should use standard Web controls instead.

To create a virtual directory for an existing application

  1. Open the ASP.NET application project file in the IDE.
  2. Choose ProjectOptionsDebuggerASP.NET. The default application settings are displayed. Accept the default settings or change them as needed.
  3. If you are creating a virtual directory for use with Internet Information Server (IIS), click the Server Options button to display the Configure Virtual Directory dialog. If you change the name of the virtual directory or its alias, you can also change the permissions associated with the virtual directory.
  4. Click OK to return to the project options.
  5. Click OK to exit the project options.
The virtual directory is created for you, enabling you to run the application.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!