Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i just hosted an msmqueue in remote system,and i can read and write into queue very successfully.but when i trying to read from an windows 7 OS system,it doesn't allow me to read from queue.they told me to use directformatname,but i am using netmsmq method.can i read msmqueue from remote system using an windows 7 OS system??
Posted

1 solution

MSMQ Remote send and Receive of Messages:-
MSMQ installation:-
1.msmq installed with transactional option is enabled.
2.msmq installed with authentication option is unchecked.
3.msmq installed with AD option enabled.
In WIN7 msmq version is 5.0
In WINXP msmq version is 3.0
Possible cases:-
service(WINXP) and QueueServer(WINXP) vice versa.
service(WIN7) and QueueServer(WINXP) vice versa.
conditions:-
1.Using domain account.
2.Use transport security mode enabled with windows credentials.

Using above conditions we can send and receive messages between WiNXP to WINXP also between WIN7 to WIN7.

Cross Platform issue:-
service(WINXP) and QueueServer(WIN7) viceversa.
conditions:-
1.Using domain account.
2.Use transport security mode enabled with windows credentials.

Exceptions:-
1.MSMQ version conflicts
In WIN7 msmq version is 5.0
In WINXP msmq version is 3.0
By default msmq 5.0 doesn't support weak hash algorithms that are MD5,sha1.It only support sha512.
By default msmq 3.0 support only weak hash algorithms not sha512.
So In Our Conditions transport security enabled with windows credentials it uses msmqsecurehashalgorithm is sha1 by deafult.we can have other options include md5,sha256,sha512.
these settings can be done through programmatically.
We can't use weak hash algorithms because msmq5.0 doesn't support that,when we use it shows an invalid signature error.
We can't use sha512 because msmq4.0 below versions doesn't support that,when we use it shows an invalid signature error.
solution:-
we can enable weakhash algorithms in msmq5.0 by adding registerkey "WeakHashAlgorithms" in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\Security"
if we want to enable certain weakhash algorithms only, then we must specify algorithms that we want to disable by adding corresponding registerkey.So the Corresponding algorithm is disabled.
32769 for MD2

32770 for MD4

32771 for MD5

32773 for MAC

32772 for SHA1


2.MSMQ Remote Transacted Receive:-

internal msmq remote transacted receive is not supported in MSMQ version 4.0 and higher from lower msmqversions.
example:-remote transacted receive is not possible when service is running on WIN7 and queue server is on WINXP.
internal msmq remote transacted receive is possible When Remote Queue is installed version 4.0 and above.
example:-remote transacted receive is possible when service is running on WINXP and queue server is on WIN7
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900