Access denied using the MSMQ MMC
Learn how to resolve an access denied problem in Monitoring MSMQ queues and also the problem accessing them from the MMC in Windows.
If you have any issues that you can not solve, contact our Support or send us an email at support@nodinite.com
Using the MMC, if you can't change the permissions for the MSMQ queue, e.g. nodinite.services.logapiservice/logapiserviceoneway.svc. (when you click on the Apply button or OK button, you get an access denied error message)
This usually happens when some .NET Service removed the "Everyone" group from the permission set. Below are the steps you can follow to resolve this:
Stop the MSMQ Service.
Open the folder
C:\WINDOWS\system32\msmq\storage\lqs
.Find the file, based on content, in this folder with the definition for your queue -- (the queue with the access denied problem).
Using notepad++ (or an elevated notepad), open the lqs file for some other private queue, that has working security permissions. (If you don't have any other private queues, simply create one).
Locate the line in the file that begins Security=....
Copy the whole line to your clipboard (watch out for Word Wrap, this line will be quite long).
Open the lqs file in step #3.
Overwrite the Security=... line in this file with the contents of your clipboard.
Save the modified lqs file.
Start the MSMQ service.
Verify access using the MSMQ MMC.
The queue with the access problem, should now have the same set of permissions as the queue used in step 4 above.