Solved

.Net Assembly mscorlib

Posted on 2008-06-24
5
824 Views
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\2.0.0.0__b77a5c561934e089\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.
0
Comment
Question by:teamsport
[X]
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
5 Comments
 
LVL 18

Expert Comment

by:jcoehoorn
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.
0
 

Author Comment

by:teamsport
ID: 21860490
I tried re-installing the dotnetfx.exe at http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en, but it errors on me telling me that they are not the same version.
0
 
LVL 18

Expert Comment

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

Author Comment

by:teamsport
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?
0
 
LVL 6

Accepted Solution

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

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

691 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