I had the same problem and it turned out that this is a problem with the .net framework.
I downloaded this file: "dotNetFx40_Full_x86_x64.exe" from the Microsoft website and used the "repair" parameter. It worked for me. Hope this helps.
source
share