fluffyjan

fluffyjan

  • NA
  • 10
  • 0

cannot recieve message properly after queue server reboot

Jul 8 2004 5:38 PM
Hi, I have a client app recieves messages from a queue server. After rebooting the queue server, ReceiveComplete event handler is not called until 12 minutes later. Once it's called, the EndReveve call inside the event handler fails. The first call fails with QueueNotAvailable error, next calls fail with InvalidParameter error. (1) Type: System.Messaging.MessageQueueException Message: Error occurs when reading from a queue on a remote computer. Exception StackTrace: at System.Messaging.AsynchronousRequest.End() at System.Messaging.MessageQueue.EndReceive(IAsyncResult asyncResult) ----------------------------------------------------------------------------------------- (2) ?objQ.EndReceive(asyncResult.AsyncResult) {System.Messaging.MessageQueueException} System.Runtime.InteropServices.ExternalException: {System.Messaging.MessageQueueException} Message: "Invalid parameter was passed to a function." MessageQueueErrorCode: InvalidParameter nativeErrorCode: -1072824314 --------------------------------------------------------------------- Please help. Thanks in advance. Jan

Answers (1)