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?

link|improve this question

20% accept rate
Don't blindly delete registry entries without a backup. Also, I've never had any problems with the free Spybot S&D: safer-networking.org – Chris S Jun 17 '10 at 14:11
feedback

migrated from serverfault.com Sep 6 '10 at 4:59

This question came from our site for system administrators and desktop support professionals.

6 Answers

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.

http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

Good luck!

Note that this CAN be used to remove embedded versions of .NET, such as 2.0 in Windows 7.

link|improve this answer
Comment by @NginUS: I don't have rep to upvote Jeff McJunkin's suggestion about the .NET Cleanup Utility, so I'll just reply. After hours of uninstalling, reinstalling, rebooting, registry scanning, and manual registry hacking, it's what finally resolved the issues I had with .NET. – Ivo Flipse Sep 6 '10 at 6:51
feedback

You could try running the Windows Resource Checker to verify and repair all system files. This will include .NET 2.0 on Windows 7.

sfc /scannow
link|improve this answer
tried this, but didn't fix it. – Micah Jun 17 '10 at 14:38
feedback

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?

link|improve this answer
feedback

.net 2.0 is the core component in Windows 7 and you cannot uninstall/install it. You can use the command aspnet_regiis.exe -i from C:\Windows\Microsoft.NET\Framework64\v2.0.50727 to install ASP.NET for IIS 7.5.

link|improve this answer
feedback

I'd run the full installer for .Net Framework 4.0.

I believe as 3.5 before it, 4.0 contains 2.0+ as it expands upon the base of 2.0.

You can try the older installs, but they don't list Windows 7 as supported.

link|improve this answer
1  
.NET 3.5 did not include 2.0 or previous versions unless you got the all-in-one installer. .NET 4.0 does not include previous versions either. The installers usually do not work on Win7, especially 32-bit installers on a 64-bit OS. – Chris S Jun 17 '10 at 14:10
I linked to the full installers, and I provided both the x86 and x64 installers of 2.0 just for future viewers reference. The .Net 3.5 one did not specify architecture, the fact that it is 230mb versus the others being 20-50mb, I'm guessing it is a 32/64 combo installer and does have the 2.0/3.0 cumulative updates. – ManiacZX Jun 17 '10 at 14:25
feedback

Go through the control panel and windows features. Remove then reinstall.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.