Hi Nigel,
Just a checklist:
1. Did you call Marshal.ReleaseComObject(iQc) just after you call the
business method on the queued component recorder?
Your code should look like:
iQc = (IQEmpInsert)
Marshal.BindToMoniker(@"queue:/new:Business.busEmployee");
iQc.Insert ("","cnnString");
Marshal.ReleaseComObject(iQc);
2. Did you click on "Refresh" on the view of the application queues? The MMC
will not show you updated data, no matter how many messages are inserted or
removed from that queues. You must "Refresh" to see the actual data.
3. Why do you have any MSMQ triggers set to fire from COM+ application
queues? Are you just trying to receive a notification if something new
"appears" in the queues?
4. Is your queued COM+ Server application running? Did you start it? Are the
"Queued" and "Listen" options of the Queuing tab of the COM+ Server
application properties both set? In case they are not both set, please mark
both the checkboxes, shutdown and restart the COM+ Application.
I'm using queued components on a very large project, based on Windows 2003
Server, COM+ 1.5, MSMQ 3.0 (MSMQ Triggers are not installed), .NET 1.1,
without any problem so far.
HTH,
Marcelo Lavio
> Environment COM+, msmq, sERVER 2003
>
[quoted text clipped - 14 lines]
>
> PS. is there a Trace I can enable ?
Nigel - 24 Apr 2004 13:51 GMT
Thanks but I double checked all these and used the Marshal.ReleaseComObject (iQc)
Still not working
I also moved the code to the COM+ server and called SetComplete() no difference
I also checked the Queue check box on the Components Interface
and have a break point set on the .NET method hosted in the dllhost.exe process which never gets hit when called via the queued interface
I tried stopping the MSMQ service and get the expected error
Is there a way to enable tracing. I get nothing in the Eventlog, No messages stuck in the queue
The triggers were just for testing purposes
Nigel - 24 Apr 2004 19:36 GMT
Problem solved
I had Authentication Checked on the Queue
(playing around a bit to much)
Thanks Marcelo. for making me double check
Nigel