Using COM+ components

  • Thread starter Thread starter John Spiegel
  • Start date Start date
J

John Spiegel

Hi all,

Sorry for the repost but I'm still hopeful...

Is there a way for serviced components built in .NET for COM+ consumption
(so they show as COM objects when adding a reference) to be used in a .NET
project? I'm working through a components section of a book and the
examples keep building a component such that it gets registered in the COM+
catalog. When attempting to add a reference to the object in the project I
get:

"A reference to 'filename' could not be added. Converting the type library
to a .NET assembly failed. Type library filename was exported from a CLR
assembly and cn not be re-imported as a CLR assembly."

Was this previously supported (under 1.0) or is there some setting or...???

Thanks,

John
 
Hi John,
I faced the same problem. Did you get the solution?
If not, When you click on Add Reference tab, click on .NET tab:
If you do not see your library, click browse, select the .dll file of your
library navigating to the directory where your library is stored. Click
Select and add the reference.
Now you can specify your library class using Import statement in your asp
page.

Hope this helps,

SK
 
Back
Top