MSMQ Inconsistent state after restart

I see a strange mistake with which I have a hard time tracking. I think this is due to my Rhino ESB configuration, although I'm not sure if RSB really causes this, so I decided that I would ask and see if any other came across this in any other cases of using MSMQ.

I use RSB as a client in a web application (ASP.NET, the client is running in the background). The client accesses the Windows service through the MSMQ binding for RSB. Restarting the service never affects MSMQ, and restarting IIS manually. However, whenever I actually restart the computer, MSMQ always refuses to start the backup, claiming that "the queue is in an inconsistent state." Attempting to start MSMQ manually leads to the same error, which actually makes the MSMQ installation completely useless. The only way to solve this problem is to actually uninstall and then reinstall MSMQ.

The only information I found through the almighty Google is links to a problem in MSMQ 2.0 (this problem occurs in MSMQ 4.0). I checked that Dispose is called on the bus when it shuts down both in the service and on the website.

Does anyone know why this might happen? Thank you

+3
source share
4 answers

I encountered the same problem in Windows Server 2008 (virtual machine). Although the environment was not associated with rhino tools.

Error in the event log: "The Message Queuing service does not start because the queue is in an inconsistent state. For more information, see Microsoft Knowledge Base Article 827493 at support.microsoft.com.

, 2-3 . , - MSMQ.

1) , MSMQ.
2) mqsvc.exe
3) C:\Windows\System32\msmq\ .mq
4) MSMQ
4)

+4

" " MSMQ. , , 15 .

+1

, MSMQ NSB 2.5. , - . , .

, , MSCQ " ". , MSMQ, , 2 .

0

Windows 2008RC2, MSMQ .

:

" , " " "

, ( )

  • msmq msmq_old
  • net stop wuauserv
  • -
  • "% windir%\softwaredistribution"
  • Reboot

5 , .

" /", . , Windows, , .

, .

0
source

Source: https://habr.com/ru/post/1740016/


All Articles