Resolution of this issue is as follows
1.Stop the windows update service
use this command ---> net stop WuAuServ
2.Rename the folder 'SoftwareDistribution' in your windows folder (most Probably 'C:\Windows\ SoftwareDistribution ') to something else.
3.Restart the windows update service
use this command ---> net start WuAuServ
4.Now try to install the .net framework again.It should now work smoothly.
1.Stop the windows update service
use this command ---> net stop WuAuServ
2.Rename the folder 'SoftwareDistribution' in your windows folder (most Probably 'C:\Windows\ SoftwareDistribution ') to something else.
3.Restart the windows update service
use this command ---> net start WuAuServ
4.Now try to install the .net framework again.It should now work smoothly.
