.net - MSMQ service does not recover when restarted with Recoverable message on queue -



.net - MSMQ service does not recover when restarted with Recoverable message on queue -

i have private, non-transactional message queue running on win2008 r2. queue breaks when following:

place recoverable message on queue so:

message msg = new message { body = "hello", formatter = new xmlmessageformatter(), label = "notification", recoverable = true, appspecific = 123 }; mq.send(msg);

do not retrieve message!

restart message queue service

the service not restart. next message logged in event viewer:

the message queuing service cannot start because queue in inconsistent state. more information, see microsoft knowledge base of operations article 827493 @ support.microsoft.com.

points note:

a message added queue way can retrieved queue before restart. the way can queue running 1 time again follow these instructions: msmq inconsistent state after restart prevents message recovery. if leave message.recoverable = false service restarts successfully. want messages survive service restart. i same behaviour when set queue transactional.

any ideas?

sounds interfering storage files. recoverable (which includes transactional) messages written files in msmq\storage directory beingness mapped memory. on startup, files reloaded recreate messages mapped memory. reason these storage files don't work anymore.

things for:

any other software has access system32\msmq directory tree, such anti virus products. block these products directory tree. is storage on locally attached disk or network drive (e.g. san); if not local seek reconfiguring msmq utilize local disk. is disk error-free? run chkdsk or similar. if create new provate queue, problem impact too?

cheers john breakwell

.net msmq windows-server-2008-r2

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -