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
source
share