So I ran spyware doctor and it had a bunch of malware stuff. I clicked "Remove" but failed to create a restore point first. Now my websites running on .net 2.0 as well as visual studio 2008 are not working. My websites running .net 4 and visual studio 2010 are working just fine. I'm assuming I need to restore either .net 2.0/3.5 or something. Any idea on how to do this?
One of the MSDN bloggers by the name of Aaron Stebner made a great utility to automate the normally manual process of cleaning out .NET entirely. Normally you would run this utility before re-installing .NET from scratch. I've had to run it on Server 2008 before, so I would assume it works on Vista as well.
Note that this CAN be used to remove embedded versions of .NET, such as 2.0 in Windows 7.
I've had difficulties running the installers for .NET 3.5 on Win 7/Server 2008 in the past, but have always been successful when using Windows Features. I would try removing it from Control Panel > Programs > Turn Windows features on or off, then adding it again. Are you getting any specific errors in the application event log?
None of this worked for me. The only fix was to reinstall Windows 7. To do this:
- Take the Windows 7 DVD.
- Uninstall SP1 if your DVD doesn't have SP1.
If you are unable to uninstall SP1 (you have removed SP1 backup files with clean tool) then right click on
setup.exein your Windows DVD -> Properties -> Compatibility -> select Vista SP2. If you don't do this your installer will reject the update.
- Run the
setup.exeon the Windows 7 DVD.
- Follow all steps until it asks for update or install, then click on update. Then the installer will reinstall full Windows 7 without removing of the configuration.