Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Component doesn't register in COM+

10 views
Skip to first unread message

KK

unread,
Jan 23, 2004, 8:50:09 AM1/23/04
to
Hi

I did a simple COM+ and when trying to register it gives the following error

"One or more files do not contain components or type libraries. These files
cannot be installed"

I have tried debug/release both versions, still the same. Before adding I
have compiled teh component with strong naming as well. The option in the
compile option dialog which says "Register for COM interop" have been
enabled as well. stil the same error.

What may be the problem?

thanks
KK


Slava Gurevich

unread,
Jan 23, 2004, 12:30:14 PM1/23/04
to
Do they inherit from EnterpriseServices class?

KK

unread,
Jan 23, 2004, 10:36:37 PM1/23/04
to

Manni Javadi

unread,
Nov 17, 2009, 5:33:01 PM11/17/09
to
Hi
In AssemblyInfo file, Set the ComVisibleAttribute to True:

Assembly: ComVisibleAttribute(True)


From http://www.developmentnow.com/g/19_2004_1_0_0_100927/Component-doesnt-register-in-COM.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/

Albert

unread,
Dec 3, 2009, 2:36:01 PM12/3/09
to
I already did it. But is says "cocreateinstance returned an unexpected type".
Do you have any idea?
It was working fine. But when I delete the registered component, it makes
the error.
Please help me.

"Manni Javadi" wrote:

> .
>

0 new messages