install microsoft .net framwork with latest version and it will work perfectly, i had this problem before.