If you do not follow the normal sequence of installing IIs before installing. net, you can use this command to re-register it:
32-bit windows:
---------------------------------------------------------------------------
1. Run-> cmd
2. cd c: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319
3. aspnet_regiis.exe-I
64-bit windows:
---------------------------------------------------------------------------
1. Run-> cmd
2. cd c: \ WINDOWS \ Microsoft. NET \ framework64 \ v4.0.30319
3. aspnet_regiis.exe-I
32-bit windows:
---------------------------------------------------------------------------
1. Run-> cmd
2. cd c: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319
3. aspnet_regiis.exe-I
64-bit windows:
---------------------------------------------------------------------------
1. Run-> cmd
2. cd c: \ WINDOWS \ Microsoft. NET \ framework64 \ v4.0.30319
3. aspnet_regiis.exe-I