The problem sometime caused when there are some traces of Avast present on your system.
To resolve the issue, please try the following:1
Goto the following link to download Removal Tool for Avasthttp://www.avast.com/eng/avast-uninstall-utility.html
Download the tool to your desktop. Restart the computer and start it in safe mode. For that repeatedly tap the F8 key before windows starts to load.
You will see a menu. Select safe Mode from there and press Enter
Once in safe mode, run the removal tool and restart the computer when completed2
If the error appears again,
a) Uninstall AVG from control Panel-> Add or Remove Programs
b) Try the following link to download removal tool for AVGhttp://www.avg.com/download-tools
You will need to download AVG Remover (32 Bit)
Once downloaded, run the tool and restart the computer.
c) Download The latest version of AVG from the following link and install the samehttp://filehippo.com/download_avg_antivirus/
d) Restart the computer once more and test the issue
If it does not help, please let me know so that I can follow up further