Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

COM Interop registration failed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 13 Jan 2006 16:34 GMT
COM Interop registration failed. Type library exporter can not load required
library MSCOREE.TLB.

I'm currently receiving the above error message when building a sample
walkthrough which demonstrates COM interopability between ESRI's ArcGIS 9.1
and .NET. I'm using VS.NET 2003 Enterprise Developer and creating the
assembly in VB.NET (C# is not an option).

The SQLServer 2005 Beta 2 had been installed on the machine, but it was
uninstalled (about a year ago) when its version of the .NET Framework
(2.0.40607) was incompatible with ArcGIS 9.1. ArcGIS seems to have worked
fine after that.

Encountering this new problem, it appears that the uninstall of SQL Server
2005 Beta 2 was not clean, leaving at least one of the beta framework
components (MSCOREE.DLL) in the Windows\System32 folder (probably because it
was in use at the time) and a considerable number of registry entries.
Replacing the DLL with the earlier version (1.1.4322.573) has not fixed the
problem.

Has anyone else encountered this error after having installed the beta 2.0
.NET Framework and were then able to fix the problem without re-formatting
the drive? Any step-by-step instructions would be appreciated. I don't have
permissions to edit the registry, but I can pass any instructions on to
those who do.

Thanks in advance,

John
vkondepati@avineonindia.com - 16 Jan 2006 03:14 GMT
> COM Interop registration failed. Type library exporter can not load required
> library MSCOREE.TLB.
[quoted text clipped - 25 lines]
>
> John

>Venkat

Please check if Arc Map or Arc Catalog is opened when you are building
the solution. I also got same message.
Regards,
-Venkat
John - 18 Jan 2006 21:01 GMT
It appears the problem was due to removed registry entries for some of the
Framework 1.1 type libraries. By checking my home computer, I was able to
see both the 1.1 and 2.0 (release version) entries for the libraries.
However, the office computer was showing entries only for the 2.0 beta
Framework (2.0.40607). Restoring the registry to provide locations for the
1.1 components fixed the problem. Besides MSCOREE.TLB, there was also an
issue with SYSTEM.TLB and SYSTEM.WINDOWS.FORMS.TLB. It isn't clear how the
1.1 entries were removed, but it may have happened during the uninstall
process of SQL Server 2005 Beta 2.

By the way, there were a huge number of entries for the SQL Server 2005 Beta
2 left in the registry. If anyone has installed this application, there's
quite a bit of work involved if the registry must be manually cleaned.

John

> > COM Interop registration failed. Type library exporter can not load required
> > library MSCOREE.TLB.
[quoted text clipped - 32 lines]
> Regards,
> -Venkat

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.