Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 14-04-2009
Member
 
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.
Reply With Quote
  #2  
Old 14-04-2009
Member
 
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.
Reply With Quote
  #3  
Old 14-04-2009
Member
 
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).
Reply With Quote
  #4  
Old 14-04-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Create and Configure Virtual Directories in IIS 7.0"
Thread Thread Starter Forum Replies Last Post
Configure Virtual Box on Linux Mint Maq.H Tips & Tweaks 0 07-08-2012 11:03 AM
Number of virtual LAN we could configure on AR2921 Router Kaalia Networking & Security 2 30-12-2011 02:19 PM
How to create and configure Virtual machine on Hyper-V? Dexter85 Operating Systems 6 29-10-2010 05:14 AM
How can I configure a VM to boot from USB key in Virtual PC of Windows 7? Just-Margaret Operating Systems 5 25-08-2010 11:08 PM
redirecting websites virtual directories using IIS 6.0 Odalis Technology & Internet 3 22-08-2009 05:04 PM


All times are GMT +5.5. The time now is 10:25 AM.