如果没有按照正常的先装iis后装.net的顺序,可以使用此命令重新注册一下:
32位的Windows:
---------------------------------------------------------------------------
1. 运行->cmd
2. cd C:WindowsMicrosoft.NETFrameworkv4.0.30319
3. aspnet_regiis.exe -i
64位的Windows:
---------------------------------------------------------------------------
1. 运行->cmd
2. cd C:WindowsMicrosoft.NETFramework64v4.0.30319
3. aspnet_regiis.exe -i
转自:http://www.cnblogs.com/mrhgw/archive/2012/06/19/2554681.html