all groups > dotnet sdk > august 2004 >
You're in the

dotnet sdk

group:

tlbimp problem


tlbimp problem Helge G Solheim
8/11/2004 11:20:34 AM
dotnet sdk:
Hi,

I am trying to generate RCW PIAs for my COM dlls. One of my DLLs fail with
the error message:
TlbImp error: System.Runtime.InteropServices.COMException - Element not
found.

I am using this command line on the visual studio command line prompt:
tlbimp /primary /nologo /asmversion:3.6.0.1 /strictref
/out:Metis.Team.Interop.Services.Core.dll
/ref:Metis.Team.Interop.Interfaces.ITeamServer.dll
/namespace:Metis.Team.Interop.Services.Core /keyfile:team.snk
...\..\server\bin\servicesr\tsserver.dll

Any hints? Anyone sees this error? (I belive the COMException is a generic
one that something is not found.)

Thanks,
Helge G Solheim, MCSD.net

Re: tlbimp problem Helge G Solheim
8/11/2004 3:41:18 PM
I got it working on our build-server without any changes to the command
itself.

I believe the "TlbImp error: System.Runtime.InteropServices.COMException -
Element not found." message comes from some COM DLL that tlbimp does not
find because it is not properly registered.

Any comments on this?
-Helge


[quoted text, click to view]

AddThis Social Bookmark Button