?
Solved

Urgent: Microsoft .NET errors from apps

Posted on 2011-10-09
3
Medium Priority
?
205 Views
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:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll

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?

Thanks!
0
Comment
Question by:ee_reach
  • 2
3 Comments
 
LVL 99

Expert Comment

by:John Hurst
ID: 36938994
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
0
 
LVL 8

Accepted Solution

by:
ee_reach earned 0 total points
ID: 36967045
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

ee_reach
 
0
 
LVL 8

Author Closing Comment

by:ee_reach
ID: 36991195
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.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
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…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

862 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