Urgent: Microsoft .NET errors from apps

Posted on 2011-10-09
Last Modified: 2012-05-12
Hi Experts -

Until 2 days ago I had a perfectly working XP Pro installation.  Then I installed RealPlayer (required for a work project) and everything went down hill from there.

One of the errors is a .NET error where it can't find the following file:

Thinking I would have to reinstall .net from the beginning, I tried re-installing .NET v2, but it complained I already had a later version of v2 installed.  Then I tried installed .net v2sp2 and it said it was already installed so I would have to uninstall it.

I have .net 3.0 sp2 and .net 3.5 installed.  Do I need to uninstall all of them down to v2.0 and then reinstall them all back up to 3.5 or maybe even 4.x?

Question by:ee_reach
    LVL 89

    Expert Comment

    by:John Hurst
    To the extent that an application needs .NET Framework 1, 2, 3, or 4 then you need them all installed. I don't think I have .NET Framework V2 on my Windows 7 machine, so you can try living without it and adding V4 to what you have above.

    If you want them all, then, yes, I would uninstall all and start again.  .... Thinkpads_User
    LVL 8

    Accepted Solution

    Thanks for your comment thinkpads_user.

    Just so everyone knows the ultimate answer, uninstalling/reinstalling any part of .NET frameworks is a nasty piece of work.  Here are the most important points:

    * You must uninstall them in reverse order.  

    * .NET 1.0 and 1.1 are independent of 2-3.5.  Similiarly, 4.0 is independent of the others. So if you have a problem with 4.0, just uninstall and reinstall 4.0.  Likewise, if you have a problem with 2.0, uninstall down to 2.0 and then reinstall.  Don't bother uninstalling 1.0/1.1 unless there is actually a problem with either of them.

    * Even if you uninstall them in reverse order, you are likely to encounter major issues in how to clean them up.  And they must be cleaned up before you can reinstall, or the installation will fail.

    * There are clean up tools, and also Microsoft has a knowledgebase article on how to clean up after them manually; however, neither the tools nor the manually cleanup kb - separately or together - are sufficient to clean up the worst cases.  (I am considering writing an EE article on this so the collective wisdom I found across multiple websites will be brought together into one place.)

    * Once you finish the reinstall, many other things are likely to be wrong with your system and you will probably require several more days of work to restore your system.  E.g., once you uninstall the 2.0 framework, your windows firewall will likely no longer be configurable.  Also, many of your apps (e.g, MS Word, Excel, PPT) will no longer work until you have successfully reinstalled .NET 2.0.

    * If you have XP, then .net is not part of the operating system.  However, if you have Vista or Win 7, parts of the .NET Framework are built in.  (Hence thinkpads' comment above that he doesn't think he has V2 installed - it exists as part of his operating system and thus is not listed as an uninstallable program as it would be on an XP machine.)

    If anyone ever needs to do this in the future, feel free to contact me for the details.

    Kind regards

    LVL 8

    Author Closing Comment

    It turned out that this seemingly simple question was actually the tip of an iceberg.  

    The information required to do justice to this question would require an answer that is much longer than the allowed space, and is more suitable to an article which I will try to write up in the next week or so.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now