HighTechTalks DotNet Forums  

Unable to emit assembly: Referenced assembly does not have a stron

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss Unable to emit assembly: Referenced assembly does not have a stron in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
FASHA
 
Posts: n/a

Default Unable to emit assembly: Referenced assembly does not have a stron - 02-01-2007 , 12:12 AM






"Unable to emit assembly: Referenced assembly 'Interop.FAXCOMEXLib' does not
have a strong name"


I have a COM+ application built using vb.net, it has several components, all
of which are

native components inherited from

System.EnterpriseServices.ServicedComponent, this application is signed by a
strong name

it is registered by regsvcs32 and its up and running fine.

now I am trying to add faxing capabilities to this application using Microsoft

Interop.FAXCOMEXLib.dll (fxcomex.dll)

the problem is that my COM+ application doesnt build now, it fails with an
error message :

Unable to emit assembly: Referenced assembly 'Interop.FAXCOMEXLib' does not
have a strong name


i've tried the tlbimp.exe command but it fails with an error message:

TlbImp error: Unable to locate input type library:
'C:\tarasol\TarasolEngine\bin
\interop.faxcomex.dll\'

seems its trying to locate tlb file to successfully sign the interop
assemble but such tlb doesn't exist anywhere


have anyone tried this before ? is there a solution to add the fxcomex.dll
to a COM+ application and get it successfully built

Thanx in advance,


Reply With Quote
  #2  
Old   
Patrick Steele
 
Posts: n/a

Default Re: Unable to emit assembly: Referenced assembly does not have a stron - 02-01-2007 , 08:30 PM






In article <F988EB45-424A-4845-872F-719D9525175C (AT) microsoft (DOT) com>,
FASHA (AT) discussions (DOT) microsoft.com says...
Quote:
i've tried the tlbimp.exe command but it fails with an error message:

TlbImp error: Unable to locate input type library:
'C:\tarasol\TarasolEngine\bin
\interop.faxcomex.dll\'

seems its trying to locate tlb file to successfully sign the interop
assemble but such tlb doesn't exist anywhere

have anyone tried this before ? is there a solution to add the fxcomex.dll
to a COM+ application and get it successfully built
Is "fxcomex.dll" a COM object?

If so, you'll need to generate the interop assembly yourself using
tlbimp.exe and the /keyfile switch. If you just reference a COM object
from the VS.NET IDE, it generates an interop wrapper, but doesn't use
the /keyfile switch so it is not signed.

Locate "fxcomex.dll" on your hard drive, then create the wrapper
assembly with tlbimp

tlbimp.exe fxcomex.dll /keyfile:mykey.snk /out:interop.faxcomex.dll

Then add a reference to interop.faxcomex.dll.


--
Patrick Steele
http://weblogs.asp.net/psteele


Reply With Quote
  #3  
Old   
FASHA
 
Posts: n/a

Default Re: Unable to emit assembly: Referenced assembly does not have a s - 02-03-2007 , 01:49 AM



Many thanks. that worked out fine

Reply With Quote
  #4  
Old   
xing
 
Posts: n/a

Default Re: Unable to emit assembly: Referenced assembly doesnot have a stron - 04-30-2007 , 07:59 AM





Quote:
In article <F988EB45-424A-4845-872F-719D9525175C (AT) microsoft (DOT) com>,
FASHA (AT) discussions (DOT) microsoft.com says...
i've tried the tlbimp.exe command but it fails with an error message:

TlbImp error: Unable to locate input type library:
'C:\tarasol\TarasolEngine\bin
\interop.faxcomex.dll\'

seems its trying to locate tlb file to successfully sign the interop
assemble but such tlb doesn't exist anywhere

have anyone tried this before ? is there a solution to add the fxcomex.dll
to a COM+ application and get it successfully built
Is "fxcomex.dll" a COM object?

If so, you'll need to generate the interop assembly yourself using
tlbimp.exe and the /keyfile switch. If you just reference a COM object
from the VS.NET IDE, it generates an interop wrapper, but doesn't use
the /keyfile switch so it is not signed.

Locate "fxcomex.dll" on your hard drive, then create the wrapper
assembly with tlbimp

tlbimp.exe fxcomex.dll /keyfile:mykey.snk /out:interop.faxcomex.dll

Then add a reference to interop.faxcomex.dll.


--
Patrick Steele
http://weblogs.asp.net/psteele

_________________________________________________
Hello!How are you?
I'm a chinese student.
Can you give me a faxcomex.dll?
I can't find it in my OS.
Regards and thanks.
my email:xingtaisen (AT) 126 (DOT) com
my msn:xingtaisen (AT) 126 (DOT) com
Can you give me a faxcomex.dll?


___
Newsgroups brought to you courtesy of www.dotnetjohn.com


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.