Solved

two different copies of MSCOREE.DLL-Hell have been loaded

Posted on 2004-04-06
6
468 Views
Last Modified: 2012-05-04
Help!

I've got a serious problem that I cannot get around. After installing Dundas Chart Windows Forms for .NET on my XP Pro system, I began to get a pop-up error message whenever I tried to work on any forms in my project (IDE is Visual Studio .NET 2003). I've since uninstalled the third party software, reinstalled it, reinstalled Visual Studio, and all to no effect. The complete error pop-up reads as follows:

--- begin ---
devenv.exe - MSCOREE.DLL load error (Error code = %X).
Two different copies of MSCOREE.DLL have been loaded.
First copy:
<Unknown>
Second copy:
C:\Windows\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll
This is typically caused by having a registered MSCOREE.DLL that is different from the one that is statically linked to the application.
--- end ---

All the above appears on the pop-up. Then, after pressing OK on the pop-up, I get a message in the form designer space that says:

--- begin ---
An error occurred while loadign the document. Fix the error, and then try loading the document again. The error message follows:
Cannot create a file when that file already exists.
--- end ---

I'm about to go nuts fixing this, because I haven't a clue where to start. Does anyone out there have any knowledge of this problem? Is something corrupted in my XP system files? or is it something messed up in VS.NET 2003?

Thanks for your help,

javanic

0
Comment
Question by:javanic
[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
6 Comments
 
LVL 1

Author Comment

by:javanic
ID: 10777959
BTW, the Dundas folks disclaim any part of this error. In their defense, their software install does not include an MSCOREE.DLL. It is possible that the problem comes from an earlier install some software, though I can't recall what I installed last before this problem started.

In any case, I've got this corrupted system in Visual Studio .NET and don't know how to fix it short of a HDD reformat and reinstall of everything.

0
 
LVL 12

Expert Comment

by:dfiala13
ID: 10778319
Take a wander through the registry and see if you can find the references, and delete the *BAD* one.  

Yes, playing in the Registry is dangerous, but if you are going to nuke and resurrect the box anyway it's worth a shot before you take that step.
0
 
LVL 1

Author Comment

by:javanic
ID: 10784458
Your suggestion is well founded. However, I nuked the drive last night and started over. We'll see if the error is there after I put everything back on the drive.

I had looked through the registry before, however, and did see references to mscoree.dll versions 1.0~ and 1.1~. Probably versions related to .NET 1.0 and 1.1? Both versions appeared so many times that I thought that deleting one would most certainly impair something.

I did find that the Visual Studio .NET 2003 invokes mscoree.dll whenever a form is going to be displayed in the designer. There was a reference to this in some microsoft documentation that I stumbled across during my days of hair pulling and teeth gritting.
0
 
LVL 12

Expert Comment

by:dfiala13
ID: 10784533
Hope you get it working in short order.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 11122215
PAQed, with points refunded (250)

Computer101
E-E Admin
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 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