.Net Assembly mscorlib

Posted on 2008-06-24
Last Modified: 2012-08-13
I have an application that I was able to build and run just fine, I have done something to corrupt my :\WINDOWS\assembly\GAC_32\mscorlib\\mscorlib.dll, it does not find the assembly files and no symbols load now. I am not sure what I did or added to cause this. I tried running dotnetfx.exe and it gives me an error not compatible with the installed version error. Is there anything I can do other than re-installing VS and all my plugins? I am working at a large client and we do not have full administrative rirghts to our machines. How do these assemblies get coruptted and how do I avoid doing it again? Any help would be greatly appreciated.
Question by:teamsport
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 18

Expert Comment

ID: 21860129
You can uninstall and re-install just the .Net framework, with the only caveat being that any assembly installed to the GAC will need to be re-installed.  Unfortunately, you need admin rights for that as well but I don't see any other way.

You might get real lucky just copying that file off of a friend's workstation, but that likely requires admin rights too, and I wouldn't count on it working.

Author Comment

ID: 21860490
I tried re-installing the dotnetfx.exe at, but it errors on me telling me that they are not the same version.
LVL 18

Expert Comment

ID: 21860645
You need to uninstall the version you have first.  But you'll need admin privileges on the machine to re-install it.

Author Comment

ID: 21861942
OK - I have an administrator doing the uninstall and re-installing of 2.0 spc1, which is what was initially installed, I now have admin to the machine. (yea!), But the corp admin has to provide the right software and version. I'll find out in the morning if it corrects the application. Do you have any idea what causes this to happen and how to avoid it?

Accepted Solution

cottsak earned 500 total points
ID: 21862020
u could have just removed the single assembly from the GAC and replaced it.

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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