Question

access to message queuing system is denied

  • 19 March 2021
  • 9 replies
  • 129 views

Userlevel 1

I have restored a tenant in another instance, all the screens seem to be working perfectly except for SO301000.

I am getting an error “access to message queuing system is denied” when saving Sales Orders.

Error: Access to Message Queuing system is denied.
 
Send
  Raised At: 19/03/2021 14:22:05 Screen: SO.30.10.00 Command: Save  
 
Details:
19/03/2021 14:22:05 Error:
Access to Message Queuing system is denied.

   at System.Messaging.MessageQueue.SaveQueueProperties()
   at System.Messaging.MessageQueue.set_MaximumQueueSize(Int64 value)
   at PX.Data.PushNotifications.MsmqQueueBase.CreateAdminQueueIfNotExists()
   at PX.Data.PushNotifications.MsmqQueueBase.EnsureInnerQueue()
   at PX.Data.PushNotifications.MsmqQueueBase.Send(Message message, Nullable`1 transactionType)
   at PX.PushNotifications.PrimaryQueue.MsmqPrimaryNotificationQueue.BeginTransaction(Guid correlationId)
   at PX.Data.PXTransactionScope.PrepareToCommitToQueue()
   at PX.Data.PXTransactionScope.Dispose()
   at PX.Data.PXGraph.Persist()
   at PX.Objects.SO.SOOrderEntry.PersistImpl()
   at PX.Objects.SO.SOOrderEntry.Persist()
   at PX.Objects.Extensions.PaymentProfile.PaymentProfileGraph`2.Persist(Action base)
   at PX.Objects.SO.GraphExtensions.SOOrderEntryExt.CreatePaymentAPIExt.Persist(PersistDelegate baseMethod)
   at PX.Data.PXSave`1.d__2.MoveNext()
   at PX.Data.PXAction`1.d__30.MoveNext()
   at PX.Data.PXAction`1.d__30.MoveNext()
   at PX.Web.UI.PXBaseDataSource.tryExecutePendingCommand(String viewName, String[] sortcolumns, Boolean[] descendings, Object[] searches, Object[] parameters, PXFilterRow[] filters, DataSourceSelectArguments arguments, Boolean& closeWindowRequired, Int32& adapterStartRow, Int32& adapterTotalRows)
   at PX.Web.UI.PXBaseDataSource.ExecuteSelect(String viewName, DataSourceSelectArguments arguments, PXDSSelectArguments pxarguments)

9 replies

Userlevel 5
Badge +3

Hi, @karenm48,

Are you getting that issue, while saving the Sales Order manually on the screen or you creating the Sales Order using REST API?

Any PushNotifications have you created for the Sales Order screen DAC?

Userlevel 1

Hi @Naveen B ,

I get the error when creating the sales order manually.

No, there are no push notifications configured.

Userlevel 5
Badge +3

Hi, @karenm48 But the error is talking about the access of MSMQ denied from the Sales Order screen.

Have you found any failed records in the “Process Push Notifications” screen?

 

Userlevel 6
Badge +5

Hello @karenm48 ,

One of the possible solutions is described here http://truelogic.org/wordpress/2015/05/08/fixing-insufficient-resources-error-message-in-microsoft-msmq/

 

And here (see the second and third answers): https://stackoverflow.com/questions/9874631/access-to-message-queuing-system-is-denied/9880364

Hi, is that issue fixed? 


We have exact same problem too, and i’ve check Process Push Notifications and nothing. 
I’ve check all those 3 links and nothing worked either. 
Funny thing is we start to get that error 2 days ago. 

I’m starting to wonder if Windows update cause those issues. 
 

Userlevel 6
Badge +5

Hello @jsung83 ,

This is not an Acumatica bug. You should check with your database admin the MSMQ settings.

 

 

Just in case other needs help, it seems like recent windows update change and drop the permission on.  In our case, we are using service called “acumatica” to handle those.  Since it’s virutal account, you cannot add it from screen, you need to run powershell to add back in. 
 

Userlevel 6
Badge +5

Hello @jsung83 , fantastic that you located the root cause!

Could you please advise the version of Windows (update) causing the issue?

@jsung83,

‘Just in case other needs help, it seems like recent windows update change and drop the permission on.’

 

which permission? the Adminqueue?

 

We’ve a similar issue, mostly when processing vouchers we’ve loaded via Excel.

Again, the queue permissions are suspect. ‘DefaultAppPool’ doesn’t appear in two of them, being replaced by what looks like the GUID of a roaming profle.

 

That GUID does appear in the permissions for Acumatica itself, in IISManager, along with DefaultAppPool, Never see a WebApp set up this way.

 

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2020  Acumatica, Inc. All rights reserved