.NET     Console.WriteLine( "All Things .NET" );
.NET Nerd Blog Home
8.02.2002

 

Loosely Coupled Events

Some quirky behavior when creating and installing queued components. (LCE, COM+)

Beware of the version number that gets automatically incremented by default. This causes the regsvcs tool to create a new GUID for the event class, which means there will be multiple entries listed for the event class. If you don't select the correct one for the subscription, it won't work.

Something gets screwed up so that when you add a subscription through the COM+ catalog, you select the interface, then the list of event classes that implement that interface is empty. Still haven't figured out what's going on here.

As a workaround, if the list of event classes is empty, you can check the "use all event classes that support the specified interface" box and it still seems to work. (As long as you know the event class is in fact registered properly.)


Comments: Post a Comment

Powered by Blogger