Open command prompt as run as administrator mode
Go to the .net framework folder
Ex:-Type cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 (this is for 64bit machine too)
Run the following command
aspnet_regiis -i -enable
Important codings & concepts in web & window applications using microsoft technologies.