msmq

MSMQ - message queuing has not been installed on this computer

不羁的心 提交于 2019-12-30 01:58:49
问题 I have written a sample application to write to a public and private queues that are on dev server. I don't have the message queue installed on my local machine. I am getting error: message queuing has not been installed on this computer. Error is on this line: MessageQueue.Exists(queueName) Here is the full test code, all commented and not commented private and public queues are resulting in the same error. What am i doing wrong here? using System; using System.Collections.Generic; using

C# MSMQ Invalid Operation Exception

会有一股神秘感。 提交于 2019-12-25 08:58:53
问题 I create a basic application to manage MSMQ in C#. I create messages in my trasaction message queue with this method: /// <summary> /// Method to send message in message queue /// </summary> /// <param name="mq">message queue (to)</param> /// <param name="messageBody">message body</param> /// <param name="messageLabel">message label</param> public static void sendMessage(MessageQueue mq, string messageBody, string messageLabel) { MessageQueueTransaction mqt = new MessageQueueTransaction();

Problems with ASP.NET and custom events

最后都变了- 提交于 2019-12-25 02:43:01
问题 I have a problem when handling the ReceiveCompleted event of a MessageQueue in ASP.NET. It catches it successfully, but every changes applied to the Controls of the page have no effect. This is what I've got: .ASPX <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="False"> <ContentTemplate> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <br /> <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label> </ContentTemplate> </asp

MSMQ Cluster losing messages on failover

夙愿已清 提交于 2019-12-25 02:28:06
问题 I've got a MSMQ Cluster setup with nodes (active/passive) that share a drive. Here are the tests I'm performing. I send messages to the queue that are recoverable. I then take the MSMQ cluster group offline and then bring it online again. Result: The messages are still there. I then simulate failover by moving the group to node 2. Moves over successfully, but the messages aren't there. I'm sending the messages as recoverable and the MSMQ cluster group has a drive that both nodes can access.

MSMQ complaining about format name while reading messages

前提是你 提交于 2019-12-24 18:10:01
问题 I have a non transacitonal private queue(errors) on a remote machine(10.3.35.3), running xp. I am trying to read messages from a machine which runs windows 2008. I am using "FormatName:Direct=tcp:10.3.35.3\Private$\errors" to access the queue. I can connect to it. I can peek. I have a eventHandler for ReceiveCompleted event, and it get fired once there is a message received from queue, however when I try to convert "source" object to messageQueue. Friend Sub MyReceiveCompleted(ByVal [source]

MSMQ complaining about format name while reading messages

只愿长相守 提交于 2019-12-24 18:08:01
问题 I have a non transacitonal private queue(errors) on a remote machine(10.3.35.3), running xp. I am trying to read messages from a machine which runs windows 2008. I am using "FormatName:Direct=tcp:10.3.35.3\Private$\errors" to access the queue. I can connect to it. I can peek. I have a eventHandler for ReceiveCompleted event, and it get fired once there is a message received from queue, however when I try to convert "source" object to messageQueue. Friend Sub MyReceiveCompleted(ByVal [source]

WCF / MSMQ “time-to-be-received has elapsed” dead letter queue issue

孤人 提交于 2019-12-24 15:49:32
问题 I'm doing testing against some software I've written. The test enqueues messages into MSMQ via WCF at a rate faster than than my software can dequeue and process them. This shouldn't be a problem, since that is MSMQ's intended purpose, but if I enqueue enough messages to where it's taking my software more than 24 hours to process, those messages will get moved to the " Transactional dead-letter messages " queue and have their Class set to " The time-to-be-received has elapsed ". The only

Distributed Transaction Coordinator - The underlying provider failed on Open

故事扮演 提交于 2019-12-24 13:35:10
问题 I have application A and application B, both on the same server. Application A is calling WCF service, located in application B using netmsmqbinding and a private queue. B's service method, which is called, is using entity framework to make a call to the database. However, this exception is thrown in B: System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Transactions.TransactionManagerCommunicationException: Communication with the underlying

Cannot create private message queue on remote server

二次信任 提交于 2019-12-24 09:31:25
问题 I am unable to create a queue on a remote server and the error i get is : Cannot create a queue with the path FormatName:DIRECT=OS:server\private$\q the code is as below: Dim q As MessageQueue q = MessageQueue.Create("FormatName:Direct=OS:Server\private$\queue") I have tried with OS, TCP, HTTP and all the possible options given here but I have not been able to create a queue on remote machine. I am running Win 7 Enterprise on my dev box and Win Server 2003 R2 on the MSMQ server. Am i missing

How do I connect to MSMQ (Microsoft Messaging Queue) from Android?

微笑、不失礼 提交于 2019-12-24 09:29:18
问题 Hi I am trying to connect to a MSMQ from an Android phone. The problem is that all the libraries that I seem to find have to run in Windows since they appear to just be wrappers around C libraries ("DLL"). I found J-Integra but it seems like a very messy non-open source solution. Anybody has any ideas? And does anybody know of a server in linux to host queues that I can install for testing? Thanks 回答1: Step #1: Find some sort of Web service that interfaces with MSMQ Step #2: Have Android work