Thanks,
It was the 2nd point. Nowhere in the article did it
tell me to start the COM+ service. Every other COM+ service I have used has
started automatically. And as a matter of fact I couldn't find this even
mentioned in the MSDN. Seems like this ought to be something mentioned!.
Wonder if this is unique to 3.0 and XP because this has to be a common
problem? I'd also wonder how to ask it to start automatically, but regsvcs
doesn't appear to have a parameter to do that.
However, although after starting it, the messages
disappeared from the primary queue, no database updates happened and none of
my logevent messages logged in the Application log. The messages just moves
down the queues on its 38 minute trip to the deadqueue. I can't see
anywhere in the message display or the properties where it tells you the status
of the message and why it isn't invoking the class. Is there a trick to that
too?
After playing around with this for an hour now. I
still can't figure out why the message can't invoke the class and just moves to
the deadqueue. It's a direct connect queue on the same machine. Destination
shows as
DIRECT=OS:ws1\private$\ordering applications with
queued components
I thought the private queue name with spaces
(Application name with lower cases) was weird but it made no difference with a
single word app name. When it reaches the deadqueue the Application log
shows:
The COM+ Queued Components Player
was unable to create an instance of a Queued Component. CPlayer
BindToObject
Server Application ID:
{42342981-E5AE-4CCB-A34D-2985FD46C604}
Server Application Instance
ID:
{A51E4EA9-52D5-4ACC-BBAD-620DFA2A1FE6}
Server Application Name:
Ordering Applications with queued components
Error Code = 0x80004005 :
Unspecified error
COM+ Services Internals Information:
File:
d:\nt\com\com1x\src\comsvcs\qc\player\player.cpp, Line: 453
Comsvcs.dll file
version: ENU 2001.12.4414.46 shp
But this hardly gives me a clue why it doesn't
invoke the class. What beats me is that this is an example right from a book and
it obviously should work and has probably worked on at least one platform. I
guess it's my MSMQ version or installation that's at fault.
Wray