Friday, August 16, 2013

Configuring IIS 7 for asp.net 4 web hosting

Steps:
1.Type appwiz.cpl in run.
2. Install IIS from Turn windows Features on or off.
3. Install .net 4.0.
4.Registering .net framework 4.0:
      i. run command prompt as Administrator.
     ii. C:\windiws\Microsoft.net\framework\V4.0.30319>aspnet_regiis -i
5.Add website in IIS Server
       i. goto run
      ii. type  inetmgr to open IIS server management page.
     iii. add Your web-site with unique name and port.
(port 80 is default and will not need to specify while browsing.)

6.make sure Application Pool has framework V4.0.
browse your website.
Have Fun.
Gautam Kumar Gupta.