Setup IIS with ASP.NET :
1. Install IIS
Windows 2003: Click Start, point to Control Panel, and then click Add or Remove Programs. In Add or Remove Programs, click Add/Remove Windows Components. In the Windows Components Wizard, under Components, select Application Server.
Windows 7 : Go back to “Programs and Features” and “Turn Windows features on or off” and expand IIS. Here I selected “World Wide Web Services”, then Application Development Features” and checked “.NET Extensibility”, “ASP.NET”, “ISAPI Extensions”, and “ISAPI Features”. I also selected all of “Common HTTP Features”.
2. Register ASP.NET / .NET Framework
RUN > type cmd >
cd C:\Windows\Microsoft.NET\Framework\Choose your version\