Welcome, Guest [LogIn] / [Register] / [Forgot Password ?]
Home > Technical Tips > ASP.Net > How to configuration an asp.net web page in IIS ?
How to configuration an asp.net web page in IIS ?
Posted by Saurabh Kumar on Tuesday, Oct 20, 2009
| More

For configuration of IIS firstly to below these things fulfill on your system.

1)    IIS 5.0/ IIS 6.0 web server installed on your personal computer.
2)    .NET framework installed on your personal computer.
3)    ASP.NET web site that will be published with IIS web server.

Please make sure that .NET 2.0 frameworks is installed after the IIS web server is used. If .net framework is not installed in your personal computer then use the below command line for install:


C:\[win-dir]\Microsoft.NET\Framework\[Version]\aspnet_regiis.exe –i

Set up a ASP.NET web site with IIS :

First you crate a virtual directory on the web server.

Step 1) To Start IIS Manager, select Settings -> Control Panel -> Administrative Tools Internet Services Manager from the Start menu.

Step 2)
The next step to create a virtual directory for an existing physical directory. For this please expand the Web Sites item in the IIS Tree, right-click the Default Website item and choose New -> Virtual Directory from the menu.

 

asp.net configration in IIS

 

Step 3) The first step in the wizard to virtual directory creation is to choose an alias. The alias is the name a user will use in his URL to access the files in this virtual directory. For example, if your alias is MyApp and your computer is MyServer, you can request pages using URLs such as http://MyServer/MyApp/MyPage.aspx.

 

create a virtual directory on the IIS web server

 

Step 4) Click Next.

Step 5) The next step in this wizard is to provide an existing physical directory to which the virtual directory will point to. So, this physical directory will be exposed as a virtual directory through its alias. For example, c:\Webs\WebApplication1 is the physical directory that is used by this virtual directory with the MyApplication alias.

 

provide an existing physical directory.

 

Step 6) The final step in this wizard is to choose your permissions for the virtual directory. Usually, to host an ASP.NET application, read and execute permissions are enough.

 

permissions for the virtual directory in IIS.

 

Step 7) Click Next and then Finish to create the virtual directory.

When you finish these steps, you'll see your new virtual directory appear in the list in IIS Manager.

Ranjeet Roy  says :
October 27, 2009 at 12:30 pm
hello sir, how are you doing.. through facebook you are providing help and it's a very fine source of getting knowledge...thank you...
Add Your Comments/Suggestions :
Name:
Email:
Website:
Your Comments:
 
(required)
(will not be published) (required)


©Copyright 2010 saurabhdeveloper.com