//Cloud notes from my desk -Maheshk

"Fortunate are those who take the first steps.” ― Paulo Coelho

MSMQ – Message sending error [ External component has thrown as exception ..? ]

When I tried to create a simple MSMQ with
help of MSDN, I was taken aback by the below error with no more explanation
about the error. It was telling me some external component has thrown exception…but
where is my external component. I have written only two lines of code..



MessageQueue myQueue = new MessageQueue(@".\MaheshIncoming");

myQueue.Send(“My Test Message”,"My Label);


What wrong with this code, it is exactly same as MSDN

Error Description:

An unhandled exception of type
‘System.Messaging.MessageQueueException’ occurred in System.Messaging.dll

Additional information: External component has thrown an exception.





I no need to explain again here…already
well document here http://support.microsoft.com/kb/828984
( MS KB article- updated April 2007 )

2007-05-24 - Posted by | Uncategorized

No comments yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: