I was able to solve this problem by the procedure below.
1. Navigate to the following directory:
x64 OS
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG
x86
C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG
2. Copy the ‘machine.config’ file to desktop just in case before you go to 3rd step.
3. Rename machine.config to machine.config.old which is locating in the directory above.
That’s it