473,396 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

COM Interop registration failed. Type library exporter can not load required library MSCOREE.TLB.

I have had this error:
'COM Interop registration failed. Type library exporter can not load
required library MSCOREE.TLB.'

I have found a solution, by using the Regmon tool
(http://www.sysinternals.com/Utilities/Regmon.html) - "Extremly cool tool",
I might say. If you remove these keys from you registration database,
it might be working again.

HKEY_CLASSES_ROOT\TypeLib\{5477469E-83B1-11D2-8B49-00A0C9B7C9C4}\2.0
HKEY_CLASSES_ROOT\TypeLib\{BEE4BFEC-6683-3E67-9167-3C0CBC68F40A}\2.0
HKEY_CLASSES_ROOT\TypeLib\{215D64D2-031C-33C7-96E3-61794CD1EE61}\2.0

See if it works. If not keep you Visual Studio.NET running, and use the
regmon by filtering all calls fra DEVENV.
Try compiling, if an error comes up, search through you capture in regmon
for eg. 'v2.0.40607' (if that is the version that you have uninstalled).

Hope this works for you too.

Sincerely

Janus Kamp Hansen
http://www.kamp-hansen.dk
Nov 17 '05 #1
0 2274

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Johan Henningsson | last post by:
Hello, when I try to compile .net projects that is using interop then they fail. I get this error: "COM Interop registration failed. Could not load the assembly to be registered." What can...
0
by: Janus Kamp Hansen | last post by:
I have had this error: 'COM Interop registration failed. Type library exporter can not load required library MSCOREE.TLB.' I have found a solution, by using the Regmon tool...
5
by: Eric St-Onge | last post by:
Hi all, I have a C# DLL containing only interfaces that I want to have a TLB (type library) generated for. For that I use the "Register for COM Interop" compiler option but it gives me the...
0
by: Mark | last post by:
I have created a library that exposes classes to COM clients using the attribute . My library references 2 other libraries, lib1 and lib2, both of which are created by other developers on my...
0
by: Dan Bass | last post by:
One day, out of the blue, anything COM interop related stopped building. When building any project (VB / C#) that has a COM interop interface (my own home grown projects, or a Visual Studio .Net...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
0
by: zoneal | last post by:
I am having two problems concerning COM Interop Registration: While building a project (COM DLL) that has reference to other DLL project (not COM). I getting this error: COM Interop...
2
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
1
by: Varun Bansal | last post by:
Hi, I've written a C# dll and I'm trying to return a "List of structures" to my C++ client application. I'm getting this warning while compiling my C# dll. Warning 1 Type library exporter...
3
by: =?Utf-8?B?U0Q=?= | last post by:
Hi, I'm using the the MSDN sample "COM Interop Part 2 Sample" (CSharpServerWithCOMClient.sln). The C# COM component gets registered when the solution is built. Somehow the component doesn't get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.