After installing the 64-bit Win7, install vs Reload IIS, resulting in IIS with the. NET4.0, but the program is always not running, and finally think it may be because 4.0 is not registered to IIS, because before in the Win2003 encountered a similar situation. Final successful solution, summary: Under win7 If you install vs2010 after installing the Microsoft. NET Framework 4, you must register IIS before you can use it.
With my installation command bar:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i
Windows7 Install IIS (the framework has been installed first)
Register IIS:
1, the command line (WINDOWS+R) input CD C:\Windows\Microsoft.NET\Framework\v4.0.30319 (the last version you registered, you can be another version, I use the VS2010, registered version 4) after the return ( CMD must be opened as manager
2, and then enter aspnet_regiis in the command line/? Rear carriage return
3, then enter the Aspnet_regiis-i after the return
4, display asp.net<4.0.30319> after installation, restart IIS (that is, re-open the Internet Information Services (IIS) Manager in Administrative Tools)