Results 1 to 4 of 4

Thread: How to Create and Configure Virtual Directories in IIS 7.0

  1. #1
    Join Date
    Feb 2009
    Posts
    105

    How to Create and Configure Virtual Directories in IIS 7.0

    Hello,

    Can anyone suggest me how to Create and Configure Virtual Directories in IIS 7.0 and also let me know and can we perform validation on client side.

    This took very long time to understand me what is virtual directories and how it works but i am aware about it now, and have this further problems. Hope i will find answer for this.

  2. #2
    Join Date
    Dec 2008
    Posts
    161

    Re: How to Create and Configure Virtual Directories in IIS 7.0

    You can create a virtual directory that points to an ASP.NET application, and then convert the virtual directory to an application. Alternatively, you can directly convert a folder in the Connections pane of IIS Manager to an ASP.NET application without first creating a virtual directory. For information about how to open IIS Manager, see IIS 7.0: Open IIS Manager.
    To create a virtual directory with IIS Manager for an ASP.NET application


    1. In IIS Manager, expand the local computer and the Sites folder.
    2. Right-click the site or folder where you want to create the virtual directory and then click Add Virtual Directory.
    3. In the Add Virtual Directory dialog box, specify the following information:

      • Alias. Enter a name for the virtual directory.
      • Physical Path. Enter or browse to the physical directory that contains the virtual directory. You can select an existing folder or create a new one to contain the content for the virtual directory.
    4. To provide credentials to connect to a UNC path, click the Connect as button.
    5. Click OK.
    6. Right-click the virtual directory that you created earlier and then click Convert to Application.


    For more information, see Managing Virtual Directories in IIS 7.0.
    Configuring an ASP.NET Application

    The default root location for IIS content is the %systemdrive%\inetpub\wwwroot directory. The instructions that follow assume that you have copied the ASP.NET application to the %systemdrive%\inetpub\wwwroot directory. If you want to specify another file location for the content, you must first create a virtual directory to the content. For more information, see the preceding procedure.
    To configure an ASP.NET application under the root Web site.

    1. In IIS Manager, expand the node for the local computer and then expand the Sites folder.
    2. Right-click the folder that you want to convert to an application and then click Convert to Application.
    3. The Add Application dialog box is displayed.
    4. Click OK.

  3. #3
    Join Date
    Jan 2009
    Posts
    140

    Re: How to Create and Configure Virtual Directories in IIS 7.0

    If you are considering working with Windows Server 2008 or Vista, be sure to set aside time to learn IIS 7.0.

    • The new layout offers easier access to different configuration settings, but can be initially frustrating to users experienced with earlier versions of IIS.
    • Important: If you are using Vista, be sure to install Vista SP1 or higher to ensure that IIS has all of the same options as Windows Server 2008.
    • Developers can create ASP.NET Web Sites that use IIS to host their Web pages.
    • When you create a new ASP.NET Web Site with VS 2008, you specify HTTP and an URL to an IIS server. It automatically creates a new virtual directory.


    This shortcut launches a wizard that allows you to configure the initial properties of your Web application (all changeable after creation).

    Step #1: You will be asked to specify the name of the virtual directory (MyWebApplication).
    Step #2: You will be asked to locate the physical directory used to hold the files (C:\MyWebApp).
    Step #3: You will be asked to specify access permissions for the virtual directory (the defaults are correct for an ASP.NET application).

  4. #4
    Join Date
    Dec 2008
    Posts
    161

    Re: How to Create and Configure Virtual Directories in IIS 7.0

    Code:
    Also let me know and can we perform validation on client side.
    Because the server side validation creates a dynamic javascript to validate the control at client side. You can do it without using validation control and by writing the dynamic javascript.

Similar Threads

  1. Configure Virtual Box on Linux Mint
    By Maq.H in forum Tips & Tweaks
    Replies: 0
    Last Post: 07-08-2012, 11:03 AM
  2. Number of virtual LAN we could configure on AR2921 Router
    By Kaalia in forum Networking & Security
    Replies: 2
    Last Post: 30-12-2011, 02:19 PM
  3. How to create and configure Virtual machine on Hyper-V?
    By Dexter85 in forum Operating Systems
    Replies: 6
    Last Post: 29-10-2010, 05:14 AM
  4. Replies: 5
    Last Post: 25-08-2010, 11:08 PM
  5. redirecting websites virtual directories using IIS 6.0
    By Odalis in forum Technology & Internet
    Replies: 3
    Last Post: 22-08-2009, 05:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,031,075.11960 seconds with 16 queries