ch_tech

Cannot add .NET command to ArcCatalog (ArcGIS 9.2)

Discussion created by ch_tech on Apr 7, 2011
Hello,

I created a .NET dll for a command in ArcCatalog with VS 2008.
I registered it on the computer without problems using RegAsm.exe:
    regasm.exe  xxx.dll /tlb /codebase

The problem arises when I want to add the command in ArcCatalog using the "Add from file" button on the Customize Dialog Box: The xxx.tlb file can be located but then the following error appears: No new object added.

Trying to install it using the Categories.exe, the component is found in the .NET Category, but instead of having the path to the dll, there's the following message: "File not found: mscoree.dll". Is this a problem?

Adding the component (xxx.tlb file) directly in the ESRI Gx Commands does not resolve my probem either.

I have tried to unregister/re-register several times, even rebooting the machine, but nothing helps.
Does anybody have a clue on what the problem is??

Thanks
Isabella

Outcomes