Few days back i update win 7 to win 10,in win 7 i am using VS2010 with asp.net 4.0,after update whenever i open my web application in VS2010 it show following msg,pls see the screenshot
Even i register iis using this command line in command prompt
aspnet_regiis -i ,after restart my machine and open VS2010 again it show Asp.Net has not been registered on the Web server.

Note:iF not register asp.net then i cant run my web application with VS2010, i am software develeper so i always use VS2010.

Pls reply me how to solve this