I use Windows 8 Pro, C# and .NET 4.5
I use MSMQ to read or peek or send message on a REMOTE machine but it causes the operating system a BSOD...
Locally there is no problem but only when i try to access remote machine with msmq by code.
The code works perfectly under XP/Seven and Server 2008/2012
Here is a little sample :
var messageQueue = new MessageQueue(string.Concat("FormatName:DIRECT=", addressType, ":", _queueServer, @"\private$\", _queueName), false, false, QueueAccessMode.Receive);
messageQueue.Receive() => BSOD!!!
Do someone has a fix or an explanation?
Thank you,
Kind Regards.
I found it!!!
MSMQ 4.0 comes with windows server 2008 and last update for any operating system uses ipv6 by default. So you have to deactivate the IPV6 to prevent the BSOD under Windows 8 Event in other OS, you have to deactivate it to read remote queue!