Using COM+ components

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top