Search the web
Sign In
New User? Sign Up
msmq · Microsoft MSMQ Discussion List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 4296 - 4326 of 4356   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#4326 From: Bodlák Martin <martin.bodlak@...>
Date: Fri Oct 7, 2005 12:04 pm
Subject: RE: Possible problem with MQ?
mbodlak
Offline Offline
Send Email Send Email
 
1) Hardly, I do not log timeout errors in my application, since I considered
them harmless :-)
2) Yes, I know that I have to enable notification again, I do this of course.
3) Those applications are not meant for load balancing, they are different
applications for different tasks, making up whole system. The applications
communicate through communication subsystem based on Message Queuing.
But I may decide to increase the interval - the shortest message timer we use is
60sec so I think even 30sec will be enough. Thanks for the idea.

Martin

________________________________

Od: msmq@yahoogroups.com za uživatele Keith Schaab
Odesláno: pá 7.10.2005 2:01
Komu: msmq@yahoogroups.com
Předmět: RE: [msmq] Possible problem with MQ?



Can you determine if you have ArrivedError events occurring with timeout errors
(0xc00e001b)?  In the code below you are going to encounter these every time 10s
elapses without a message arriving in the queue you're receiving from. 
Additionally you will need to call EnableNotification again when you receive the
ArrivedError event if you aren't already doing so.  Is there a specific reason
you have chosen a 10s timeout period in your code?  It may be that you will want
to increase this number and if 7 applications per server are there for load
balancing, I would say that you can also reduce the number of redundant
applications you have running at one time.  Unfortunately I'm not sure what is
causing the hang you are seeing though.



________________________________

From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Bodlák
Martin
Sent: Wednesday, October 05, 2005 11:43 PM
To: msmq@yahoogroups.com
Subject: RE: [msmq] Possible problem with MQ?



I use COM access to MQ functionality (callback interfaces and notification) and
I use

pQueue->EnableNotification(m_pEvent, NULL, &m_vTimeout); // 10000 msec ... 10
sec

There are about 7 applications on every server and they are timeouting every 10
seconds and it can be the error in log with the period about a second. Is it a
possible cause?

You wrote about timeout of 0, but I am not aware that there is some zero timeout
inside my application(s). Can this be some internal MQ/COM issue?



Martin



________________________________

Od: msmq@yahoogroups.com za uživatele Keith Schaab
Odesláno: čt 6.10.2005 0:44
Komu: msmq@yahoogroups.com
Předmět: RE: [msmq] Possible problem with MQ?

Usually this is caused by an attempt to retrieve a message with a timeout of 0. 
This means MSMQ will fail with the error you describe if there isn't a message
in the queue.



________________________________

From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Bodlák
Martin
Sent: Tuesday, October 04, 2005 4:57 AM
To: msmq@yahoogroups.com
Subject: [msmq] Possible problem with MQ?



Hello, I have a win2k domain with MQ installed and running and I have set a
debug mode for extended logging.

Now I have a msmq debug log with messages like



0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: cancel/100, HR: 0xc00e001b, Data-
0x0
0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: qbase/1330, HR: 0xc00e001b, Data-
0x0

nearly every second (we send many messages in our applications). I looked at the
error code and it said "The time specified for MQReceiveMessage to wait for the
message elapsed." I expected the respective system queue would be full of
undelivered messages, but there was only _one_ messages there!



What exactly does this error code mean? Can this be a reason (or a symptom
respectively) for hanging up the whole MQ service? (As it seems we had a problem
of that kind, but I can't  find any clue of what exactly happened...)



BTW, Windows 2000 latest SP, MQ is used via COM interfaces. Application is
written in C++ 7.0 compiled in VisualStudio .NET.



Thanks in advance for any help!

Martin

#4325 From: "Keith Schaab" <keithsc@...>
Date: Fri Oct 7, 2005 12:01 am
Subject: RE: Possible problem with MQ?
keithsc@...
Send Email Send Email
 

Can you determine if you have ArrivedError events occurring with timeout errors (0xc00e001b)?  In the code below you are going to encounter these every time 10s elapses without a message arriving in the queue you’re receiving from.  Additionally you will need to call EnableNotification again when you receive the ArrivedError event if you aren’t already doing so.  Is there a specific reason you have chosen a 10s timeout period in your code?  It may be that you will want to increase this number and if 7 applications per server are there for load balancing, I would say that you can also reduce the number of redundant applications you have running at one time.  Unfortunately I’m not sure what is causing the hang you are seeing though.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Bodlák Martin
Sent: Wednesday, October 05, 2005 11:43 PM
To: msmq@yahoogroups.com
Subject: RE: [msmq] Possible problem with MQ?

 

I use COM access to MQ functionality (callback interfaces and notification) and I use

pQueue->EnableNotification(m_pEvent, NULL, &m_vTimeout); // 10000 msec ... 10 sec

There are about 7 applications on every server and they are timeouting every 10 seconds and it can be the error in log with the period about a second. Is it a possible cause?

You wrote about timeout of 0, but I am not aware that there is some zero timeout inside my application(s). Can this be some internal MQ/COM issue?

 

Martin

 


Od: msmq@yahoogroups.com za uživatele Keith Schaab
Odesláno: čt 6.10.2005 0:44
Komu: msmq@yahoogroups.com
Předmět: RE: [msmq] Possible problem with MQ?

Usually this is caused by an attempt to retrieve a message with a timeout of 0.  This means MSMQ will fail with the error you describe if there isn’t a message in the queue.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Bodlák Martin
Sent: Tuesday, October 04, 2005 4:57 AM
To: msmq@yahoogroups.com
Subject: [msmq] Possible problem with MQ?

 

Hello, I have a win2k domain with MQ installed and running and I have set a debug mode for extended logging.

Now I have a msmq debug log with messages like

 

0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: cancel/100, HR: 0xc00e001b, Data- 0x0
0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: qbase/1330, HR: 0xc00e001b, Data- 0x0

nearly every second (we send many messages in our applications). I looked at the error code and it said "The time specified for MQReceiveMessage to wait for the message elapsed." I expected the respective system queue would be full of undelivered messages, but there was only _one_ messages there!

 

What exactly does this error code mean? Can this be a reason (or a symptom respectively) for hanging up the whole MQ service? (As it seems we had a problem of that kind, but I can't  find any clue of what exactly happened...)

 

BTW, Windows 2000 latest SP, MQ is used via COM interfaces. Application is written in C++ 7.0 compiled in VisualStudio .NET.

 

Thanks in advance for any help!

Martin

 


#4324 From: Bodlák Martin <martin.bodlak@...>
Date: Thu Oct 6, 2005 6:42 am
Subject: RE: Possible problem with MQ?
mbodlak
Offline Offline
Send Email Send Email
 
I use COM access to MQ functionality (callback interfaces and notification) and
I use
pQueue->EnableNotification(m_pEvent, NULL, &m_vTimeout); // 10000 msec ... 10
sec

There are about 7 applications on every server and they are timeouting every 10
seconds and it can be the error in log with the period about a second. Is it a
possible cause?
You wrote about timeout of 0, but I am not aware that there is some zero timeout
inside my application(s). Can this be some internal MQ/COM issue?

Martin

________________________________

Od: msmq@yahoogroups.com za uživatele Keith Schaab
Odesláno: čt 6.10.2005 0:44
Komu: msmq@yahoogroups.com
Předmět: RE: [msmq] Possible problem with MQ?



Usually this is caused by an attempt to retrieve a message with a timeout of 0. 
This means MSMQ will fail with the error you describe if there isn't a message
in the queue.



________________________________

From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Bodlák
Martin
Sent: Tuesday, October 04, 2005 4:57 AM
To: msmq@yahoogroups.com
Subject: [msmq] Possible problem with MQ?



Hello, I have a win2k domain with MQ installed and running and I have set a
debug mode for extended logging.

Now I have a msmq debug log with messages like



0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: cancel/100, HR: 0xc00e001b, Data-
0x0
0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: qbase/1330, HR: 0xc00e001b, Data-
0x0

nearly every second (we send many messages in our applications). I looked at the
error code and it said "The time specified for MQReceiveMessage to wait for the
message elapsed." I expected the respective system queue would be full of
undelivered messages, but there was only _one_ messages there!



What exactly does this error code mean? Can this be a reason (or a symptom
respectively) for hanging up the whole MQ service? (As it seems we had a problem
of that kind, but I can't  find any clue of what exactly happened...)



BTW, Windows 2000 latest SP, MQ is used via COM interfaces. Application is
written in C++ 7.0 compiled in VisualStudio .NET.



Thanks in advance for any help!

Martin

#4323 From: "Yoel Arnon" <Yoel_Arnon@...>
Date: Wed Oct 5, 2005 10:45 pm
Subject: RE: Possible problem with MQ?
yoel_arnon
Offline Offline
Send Email Send Email
 

Hi Martin,

You will get error 0xc00e001b (MQ_ERROR_IO_TIMEOUT) each time you attempt to receive a message with a timeout, the queue is empty, and no new message arrives in the queue within the given timeout. When do you call Receive? Are you sure the queue you are receiving from is never empty?

 

All the best,

Yoel Arnon

www.msmq.biz

 

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Bodl?k Martin
Sent: Tuesday, October 04, 2005 2:57 PM
To: msmq@yahoogroups.com
Subject: [msmq] Possible problem with MQ?

 

Hello, I have a win2k domain with MQ installed and running and I have set a debug mode for extended logging.

Now I have a msmq debug log with messages like

 

0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: cancel/100, HR: 0xc00e001b, Data- 0x0
0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: qbase/1330, HR: 0xc00e001b, Data- 0x0

nearly every second (we send many messages in our applications). I looked at the error code and it said "The time specified for MQReceiveMessage to wait for the message elapsed." I expected the respective system queue would be full of undelivered messages, but there was only _one_ messages there!

 

What exactly does this error code mean? Can this be a reason (or a symptom respectively) for hanging up the whole MQ service? (As it seems we had a problem of that kind, but I can't  find any clue of what exactly happened...)

 

BTW, Windows 2000 latest SP, MQ is used via COM interfaces. Application is written in C++ 7.0 compiled in VisualStudio NET.

 

Thanks in advance for any help!

Martin

 



#4322 From: "Keith Schaab" <keithsc@...>
Date: Wed Oct 5, 2005 10:44 pm
Subject: RE: Possible problem with MQ?
keithsc@...
Send Email Send Email
 

Usually this is caused by an attempt to retrieve a message with a timeout of 0.  This means MSMQ will fail with the error you describe if there isn’t a message in the queue.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Bodlák Martin
Sent: Tuesday, October 04, 2005 4:57 AM
To: msmq@yahoogroups.com
Subject: [msmq] Possible problem with MQ?

 

Hello, I have a win2k domain with MQ installed and running and I have set a debug mode for extended logging.

Now I have a msmq debug log with messages like

 

0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: cancel/100, HR: 0xc00e001b, Data- 0x0
0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: qbase/1330, HR: 0xc00e001b, Data- 0x0

nearly every second (we send many messages in our applications). I looked at the error code and it said "The time specified for MQReceiveMessage to wait for the message elapsed." I expected the respective system queue would be full of undelivered messages, but there was only _one_ messages there!

 

What exactly does this error code mean? Can this be a reason (or a symptom respectively) for hanging up the whole MQ service? (As it seems we had a problem of that kind, but I can't  find any clue of what exactly happened...)

 

BTW, Windows 2000 latest SP, MQ is used via COM interfaces. Application is written in C++ 7.0 compiled in VisualStudio .NET.

 

Thanks in advance for any help!

Martin

 



#4321 From: Bodlák Martin <martin.bodlak@...>
Date: Tue Oct 4, 2005 11:56 am
Subject: Possible problem with MQ?
mbodlak
Offline Offline
Send Email Send Email
 
Hello, I have a win2k domain with MQ installed and running and I have set a debug mode for extended logging.
Now I have a msmq debug log with messages like
 
0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: cancel/100, HR: 0xc00e001b, Data- 0x0
0xaf8> Wed Sep 21 02:41:42 2005: DRIVER Error: qbase/1330, HR: 0xc00e001b, Data- 0x0
nearly every second (we send many messages in our applications). I looked at the error code and it said "The time specified for MQReceiveMessage to wait for the message elapsed." I expected the respective system queue would be full of undelivered messages, but there was only _one_ messages there!
 
What exactly does this error code mean? Can this be a reason (or a symptom respectively) for hanging up the whole MQ service? (As it seems we had a problem of that kind, but I can't  find any clue of what exactly happened...)
 
BTW, Windows 2000 latest SP, MQ is used via COM interfaces. Application is written in C++ 7.0 compiled in VisualStudio .NET.
 
Thanks in advance for any help!
Martin
 

#4320 From: "guyg42" <guyg42@...>
Date: Thu Sep 8, 2005 11:41 am
Subject: Re: Problem with Virtual PC
guyg42
Offline Offline
Send Email Send Email
 
Well, we solved the problem ourselves. Here's a full description of
the issue.

== MSMQ Message-IDs ==
Each MSMQ message has a unique ID, which consists of a 16-byte GUID
(most likely the sending computer's GUID), and a 4-byte sequence
number.

The sequence number is a global counter used by the MSMQ service for
all outgoing sessions from a given computer, and is kept persistent
in the registry:
Key=''HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters'';
Value=''MessageID''. (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/wcemsmq/html/coconmsmqregistrykeys.asp)

When MSMQ is used for the first time in a system (the registry value
doesn't exist), the counter is initialized to 0.

Example:
Computer A sends messages to computer B (A's GUID is "E5466CD4-E888-
4FEE-9A82-C02453F92EAF"). Computer B's queue might look like this:

   {E5466CD4-E888-4FEE-9A82-C02453F92EAF}\1
   {E5466CD4-E888-4FEE-9A82-C02453F92EAF}\2

It could also look like this:

   {E5466CD4-E888-4FEE-9A82-C02453F92EAF}\1
   {E5466CD4-E888-4FEE-9A82-C02453F92EAF}\17

In the latter case, the "missing" messages might arrive at a later
time (perhaps they are delayed due to routing).
However, they might also never arrive at all! Since the counter is
global and used in all outgoing sessions, computer A might simply
have sent the "missing" messages to someone else.

== MSMQ duplicate message removal mechanism ==
MSMQ caches incoming message-IDs, and automatically drops new
incoming messages with the same IDs. The so-called duplicate
messages are eliminated before entering the queue, meaning
applications never get to see them.

This is easily spotted when sniffing the network: one sees a message
sent from computer A to computer B, but the message itself never
makes it to the actual queue.

By default, MSMQ keeps track of the last 10,000 messages that
arrived to the computer and purges them after 30 minutes.
Cache size and purge timeout can be changed using the registry (see
http://support.microsoft.com/default.aspx?scid=kb;EN-US;255546), and
the entire mechanism can be disabled by setting the cache size to 0.
Changes probably require restarting the MSMQ service.

Note that according to documentation, the cache is not per-queue or
per-sender, but global to all queues and all senders. Empirically,
this is indeed the case, with one minor exception: local messages
(sending computer = receiving computer) are not cached. IP addresses
do not seem to make any difference, so my guess is that this is done
by comparing the sender's GUID with the local computer's one.

== The problem: VM Reversion ==
Computer A is a VM, sending messages to computer B.
At some point in time, computer A is reverted to its zero-state, and
sends some more messages to computer B.

Since computer A's GUID is the same, and its internal counter
is "rolled back" - new messages sent from computer A have Message-
IDs already seen by computer B. Computer B's duplicate message
removal mechanism then drops them before they enter the incoming
queue.

Bottom line: '''Messages sent from computer A don't make it to
computer B's queue, with no indication whatsoever.'''


--- In msmq@yahoogroups.com, Guy Gur-Ari <guyg42@y...> wrote:
> Hi,
> I'm having a strange problem involving Microsoft
> Virtual PC and MSMQ. I'm trying to communicate between
> the host and the guest VM using MSMQ.
>
> The setup: XP Pro + SP2 on both machines. The guest VM
> uses undo-disks.
>
> The procedure I use is as follows:
> - Start guest VM from saved state
> - Send message host -> guest
> - Send message guest -> host
> - Turn off guest VM, deleting undo-disk changes
> - Revert the VM to a base state by copying the
> backed-up configuration and saved-state files
> - Start guest VM from saved state
> - Send message host -> guest
>
> So far everything works. The final step:
>
> - Send message guest -> host
>
> This step fails: The message leaves the ougoing queue
> on the guest, but *never arrives at the host*.
> Sniffing the (virtual) network reveals the data does
> actually get to the host, so MSMQ probably discards it
> for some reason.
>
> The problem doesn't occur when using real computers
> and a real network (but there's no real reversion step
> there -- instead, we just rebooted the 'guest' machine
> with the network cable disconnected).
>
> The only workaround I found so far is to restart the
> MSMQ service on the host, but that isn't acceptable in
> our product.
>
> Any help you might offer with this will be greatly
> appreciated.
>
> Best wishes,
> Guy Gur-Ari

#4319 From: Neelima Rajesh <neelimasmail@...>
Date: Tue Sep 6, 2005 4:40 am
Subject: RE: Not able to create queue in remote machine.
neelimasmail
Offline Offline
Send Email Send Email
 
Thank you Yoel for the mail. Actually I am not getting any error code while I send the mail.
Mail is sent with 0 as error code.But the mail fails to reach the destination queue and instead reaches dead letter queue of remote machine with a message Bad signature if the format
name has "PRIVATE$" keyword, if it is missing the messageis Bad message.

Hi Neelima,

Most probably, you bumped into a permission problem – the loca user is not allowed to create queues on the remote machine. Use Active Directory Users & Computers snap-in to check the permissions on the “msmq” object under the computer object.

 

What was the error code you got?

 

All the best,

Yoel

www.msmq.biz

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Neelima Rajesh
Sent: Wednesday, August 31, 2005 12:49 PM
To: msmq@yahoogroups.com
Subject: [msmq] Not able to create queue in remote machine.

 

hi friends,

 

I was using MQCreateQueue function to create queue ti a remote machine.I was not able to create nor send any message(explicitly created) from my machine to remote machine.This works well with local machine.

 

My code is as follows.

 

MQQUEUEPROPS QueueProps;
 PROPVARIANT aVariant[10];
 QUEUEPROPID aPropId[10];
 DWORD PropIdCount = 0;
 HRESULT hr;
 DWORD dwFormatNameBufferLength = 256;
 PSECURITY_DESCRIPTOR pSecurityDescriptor;
 WCHAR szFormatNameBuffer[ 256];

 aPropId[PropIdCount]=PROPID_Q_PATHNAME;
 aVariant[PropIdCount].vt=VT_LPWSTR;
 aVariant[PropIdCount].pwszVal=L"Btt10\\Test1";
 
 PropIdCount++;
 
 aPropId[PropIdCount]=PROPID_Q_LABEL;  //Property identifier
 aVariant[PropIdCount].vt =VT_LPWSTR; //Type Indicator
 aVariant[PropIdCount].pwszVal =L"Test_Queue";
 
 
 PropIdCount++;


 QueueProps.cProp =PropIdCount;
 QueueProps.aPropID =aPropId;
 QueueProps.aPropVar =aVariant;
 QueueProps.aStatus =NULL;
 pSecurityDescriptor =NULL;
 
 DWORD dwSecurityBuffer=256;
 DWORD length=256;

 

hr =MQCreateQueue(

pSecurityDescriptor,&QueueProps,szFormatNameBuffer,&dwFormatNameBufferLength); 

 

 I was not able to find the corresponding error message in the list given in msdn.

can anyone help me for the same?

 

Thanx in advance

 

neelima


Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.


Click here to donate to the Hurricane Katrina relief effort.

#4318 From: Neelima Rajesh <neelimasmail@...>
Date: Tue Sep 6, 2005 4:34 am
Subject: sending to remote message in remote queue fails
neelimasmail
Offline Offline
Send Email Send Email
 
Frank,
 
Thanks a lot for your mail.
 
I got the error in computer management as bad signature if I send format name as DIRECT=OS:btt10\\PRIVATE$\\RemoteQueue, if I send DIRECT=OS:btt10\\RemoteQueue
I receive bad destination message in computer mgmt.
 
Btt10 is in the same domain (workgroup).According to your reply I have PROPID_M_SENDERID_TYPE to MQMSG_SENDERID_TYPE_NONE.
 
Still it is falling in the DeadLetter Queue of the computer management.
Regards
neelima.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#4317 From: "Yoel Arnon" <Yoel_Arnon@...>
Date: Sun Sep 4, 2005 10:11 pm
Subject: RE: Not able to create queue in remote machine.
yoel_arnon
Offline Offline
Send Email Send Email
 

Hi Neelima,

Most probably, you bumped into a permission problem – the loca user is not allowed to create queues on the remote machine. Use Active Directory Users & Computers snap-in to check the permissions on the “msmq” object under the computer object.

 

What was the error code you got?

 

All the best,

Yoel

www.msmq.biz

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Neelima Rajesh
Sent: Wednesday, August 31, 2005 12:49 PM
To: msmq@yahoogroups.com
Subject: [msmq] Not able to create queue in remote machine.

 

hi friends,

 

I was using MQCreateQueue function to create queue ti a remote machine.I was not able to create nor send any message(explicitly created) from my machine to remote machine.This works well with local machine.

 

My code is as follows.

 

MQQUEUEPROPS QueueProps;
 PROPVARIANT aVariant[10];
 QUEUEPROPID aPropId[10];
 DWORD PropIdCount = 0;
 HRESULT hr;
 DWORD dwFormatNameBufferLength = 256;
 PSECURITY_DESCRIPTOR pSecurityDescriptor;
 WCHAR szFormatNameBuffer[ 256];

 aPropId[PropIdCount]=PROPID_Q_PATHNAME;
 aVariant[PropIdCount].vt=VT_LPWSTR;
 aVariant[PropIdCount].pwszVal=L"Btt10\\Test1";
 
 PropIdCount++;
 
 aPropId[PropIdCount]=PROPID_Q_LABEL;  //Property identifier
 aVariant[PropIdCount].vt =VT_LPWSTR; //Type Indicator
 aVariant[PropIdCount].pwszVal =L"Test_Queue";
 
 
 PropIdCount++;


 QueueProps.cProp =PropIdCount;
 QueueProps.aPropID =aPropId;
 QueueProps.aPropVar =aVariant;
 QueueProps.aStatus =NULL;
 pSecurityDescriptor =NULL;
 
 DWORD dwSecurityBuffer=256;
 DWORD length=256;

 

hr =MQCreateQueue(

pSecurityDescriptor,&QueueProps,szFormatNameBuffer,&dwFormatNameBufferLength); 

 

 I was not able to find the corresponding error message in the list given in msdn.

can anyone help me for the same?

 

Thanx in advance

 

neelima


Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.


#4316 From: Guy Gur-Ari <guyg42@...>
Date: Sun Sep 4, 2005 10:44 am
Subject: Problem with Virtual PC
guyg42
Offline Offline
Send Email Send Email
 
Hi,
I'm having a strange problem involving Microsoft
Virtual PC and MSMQ. I'm trying to communicate between
the host and the guest VM using MSMQ.

The setup: XP Pro + SP2 on both machines. The guest VM
uses undo-disks.

The procedure I use is as follows:
- Start guest VM from saved state
- Send message host -> guest
- Send message guest -> host
- Turn off guest VM, deleting undo-disk changes
- Revert the VM to a base state by copying the
backed-up configuration and saved-state files
- Start guest VM from saved state
- Send message host -> guest

So far everything works. The final step:

- Send message guest -> host

This step fails: The message leaves the ougoing queue
on the guest, but *never arrives at the host*.
Sniffing the (virtual) network reveals the data does
actually get to the host, so MSMQ probably discards it
for some reason.

The problem doesn't occur when using real computers
and a real network (but there's no real reversion step
there -- instead, we just rebooted the 'guest' machine
with the network cable disconnected).

The only workaround I found so far is to restart the
MSMQ service on the host, but that isn't acceptable in
our product.

Any help you might offer with this will be greatly
appreciated.

Best wishes,
Guy Gur-Ari

#4314 From: "kala_sreedevi" <ksreedevi@...>
Date: Fri Aug 12, 2005 1:16 pm
Subject: Accessing msmq private queues on a cluster from an asp page
kala_sreedevi
Offline Offline
Send Email Send Email
 
I have a service which receives messages from an external system and
updates a database while using msmq private queues internally. I was
able to move over this part to the cluster setup on 2003 server
successfully.

I also have a monitoring part which is written in asp and C++ COM
components that reads how many messages are in the queues at any given
time. How do I make this asp page cluster aware? It doesn't seem to be
able to see the queues right now. I tried adding it to the cluster
resource, but I might have done it incorrectly. It still cannot see any
of the queues.

thanks

#4313 From: "Vijay Mohan. D" <vijaymohan1979@...>
Date: Fri Aug 5, 2005 12:40 am
Subject: RE: Help need on Exception "Insufficient resources to perform operation"
vijaymohan1979
Offline Offline
Send Email Send Email
 

Split the message and send it, never send messages of this size

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of vivek.khandade@...
Sent: Thursday, August 04, 2005 8:40 AM
To: msmq@yahoogroups.com
Subject: [msmq] Help need on Exception "Insufficient resources to perform operation"

 


Hi ,
      Please help me out to solve the "Insufficient resources to
perform operation." MSMQ exception  when passing a message of size more
than 4MB , so is there any way to increase the message body size limit.


Regards,
Vivek Khandade


#4312 From: <vivek.khandade@...>
Date: Thu Aug 4, 2005 3:39 pm
Subject: Help need on Exception "Insufficient resources to perform operation"
vivek_khandade
Offline Offline
Send Email Send Email
 
Hi ,
	 Please help me out to solve the "Insufficient resources to
perform operation." MSMQ exception  when passing a message of size more
than 4MB , so is there any way to increase the message body size limit.


Regards,
Vivek Khandade

#4311 From: "Helmut Keilhammer" <comworks_hk@...>
Date: Wed Jul 20, 2005 11:21 am
Subject: configure iis and msmq for https://
comworks_hk
Offline Offline
Send Email Send Email
 
hello,
i configured msmq to transfere messages via http:// from one ad to
another ad via a tsfd server in a dmz.
all works fine.

now i want to use https to transfere the messages.

our admin created server certs for all 3 systems (full dns-names) and
imported them into the systems. they also imported the ca certs to the
trusted root ca store.

if i send a message via https, it is shown in the outgoing queue with
state "waiting to connect"

any idea whats wrong?

thanks
helmut

#4310 From: "thulasmpofu" <thulasmpofu@...>
Date: Fri Jul 22, 2005 6:49 am
Subject: Compressed msmq messages
thulasmpofu
Offline Offline
Send Email Send Email
 
Is there a property that I can set to send the message body compressed?

Thamks

#4309 From: "Vijay Mohan. D" <vijaymohan1979@...>
Date: Fri Jul 15, 2005 10:31 pm
Subject: RE: URGENT - In Call attribute of a COM component
vijaymohan1979
Offline Offline
Send Email Send Email
 

To help you:

 

I remember there is code to access the COM+ add in in windows within a book written by Juwal Lowy. You can get the details from there, it is not too difficult.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Keith Schaab
Sent: Friday, July 15, 2005 1:40 PM
To: msmq@yahoogroups.com; gof@yahoogroups.com; seca boys; Shams Rattani
Subject: RE: [msmq] URGENT - In Call attribute of a COM component

 

This distribution list is for MSMQ not for COM+ questions.  While I’m not saying that it is bad you posted this question here, if you are relying on just this distribution list providing your answer you might not get one.  I would suggest going to a COM+ specific DL or the Microsoft developer newsgroups for COM+ (http://msdn.microsoft.com/newsgroups/) for a better chance of getting an answer to your question.  My guess is you would get this information from the COM+ admin api.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Zubair Niazi
Sent: Wednesday, July 13, 2005 6:07 AM
To: msmq@yahoogroups.com; gof@yahoogroups.com; seca boys; Shams Rattani
Subject: [msmq] URGENT - In Call attribute of a COM component

 

<please reply soon>

         In the COM+ Application Administration snap-in of the MMC you can see in the status-         view of an COM+ application component, an attribute called In Call. I wan't to get

         this attribute through VC++

 

         Actually, what I've to do is to get the names of all those components whose In Call

         attribute has a non-null value.

 

         Could any one help me?

 

         Awaiting your reply.

</please reply soon>

It's serious and quick response is need my pal.

 

I have looked in the MSDN but could not figure out which property represents the In Call attribute of a component.

 

Zubair Niazi

 

Contact

            0333-3174421

            (021)2257387

            zubbee2002@...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!


SPONSORED LINKS

Microsoft software

Microsoft business software

Microsoft

Business application

 

 


#4308 From: "Keith Schaab" <keithsc@...>
Date: Fri Jul 15, 2005 8:40 pm
Subject: RE: URGENT - In Call attribute of a COM component
keithsc@...
Send Email Send Email
 

This distribution list is for MSMQ not for COM+ questions.  While I’m not saying that it is bad you posted this question here, if you are relying on just this distribution list providing your answer you might not get one.  I would suggest going to a COM+ specific DL or the Microsoft developer newsgroups for COM+ (http://msdn.microsoft.com/newsgroups/) for a better chance of getting an answer to your question.  My guess is you would get this information from the COM+ admin api.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Zubair Niazi
Sent: Wednesday, July 13, 2005 6:07 AM
To: msmq@yahoogroups.com; gof@yahoogroups.com; seca boys; Shams Rattani
Subject: [msmq] URGENT - In Call attribute of a COM component

 

<please reply soon>

         In the COM+ Application Administration snap-in of the MMC you can see in the status-         view of an COM+ application component, an attribute called In Call. I wan't to get

         this attribute through VC++

 

         Actually, what I've to do is to get the names of all those components whose In Call

         attribute has a non-null value.

 

         Could any one help me?

 

         Awaiting your reply.

</please reply soon>

It's serious and quick response is need my pal.

 

I have looked in the MSDN but could not figure out which property represents the In Call attribute of a component.

 

Zubair Niazi

 

Contact

            0333-3174421

            (021)2257387

            zubbee2002@...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



#4307 From: "Vijay Mohan. D" <vijaymohan1979@...>
Date: Wed Jul 13, 2005 6:01 pm
Subject: RE: FW: program - is it possible?
vijaymohan1979
Offline Offline
Send Email Send Email
 

You are right

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Moray McConnachie
Sent: Wednesday, July 13, 2005 1:28 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] FW: program - is it possible?

 

Sorry if this is a spoil-sport question, but why wouldn't one want to achieve this through email, which is offline chat at its finest?

Yours,
Moray

-------------------------------------------
Moray McConnachie
IT Manager  - mmcconna@...
Oxford Analytica -      http://www.oxan.com

-----Original Message-----
From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com]On Behalf Of
Vijay Mohan. D
Sent: 12 July 2005 18:30
To: msmq@yahoogroups.com
Subject: RE: [msmq] FW: program - is it possible?


Why not?

If the communication is all the time through MSMQ, it is possible, but I am
not sure how feasible or secure it is to do this on a live ip on the web

On an intranet, it is a great idea. Every user machine can have a queue, and
when you send messages to a user, it will go and remain on that queue until
he picks it up. This is a distributed way so that too many messages on one
whole network queue does not cause problems.

Keep messages in binary of smallest size.

-----Original Message-----
From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of
Isemete
Sent: Tuesday, July 12, 2005 5:47 AM
To: msmq@yahoogroups.com
Subject: [msmq] FW: program - is it possible?

            Hello!

            I have one idea - to create program "Offline Chat".
I.e. relations take place in offline. For example You create new message
(letter) and send it to Your interlocutor.
After that He answers on it in offline and send it to me.
            I'm beginner in MSMQ. So I have question - is it possible to
create such program using MSMQ.

P.S. Of course, in program supporting addition files.

Best regards, from Russia
Victor





*** Please help the MSMQ mailing list grow - invite your colleagues and
Business Partners to join!
Yahoo! Groups Links










*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!
Yahoo! Groups Links








*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



#4306 From: Zubair Niazi <zubbee2002@...>
Date: Wed Jul 13, 2005 1:07 pm
Subject: URGENT - In Call attribute of a COM component
zubbee2002
Offline Offline
Send Email Send Email
 
<please reply soon>
         In the COM+ Application Administration snap-in of the MMC you can see in the status-         view of an COM+ application component, an attribute called In Call. I wan't to get
         this attribute through VC++
 
         Actually, what I've to do is to get the names of all those components whose In Call
         attribute has a non-null value.
 
         Could any one help me?
 
         Awaiting your reply.
</please reply soon>
It's serious and quick response is need my pal.
 
I have looked in the MSDN but could not figure out which property represents the In Call attribute of a component.


Zubair Niazi
 
Contact
            0333-3174421
            (021)2257387
            zubbee2002@...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#4305 From: "Moray McConnachie" <mmcconna@...>
Date: Wed Jul 13, 2005 8:28 am
Subject: RE: FW: program - is it possible?
rmcubed
Offline Offline
Send Email Send Email
 
Sorry if this is a spoil-sport question, but why wouldn't one want to achieve
this through email, which is offline chat at its finest?

Yours,
Moray

-------------------------------------------
Moray McConnachie
IT Manager  - mmcconna@...
Oxford Analytica -      http://www.oxan.com

-----Original Message-----
From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com]On Behalf Of
Vijay Mohan. D
Sent: 12 July 2005 18:30
To: msmq@yahoogroups.com
Subject: RE: [msmq] FW: program - is it possible?


Why not?

If the communication is all the time through MSMQ, it is possible, but I am
not sure how feasible or secure it is to do this on a live ip on the web

On an intranet, it is a great idea. Every user machine can have a queue, and
when you send messages to a user, it will go and remain on that queue until
he picks it up. This is a distributed way so that too many messages on one
whole network queue does not cause problems.

Keep messages in binary of smallest size.

-----Original Message-----
From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of
Isemete
Sent: Tuesday, July 12, 2005 5:47 AM
To: msmq@yahoogroups.com
Subject: [msmq] FW: program - is it possible?

            Hello!

            I have one idea - to create program "Offline Chat".
I.e. relations take place in offline. For example You create new message
(letter) and send it to Your interlocutor.
After that He answers on it in offline and send it to me.
            I'm beginner in MSMQ. So I have question - is it possible to
create such program using MSMQ.

P.S. Of course, in program supporting addition files.

Best regards, from Russia
Victor





*** Please help the MSMQ mailing list grow - invite your colleagues and
Business Partners to join!
Yahoo! Groups Links










*** Please help the MSMQ mailing list grow - invite your colleagues and Business
Partners to join!
Yahoo! Groups Links

#4304 From: "Vijay Mohan. D" <vijaymohan1979@...>
Date: Tue Jul 12, 2005 5:30 pm
Subject: RE: FW: program - is it possible?
vijaymohan1979
Offline Offline
Send Email Send Email
 
Why not?

If the communication is all the time through MSMQ, it is possible, but I am
not sure how feasible or secure it is to do this on a live ip on the web

On an intranet, it is a great idea. Every user machine can have a queue, and
when you send messages to a user, it will go and remain on that queue until
he picks it up. This is a distributed way so that too many messages on one
whole network queue does not cause problems.

Keep messages in binary of smallest size.

-----Original Message-----
From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of
Isemete
Sent: Tuesday, July 12, 2005 5:47 AM
To: msmq@yahoogroups.com
Subject: [msmq] FW: program - is it possible?

            Hello!

            I have one idea - to create program "Offline Chat".
I.e. relations take place in offline. For example You create new message
(letter) and send it to Your interlocutor.
After that He answers on it in offline and send it to me.
            I'm beginner in MSMQ. So I have question - is it possible to
create such program using MSMQ.

P.S. Of course, in program supporting addition files.

Best regards, from Russia
Victor





*** Please help the MSMQ mailing list grow - invite your colleagues and
Business Partners to join!
Yahoo! Groups Links

#4303 From: "Isemete" <vicjestem.ru@...>
Date: Tue Jul 12, 2005 12:47 pm
Subject: FW: program - is it possible?
vicjestem.ru@...
Send Email Send Email
 
ššššššššššš Hello!

ššššššššššš I have one idea - to create program "Offline Chat".
I.e. relations take place in offline. For example You create new message
(letter) and send it to Your interlocutor.
After that He answers on it in offline and send it to me.
ššššššššššš I'm beginner in MSMQ. So I have question - is it possible to
create such program using MSMQ.

P.S. Of course, in program supporting addition files.

Best regards, from Russia
Victor

#4302 From: "Dave Misc" <davemisc@...>
Date: Wed Jul 6, 2005 1:26 pm
Subject: RE: Using a MSMQ Trigger to call a .net web service
davidpet86
Offline Offline
Send Email Send Email
 

Mark,

 

The MSMQ Trigger functionality is fairly simple.  Your component does not need to be aware of MSMQ.  The MSMQ framework can be configured to execute a COM component and pass in different properties as parameters to a method. 

 

Because it interfaces with COM via the IDispatch interface, you have to use Interop.  You will want to design your component to define an Interface and then your component implements the interface.  This will help make sure the appropriate interop interfaces are available for MSMQ Triggers to call your component.

 

HTH,

Dave

 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msmq/msmq_about_triggers_114j.asp

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/e38ba1f9-3acb-408c-9b9f-cbc08ae0704b.mspx

 

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Wednesday, July 06, 2005 8:49 AM
To: msmq@yahoogroups.com
Subject: [msmq] Using a MSMQ Trigger to call a .net web service

 

Hi All,

 

Has anyone used a trigger to call a .net web service? 

 

I will be creating a web service to do most of my database work and would like to call it when certain messages come in to my queue.

 

Any help/code/links would be appreciated.

 

Thanks,

Mark



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



#4301 From: Mark E <meckeard2000@...>
Date: Wed Jul 6, 2005 12:48 pm
Subject: Using a MSMQ Trigger to call a .net web service
meckeard2000
Offline Offline
Send Email Send Email
 
Hi All,
 
Has anyone used a trigger to call a .net web service? 
 
I will be creating a web service to do most of my database work and would like to call it when certain messages come in to my queue.
 
Any help/code/links would be appreciated.
 
Thanks,
Mark

#4300 From: Mark E <meckeard2000@...>
Date: Tue Jul 5, 2005 11:18 am
Subject: RE: New member with MSMQ question - SOLVED!
meckeard2000
Offline Offline
Send Email Send Email
 
Guys,
 
After some additional testing and speaking with the vendors tech guy, we were able to successfully send messages!  We found out that the vendor needed to update the mapping files on their side.  Once this was done, the messages were received.
 
I want to thank Vijay and Dave for all your help.  It was a tremendous help!
 
Mark

Mark E <meckeard2000@...> wrote:
Guys,
 
I was able to send messages to another server on my network but that's it.
 
I read the manual from the link that Dave sent and updated my mapping file like this:
 
<mapping host="localhost" xmlns="msmq-queue-mapping.xml">
  <!-- Element that maps an internal application queue name to an external one.
  <queue>
      <name>http://msmq.vendor.com/msmq/private$/wlmasteadev01_isiplayground_in</name>
      <alias>HTTP://mypc/msmq/private$/pvtDEV01</alias>
  </queue>
 -->
  <!-- Element that maps an internal MSMQ order queue to an external one. It is needed in order
      to send transactional messages to a destination queue outside the organization.
  <queue>
      <name>http://msmq.vendor.com/msmq/private$/wlmasteadev01_isiplayground_in</name>
      <alias>HTTP://mypc/msmq/private$/pvtDEV01</alias>
  </queue>
 -->
</mapping>
 
But I still see the messages stuck in my outgoing queue.
 
I've seen an article that stated that my above 2 entries (name & alias) were backwards, but switching them gave me the same results.
 
Any more ideas?
 
Thanks,
Mark

Mark E <meckeard2000@...> wrote:
Vijay / Dave,

I can't assign a live IP to my PC as I am at work and
behind a firewall and do not have that capability.

My first thought was this caused the issue. However,
I cannot send a message to another server internally.
The only success that I've had thus far was when my PC
was the source and destiantion PC.

I will look at the link Dave provided below to see if
it helps.

Thanks,
Mark

--- "Vijay Mohan. D" wrote:

> For the time being to test whether this is really
> the case, just give live
> ips to both the machines (one of them must allready
> be having a live ip),
> make sure that ping works in both directions from
> both the machines and then
> see whether ur program works.
>
>
>
> Dave: Pretty good suggestion man, this is new to me
> (mapping files). I was
> also not really aware that in every case of
> transactional messages actually
> real acknowledgement messages go from destination to
> source.
>
>
>
> _____
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Dave
> Misc
> Sent: Friday, June 24, 2005 11:47 AM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> When doing a transactional queue, the MSMQ
> architecture needs to send an ACK
> message back to the source computer confirming it
> received the message. For
> this to work, the source computer sends an
> administration queue name along
> with the message. This name must be resolvable by
> the destination computer.
>
>
>
> In an HTTP scenario, when sending to
> www.destination.com
> from www.source.com
>
> , www.source.com must be
> resolvable for the
> destination. When messages are sent over the
> internet, this means there are
> routing challenges as typically, you don't expose
> the internal computer
> names.
>
>
>
> To get around this, there are Mapping files
> (c:\windows\system32\msmq\mapping). One for
> Inbound, Outbound and
> StreamReceipt. The StreamReceipt tells the
> desitnation where to send the
> ACK to. You can use the concept of Store and
> Forward Directors (SFDs) to
> help route messages through DMZ and firewalls.
>
>
>
> Check
>
http://www.microsoft.com/windowsserver2003/techinfo/overview/msmqb2b.mspx
> for specific details regarding these files.
>
>
>
> HTH,
>
> Dave
>
>
>
> _____
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
> Sent: Friday, June 24, 2005 2:18 PM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> I don't have my XP firewall running and there is no
> other firewall on my PC.
>
>
>
> I added the overload and still no results.
>
>
>
> Thanks,
>
> Mark
>
> "Vijay Mohan. D" wrote:
>
> The problem is not with multiple OS, the problem is
> that the message is not
> going to any location outside your machine.
>
>
>
> Disable windows firewall on the machines you are
> testing.
>
>
>
> Try also using below overload of Send method:
>
>
>
> Sends an object to the transactional queue
> referenced by this MessageQueue
>
> ueclasstopic.htm> .
>
> [Visual Basic] Overloads
>
> ueclasssendtopic2.htm> Public Sub Send(Object,
> MessageQueueTransaction)
>
> [C#] public
>
> ueclasssendtopic2.htm> void Send (object,
> MessageQueueTransaction);
>
>
>
>
> _____
>
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
> Sent: Friday, June 24, 2005 10:55 AM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> Hi,
>
>
>
> I tried that and it still doens't work.
>
>
>
> I can see all messages if I send them to the MSMQ on
> the same PC that I run
> the web page. However, I cannot see them in MSMQ on
> a Windows 2000 server.
>
>
>
> My local PC is running Windows XP Pro SP2, the
> server Windows 2000 server.
>
>
>
> Below is my code.
>
>
>
> Dim strMSMQPath As String =
>
("FormatName:DIRECT=HTTP://opscdev01\msmq\private$\pvtDEV01")
> Dim strMessageToSend As String = ("test message")
> Dim mqTran As New MessageQueueTransaction
> Dim MyMessageQ As MessageQueue
> Dim MyMessage As Message
> Dim MessageID As String
>
>
>
> mqTran.Begin()
>
>
>
> 'Create our mq & message objects.
> MyMessageQ = New MessageQueue(strMSMQPath)
> MyMessage = New Message(strMessageToSend)
>
>
>
> 'Format the message to XML.
> Dim formatter As XmlMessageFormatter =
> CType(MyMessageQ.Formatter,
> XmlMessageFormatter)
> formatter.TargetTypeNames = New String()
> {"System.String,mscorlib"}
>
>
>
> 'Send the msg!
>
=== message truncated ===


#4299 From: Mark E <meckeard2000@...>
Date: Wed Jun 29, 2005 12:13 pm
Subject: RE: New member with MSMQ question
meckeard2000
Offline Offline
Send Email Send Email
 
Guys,
 
I was able to send messages to another server on my network but that's it.
 
I read the manual from the link that Dave sent and updated my mapping file like this:
 
<mapping host="localhost" xmlns="msmq-queue-mapping.xml">
  <!-- Element that maps an internal application queue name to an external one.
  <queue>
      <name>http://msmq.vendor.com/msmq/private$/wlmasteadev01_isiplayground_in</name>
      <alias>HTTP://mypc/msmq/private$/pvtDEV01</alias>
  </queue>
 -->
  <!-- Element that maps an internal MSMQ order queue to an external one. It is needed in order
      to send transactional messages to a destination queue outside the organization.
  <queue>
      <name>http://msmq.vendor.com/msmq/private$/wlmasteadev01_isiplayground_in</name>
      <alias>HTTP://mypc/msmq/private$/pvtDEV01</alias>
  </queue>
 -->
</mapping>
 
But I still see the messages stuck in my outgoing queue.
 
I've seen an article that stated that my above 2 entries (name & alias) were backwards, but switching them gave me the same results.
 
Any more ideas?
 
Thanks,
Mark

Mark E <meckeard2000@...> wrote:
Vijay / Dave,

I can't assign a live IP to my PC as I am at work and
behind a firewall and do not have that capability.

My first thought was this caused the issue. However,
I cannot send a message to another server internally.
The only success that I've had thus far was when my PC
was the source and destiantion PC.

I will look at the link Dave provided below to see if
it helps.

Thanks,
Mark

--- "Vijay Mohan. D" wrote:

> For the time being to test whether this is really
> the case, just give live
> ips to both the machines (one of them must allready
> be having a live ip),
> make sure that ping works in both directions from
> both the machines and then
> see whether ur program works.
>
>
>
> Dave: Pretty good suggestion man, this is new to me
> (mapping files). I was
> also not really aware that in every case of
> transactional messages actually
> real acknowledgement messages go from destination to
> source.
>
>
>
> _____
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Dave
> Misc
> Sent: Friday, June 24, 2005 11:47 AM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> When doing a transactional queue, the MSMQ
> architecture needs to send an ACK
> message back to the source computer confirming it
> received the message. For
> this to work, the source computer sends an
> administration queue name along
> with the message. This name must be resolvable by
> the destination computer.
>
>
>
> In an HTTP scenario, when sending to
> www.destination.com
> from www.source.com
>
> , www.source.com must be
> resolvable for the
> destination. When messages are sent over the
> internet, this means there are
> routing challenges as typically, you don't expose
> the internal computer
> names.
>
>
>
> To get around this, there are Mapping files
> (c:\windows\system32\msmq\mapping). One for
> Inbound, Outbound and
> StreamReceipt. The StreamReceipt tells the
> desitnation where to send the
> ACK to. You can use the concept of Store and
> Forward Directors (SFDs) to
> help route messages through DMZ and firewalls.
>
>
>
> Check
>
http://www.microsoft.com/windowsserver2003/techinfo/overview/msmqb2b.mspx
> for specific details regarding these files.
>
>
>
> HTH,
>
> Dave
>
>
>
> _____
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
> Sent: Friday, June 24, 2005 2:18 PM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> I don't have my XP firewall running and there is no
> other firewall on my PC.
>
>
>
> I added the overload and still no results.
>
>
>
> Thanks,
>
> Mark
>
> "Vijay Mohan. D" wrote:
>
> The problem is not with multiple OS, the problem is
> that the message is not
> going to any location outside your machine.
>
>
>
> Disable windows firewall on the machines you are
> testing.
>
>
>
> Try also using below overload of Send method:
>
>
>
> Sends an object to the transactional queue
> referenced by this MessageQueue
>
> ueclasstopic.htm> .
>
> [Visual Basic] Overloads
>
> ueclasssendtopic2.htm> Public Sub Send(Object,
> MessageQueueTransaction)
>
> [C#] public
>
> ueclasssendtopic2.htm> void Send (object,
> MessageQueueTransaction);
>
>
>
>
> _____
>
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
> Sent: Friday, June 24, 2005 10:55 AM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> Hi,
>
>
>
> I tried that and it still doens't work.
>
>
>
> I can see all messages if I send them to the MSMQ on
> the same PC that I run
> the web page. However, I cannot see them in MSMQ on
> a Windows 2000 server.
>
>
>
> My local PC is running Windows XP Pro SP2, the
> server Windows 2000 server.
>
>
>
> Below is my code.
>
>
>
> Dim strMSMQPath As String =
>
("FormatName:DIRECT=HTTP://opscdev01\msmq\private$\pvtDEV01")
> Dim strMessageToSend As String = ("test message")
> Dim mqTran As New MessageQueueTransaction
> Dim MyMessageQ As MessageQueue
> Dim MyMessage As Message
> Dim MessageID As String
>
>
>
> mqTran.Begin()
>
>
>
> 'Create our mq & message objects.
> MyMessageQ = New MessageQueue(strMSMQPath)
> MyMessage = New Message(strMessageToSend)
>
>
>
> 'Format the message to XML.
> Dim formatter As XmlMessageFormatter =
> CType(MyMessageQ.Formatter,
> XmlMessageFormatter)
> formatter.TargetTypeNames = New String()
> {"System.String,mscorlib"}
>
>
>
> 'Send the msg!
>
=== message truncated ===


#4298 From: Mark E <meckeard2000@...>
Date: Sun Jun 26, 2005 3:50 pm
Subject: RE: New member with MSMQ question
meckeard2000
Offline Offline
Send Email Send Email
 
Vijay / Dave,

I can't assign a live IP to my PC as I am at work and
behind a firewall and do not have that capability.

My first thought was this caused the issue.  However,
I cannot send a message to another server internally.
The only success that I've had thus far was when my PC
was the source and destiantion PC.

I will look at the link Dave provided below to see if
it helps.

Thanks,
Mark

--- "Vijay Mohan. D" <vijaymohan1979@...> wrote:

> For the time being to test whether this is really
> the case, just give live
> ips to both the machines (one of them must allready
> be having a live ip),
> make sure that ping works in both directions from
> both the machines and then
> see whether ur program works.
>
>
>
> Dave: Pretty good suggestion man, this is new to me
> (mapping files). I was
> also not really aware that in every case of
> transactional messages actually
> real acknowledgement messages go from destination to
> source.
>
>
>
>   _____
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Dave
> Misc
> Sent: Friday, June 24, 2005 11:47 AM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> When doing a transactional queue, the MSMQ
> architecture needs to send an ACK
> message back to the source computer confirming it
> received the message.  For
> this to work, the source computer sends an
> administration queue name along
> with the message.  This name must be resolvable by
> the destination computer.
>
>
>
> In an HTTP scenario, when sending to
> www.destination.com
> <http://www.destination.com/>  from www.source.com
> <http://www.source.com/>
> , www.source.com <http://www.source.com/>  must be
> resolvable for the
> destination. When messages are sent over the
> internet, this means there are
> routing challenges as typically, you don't expose
> the internal computer
> names.
>
>
>
> To get around this, there are Mapping files
> (c:\windows\system32\msmq\mapping).  One for
> Inbound, Outbound and
> StreamReceipt.  The StreamReceipt tells the
> desitnation where to send the
> ACK to.  You can use the concept of Store and
> Forward Directors (SFDs) to
> help route messages through DMZ and firewalls.
>
>
>
> Check
>
http://www.microsoft.com/windowsserver2003/techinfo/overview/msmqb2b.mspx
> for specific details regarding these files.
>
>
>
> HTH,
>
> Dave
>
>
>
>   _____
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
> Sent: Friday, June 24, 2005 2:18 PM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> I don't have my XP firewall running and there is no
> other firewall on my PC.
>
>
>
> I added the overload and still no results.
>
>
>
> Thanks,
>
> Mark
>
> "Vijay Mohan. D" <vijaymohan1979@...> wrote:
>
> The problem is not with multiple OS, the problem is
> that the message is not
> going to any location outside your machine.
>
>
>
> Disable windows firewall on the machines you are
> testing.
>
>
>
> Try also using below overload of Send method:
>
>
>
> Sends an object to the transactional queue
> referenced by this MessageQueue
>
<ms-help://MS.MSDNQTR.2005JAN.1033/cpref/html/frlrfsystemmessagingmessageque
> ueclasstopic.htm> .
>
> [Visual Basic] Overloads
>
<ms-help://MS.MSDNQTR.2005JAN.1033/cpref/html/frlrfsystemmessagingmessageque
> ueclasssendtopic2.htm>  Public Sub Send(Object,
> MessageQueueTransaction)
>
> [C#] public
>
<ms-help://MS.MSDNQTR.2005JAN.1033/cpref/html/frlrfsystemmessagingmessageque
> ueclasssendtopic2.htm>  void Send (object,
> MessageQueueTransaction);
>
>
>
>
>   _____
>
>
> From: msmq@yahoogroups.com
> [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
> Sent: Friday, June 24, 2005 10:55 AM
> To: msmq@yahoogroups.com
> Subject: RE: [msmq] New member with MSMQ question
>
>
>
> Hi,
>
>
>
> I tried that and it still doens't work.
>
>
>
> I can see all messages if I send them to the MSMQ on
> the same PC that I run
> the web page.  However, I cannot see them in MSMQ on
> a Windows 2000 server.
>
>
>
> My local PC is running Windows XP Pro SP2, the
> server Windows 2000 server.
>
>
>
> Below is my code.
>
>
>
> Dim strMSMQPath As String =
>
("FormatName:DIRECT=HTTP://opscdev01\msmq\private$\pvtDEV01")
> Dim strMessageToSend As String = ("test message")
> Dim mqTran As New MessageQueueTransaction
> Dim MyMessageQ As MessageQueue
> Dim MyMessage As Message
> Dim MessageID As String
>
>
>
> mqTran.Begin()
>
>
>
> 'Create our mq & message objects.
> MyMessageQ = New MessageQueue(strMSMQPath)
> MyMessage = New Message(strMessageToSend)
>
>
>
> 'Format the message to XML.
> Dim formatter As XmlMessageFormatter =
> CType(MyMessageQ.Formatter,
> XmlMessageFormatter)
> formatter.TargetTypeNames = New String()
> {"System.String,mscorlib"}
>
>
>
> 'Send the msg!
>
=== message truncated ===

#4297 From: "Vijay Mohan. D" <vijaymohan1979@...>
Date: Fri Jun 24, 2005 8:16 pm
Subject: RE: New member with MSMQ question
vijaymohan1979
Offline Offline
Send Email Send Email
 

For the time being to test whether this is really the case, just give live ips to both the machines (one of them must allready be having a live ip), make sure that ping works in both directions from both the machines and then see whether ur program works.

 

Dave: Pretty good suggestion man, this is new to me (mapping files). I was also not really aware that in every case of transactional messages actually real acknowledgement messages go from destination to source.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Dave Misc
Sent: Friday, June 24, 2005 11:47 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

When doing a transactional queue, the MSMQ architecture needs to send an ACK message back to the source computer confirming it received the message.  For this to work, the source computer sends an administration queue name along with the message.  This name must be resolvable by the destination computer.

 

In an HTTP scenario, when sending to www.destination.com from www.source.com, www.source.com must be resolvable for the destination. When messages are sent over the internet, this means there are routing challenges as typically, you don’t expose the internal computer names.

 

To get around this, there are Mapping files (c:\windows\system32\msmq\mapping).  One for Inbound, Outbound and StreamReceipt.  The StreamReceipt tells the desitnation where to send the ACK to.  You can use the concept of Store and Forward Directors (SFDs) to help route messages through DMZ and firewalls.

 

Check http://www.microsoft.com/windowsserver2003/techinfo/overview/msmqb2b.mspx for specific details regarding these files.

 

HTH,

Dave

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 24, 2005 2:18 PM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

I don't have my XP firewall running and there is no other firewall on my PC.

 

I added the overload and still no results.

 

Thanks,

Mark

"Vijay Mohan. D" <vijaymohan1979@...> wrote:

The problem is not with multiple OS, the problem is that the message is not going to any location outside your machine.

 

Disable windows firewall on the machines you are testing.

 

Try also using below overload of Send method:

 

Sends an object to the transactional queue referenced by this MessageQueue.

[Visual Basic] Overloads Public Sub Send(Object, MessageQueueTransaction)

[C#] public void Send (object, MessageQueueTransaction);

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 24, 2005 10:55 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

Hi,

 

I tried that and it still doens't work.

 

I can see all messages if I send them to the MSMQ on the same PC that I run the web page.  However, I cannot see them in MSMQ on a Windows 2000 server.

 

My local PC is running Windows XP Pro SP2, the server Windows 2000 server.

 

Below is my code.

 

Dim strMSMQPath As String = ("FormatName:DIRECT=HTTP://opscdev01\msmq\private$\pvtDEV01")
Dim strMessageToSend As String = ("test message")
Dim mqTran As New MessageQueueTransaction
Dim MyMessageQ As MessageQueue
Dim MyMessage As Message
Dim MessageID As String

 

mqTran.Begin()

 

'Create our mq & message objects.
MyMessageQ = New MessageQueue(strMSMQPath)
MyMessage = New Message(strMessageToSend)

 

'Format the message to XML.
Dim formatter As XmlMessageFormatter = CType(MyMessageQ.Formatter, XmlMessageFormatter)
formatter.TargetTypeNames = New String() {"System.String,mscorlib"}

 

'Send the msg!
MyMessageQ.Send(MyMessage, MessageQueueTransactionType.Single)

 

mqTran.Commit()

 

'Close the msg.
MyMessageQ.Close()

 

Why would this work on 1 pc but not the other?  I understand that they have different operating systems and that may be a factor. 

 

Thanks,

Mark

"Vijay Mohan. D" <vijaymohan1979@...> wrote:

Well, when it is a transactional queue, you have to send the messages or receive them in an MSMQ transaction.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 24, 2005 4:23 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

OK, it's been a while and I finally heard from the vendor.  Unfortunately, there are no messages from me.

 

I've had the vendor test my code from a PC in their own organization with no success, so I am puzzled as to what could be cuasing the problem.

 

The only thing they mentioned was the fact that it was a transactional queue and they believed this may be a factor.  With this said, is there anything special about a transactional queue as opposed to a non-transactional queue?

 

Thanks,

Mark

Mark E <meckeard2000@...> wrote:

Dave,

 

I removed the "OS:" and sent a few messages.  No errors, but I need to hear back from the vendor to see if the messages were received.

 

I tried the telnet.... and the screen was blank for a second and closed.  So I guess that's a good sign.

 

Thanks,

Mark

Dave Misc <davemisc@...> wrote:

The format should be:

 

FormatName=DIRECT:http://somedomain.com/msmq/private$......

 

Drop the “OS:”

 

On the sending computer, trying doing:

 

“telnet somedomain.com 80”

 

This will test connectivity.  If you get a blank screen, connectivity is working fine.  If you get an error, then there is a networking issue.

 

HTH,

Dave

 

 

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Vijay Mohan. D
Sent: Friday, June 10, 2005 5:34 PM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

Mark:

 

1)       You can tell tran/non trans by going to my computer >> manage >> services >> Message Queuing >> Private >> right click on the queue and select properties

2)       Under the message queuing folder, there is an outgoing queues also >> if messages are not going, you will see the name of the queue to which the message was sent, and the unsent messages. This disappears once all messages go

3)       It is obviously sending using http, so if port 80 is open on the firewall, it should work

 

As he has mentioned, you have to use Xml formatter.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 10, 2005 10:00 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

Dave,

 

1) Not sure, I will have to check with the vendor.

2) How do I tell?

3) Here's the queue: FormatName:DIRECT=OS:http://somedomain.com/msmq/private$\wlmasteadev01_isiplayground_in

4) OK

 

Thanks,

Mark

Dave Misc <davemisc@...> wrote:

Mark,

 

A few things to check:

 

-    Is the remote queue setup as a Transactional Queue or Non-Transactional

-    Is there any messages in your Outgoing Queues on the sender computer?

-    What is the format name of the queue you are sending to?

-    Proxy servers may only used when sending to a queue via an HTTP/HTTPS format string

 

You also should need the following code as the default formatter is XmlMessageFormatter:

 

'Format the message to XML.
Dim formatter As XmlMessageFormatter = CType(MyMessageQ.Formatter, XmlMessageFormatter)
formatter.TargetTypeNames = New String() {"System.String,mscorlib"}

 

HTH,

Dave

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 10, 2005 8:19 AM
To: msmq@yahoogroups.com
Subject: [msmq] New member with MSMQ question

 

Hi all,

 

I have been tasked with the responsibility of using MSMQ in an ASP.NET site.

 

The MSMQ that I need to pass transactions to belongs to a vendor and is used for helpdesk tickets.

 

I have the following code that I pulled from various sources on the internet.  But they tell me that they do not see messages from their side and suggested bypassing my company proxy. 

 

I don't know if this code goes through the proxy.  And it seems to run fine, as I do not get any errors. 

 

Does anyone see anything wrong with my code?  Or can anyone share some code that they use for a similar situation?

 

'Get our MSMQ path & message into variables.
Dim strMSMQPath As String = (txtMQPath.Text.ToString())
Dim strMessageToSend As String = (txtMessage.Text.ToString())

 

'Declare a few variables.
Dim MyMessageQ As MessageQueue
Dim MyMessage As Message
Dim MessageID As String

 

'Create our mq & message objects.
MyMessageQ = New MessageQueue(strMSMQPath)
MyMessage = New Message(strMessageToSend)

 

'Format the message to XML.
Dim formatter As XmlMessageFormatter = CType(MyMessageQ.Formatter, XmlMessageFormatter)
formatter.TargetTypeNames = New String() {"System.String,mscorlib"}

 

'Set our ID.  This will hold a unique ID returned from MSMQ.
'MessageID = MyMessage.Id()

 

'Send the msg!
MyMessageQ.Send(MyMessage)

 

'Close the msg.
MyMessageQ.Close()

 

Thanks,

Mark



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



#4296 From: "Dave Misc" <davemisc@...>
Date: Fri Jun 24, 2005 6:46 pm
Subject: RE: New member with MSMQ question
davidpet86
Offline Offline
Send Email Send Email
 

When doing a transactional queue, the MSMQ architecture needs to send an ACK message back to the source computer confirming it received the message.  For this to work, the source computer sends an administration queue name along with the message.  This name must be resolvable by the destination computer.

 

In an HTTP scenario, when sending to www.destination.com from www.source.com, www.source.com must be resolvable for the destination. When messages are sent over the internet, this means there are routing challenges as typically, you don’t expose the internal computer names.

 

To get around this, there are Mapping files (c:\windows\system32\msmq\mapping).  One for Inbound, Outbound and StreamReceipt.  The StreamReceipt tells the desitnation where to send the ACK to.  You can use the concept of Store and Forward Directors (SFDs) to help route messages through DMZ and firewalls.

 

Check http://www.microsoft.com/windowsserver2003/techinfo/overview/msmqb2b.mspx for specific details regarding these files.

 

HTH,

Dave

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 24, 2005 2:18 PM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

I don't have my XP firewall running and there is no other firewall on my PC.

 

I added the overload and still no results.

 

Thanks,

Mark

"Vijay Mohan. D" <vijaymohan1979@...> wrote:

The problem is not with multiple OS, the problem is that the message is not going to any location outside your machine.

 

Disable windows firewall on the machines you are testing.

 

Try also using below overload of Send method:

 

Sends an object to the transactional queue referenced by this MessageQueue.

[Visual Basic] Overloads Public Sub Send(Object, MessageQueueTransaction)

[C#] public void Send (object, MessageQueueTransaction);

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 24, 2005 10:55 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

Hi,

 

I tried that and it still doens't work.

 

I can see all messages if I send them to the MSMQ on the same PC that I run the web page.  However, I cannot see them in MSMQ on a Windows 2000 server.

 

My local PC is running Windows XP Pro SP2, the server Windows 2000 server.

 

Below is my code.

 

Dim strMSMQPath As String = ("FormatName:DIRECT=HTTP://opscdev01\msmq\private$\pvtDEV01")
Dim strMessageToSend As String = ("test message")
Dim mqTran As New MessageQueueTransaction
Dim MyMessageQ As MessageQueue
Dim MyMessage As Message
Dim MessageID As String

 

mqTran.Begin()

 

'Create our mq & message objects.
MyMessageQ = New MessageQueue(strMSMQPath)
MyMessage = New Message(strMessageToSend)

 

'Format the message to XML.
Dim formatter As XmlMessageFormatter = CType(MyMessageQ.Formatter, XmlMessageFormatter)
formatter.TargetTypeNames = New String() {"System.String,mscorlib"}

 

'Send the msg!
MyMessageQ.Send(MyMessage, MessageQueueTransactionType.Single)

 

mqTran.Commit()

 

'Close the msg.
MyMessageQ.Close()

 

Why would this work on 1 pc but not the other?  I understand that they have different operating systems and that may be a factor. 

 

Thanks,

Mark

"Vijay Mohan. D" <vijaymohan1979@...> wrote:

Well, when it is a transactional queue, you have to send the messages or receive them in an MSMQ transaction.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 24, 2005 4:23 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

OK, it's been a while and I finally heard from the vendor.  Unfortunately, there are no messages from me.

 

I've had the vendor test my code from a PC in their own organization with no success, so I am puzzled as to what could be cuasing the problem.

 

The only thing they mentioned was the fact that it was a transactional queue and they believed this may be a factor.  With this said, is there anything special about a transactional queue as opposed to a non-transactional queue?

 

Thanks,

Mark

Mark E <meckeard2000@...> wrote:

Dave,

 

I removed the "OS:" and sent a few messages.  No errors, but I need to hear back from the vendor to see if the messages were received.

 

I tried the telnet.... and the screen was blank for a second and closed.  So I guess that's a good sign.

 

Thanks,

Mark

Dave Misc <davemisc@...> wrote:

The format should be:

 

FormatName=DIRECT:http://somedomain.com/msmq/private$......

 

Drop the “OS:”

 

On the sending computer, trying doing:

 

“telnet somedomain.com 80”

 

This will test connectivity.  If you get a blank screen, connectivity is working fine.  If you get an error, then there is a networking issue.

 

HTH,

Dave

 

 

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Vijay Mohan. D
Sent: Friday, June 10, 2005 5:34 PM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

Mark:

 

1)       You can tell tran/non trans by going to my computer >> manage >> services >> Message Queuing >> Private >> right click on the queue and select properties

2)       Under the message queuing folder, there is an outgoing queues also >> if messages are not going, you will see the name of the queue to which the message was sent, and the unsent messages. This disappears once all messages go

3)       It is obviously sending using http, so if port 80 is open on the firewall, it should work

 

As he has mentioned, you have to use Xml formatter.

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 10, 2005 10:00 AM
To: msmq@yahoogroups.com
Subject: RE: [msmq] New member with MSMQ question

 

Dave,

 

1) Not sure, I will have to check with the vendor.

2) How do I tell?

3) Here's the queue: FormatName:DIRECT=OS:http://somedomain.com/msmq/private$\wlmasteadev01_isiplayground_in

4) OK

 

Thanks,

Mark

Dave Misc <davemisc@...> wrote:

Mark,

 

A few things to check:

 

-    Is the remote queue setup as a Transactional Queue or Non-Transactional

-    Is there any messages in your Outgoing Queues on the sender computer?

-    What is the format name of the queue you are sending to?

-    Proxy servers may only used when sending to a queue via an HTTP/HTTPS format string

 

You also should need the following code as the default formatter is XmlMessageFormatter:

 

'Format the message to XML.
Dim formatter As XmlMessageFormatter = CType(MyMessageQ.Formatter, XmlMessageFormatter)
formatter.TargetTypeNames = New String() {"System.String,mscorlib"}

 

HTH,

Dave

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of Mark E
Sent: Friday, June 10, 2005 8:19 AM
To: msmq@yahoogroups.com
Subject: [msmq] New member with MSMQ question

 

Hi all,

 

I have been tasked with the responsibility of using MSMQ in an ASP.NET site.

 

The MSMQ that I need to pass transactions to belongs to a vendor and is used for helpdesk tickets.

 

I have the following code that I pulled from various sources on the internet.  But they tell me that they do not see messages from their side and suggested bypassing my company proxy. 

 

I don't know if this code goes through the proxy.  And it seems to run fine, as I do not get any errors. 

 

Does anyone see anything wrong with my code?  Or can anyone share some code that they use for a similar situation?

 

'Get our MSMQ path & message into variables.
Dim strMSMQPath As String = (txtMQPath.Text.ToString())
Dim strMessageToSend As String = (txtMessage.Text.ToString())

 

'Declare a few variables.
Dim MyMessageQ As MessageQueue
Dim MyMessage As Message
Dim MessageID As String

 

'Create our mq & message objects.
MyMessageQ = New MessageQueue(strMSMQPath)
MyMessage = New Message(strMessageToSend)

 

'Format the message to XML.
Dim formatter As XmlMessageFormatter = CType(MyMessageQ.Formatter, XmlMessageFormatter)
formatter.TargetTypeNames = New String() {"System.String,mscorlib"}

 

'Set our ID.  This will hold a unique ID returned from MSMQ.
'MessageID = MyMessage.Id()

 

'Send the msg!
MyMessageQ.Send(MyMessage)

 

'Close the msg.
MyMessageQ.Close()

 

Thanks,

Mark



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



*** Please help the MSMQ mailing list grow - invite your colleagues and Business Partners to join!



Messages 4296 - 4326 of 4356   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright Š 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help