G
Guest
Environment: Server 2003, COM+, MSMQ in workgroup mode
I keep getting the following error/Exception
System.InvalidCastException
Message: No Such interface supporte
CON Exception #: 0x8000400
Created que with the following (no problem)
MessageQueue mq = MessageQueue.Create(@".\Private$\MyPrivateQueue")
when I Execute the following C#
iQc =(IQEmpInsert)Marshal.BindToMoniker("queue:" + @".\Private$\MyPrivateQueue")
I am attempting to use the interface on the following Queued Component under COM+
public interface IQEmpInser
void Insert (int empData, string cnnstr )
[Transaction(TransactionOption.Required)
[Guid ("A4DB88C2-D928-3B92-8D77-1C8C9D547D03")
[InterfaceQueuing(Interface = "Business.IQEmpInsert")
[ClassInterface(ClassInterfaceType.AutoDispatch)
public class busEmployee : ServicedComponent, IQEmpInser
Thanks all
I keep getting the following error/Exception
System.InvalidCastException
Message: No Such interface supporte
CON Exception #: 0x8000400
Created que with the following (no problem)
MessageQueue mq = MessageQueue.Create(@".\Private$\MyPrivateQueue")
when I Execute the following C#
iQc =(IQEmpInsert)Marshal.BindToMoniker("queue:" + @".\Private$\MyPrivateQueue")
I am attempting to use the interface on the following Queued Component under COM+
public interface IQEmpInser
void Insert (int empData, string cnnstr )
[Transaction(TransactionOption.Required)
[Guid ("A4DB88C2-D928-3B92-8D77-1C8C9D547D03")
[InterfaceQueuing(Interface = "Business.IQEmpInsert")
[ClassInterface(ClassInterfaceType.AutoDispatch)
public class busEmployee : ServicedComponent, IQEmpInser
Thanks all