Solved

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

Posted on 2004-04-06
6
467 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 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