web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

The user id doesn't exist

(0) ShareShare
ReportReport
Posted on by

The user id doesn't exist Parameter name: userID: System.ArgumentException: The user id doesn't exist Parameter name: userID at LSRetailPosis.DataAccess.UserAccessData.UserHasAccess(String storeId, String userID, PosisOperations operationID, Boolean ignoreUserAccessCheckRequirement) at LSRetailPosis.DataAccess.UserAccessData.UserHasAccess(String storeId, String terminalId, String userID, PosisOperations operationID) at LSRetailPosis.BusinessLogic.UserAccessSystem.UserHasAccess(String userID, PosisOperations operationID) at Microsoft.Dynamics.Retail.Pos.LogOn.LogOn.VerifyOperationAccess(String operatorID, PosisOperations operation, String transactionId) at Microsoft.Dynamics.Retail.Pos.LogOn.LogOn.VerifyOperationAccess(String operatorID, PosisOperations operation) at Microsoft.Dynamics.Retail.Pos.SalesOrder.WinFormsTouch.SalesOrderActions.GetCustomerOrder(String orderId, CustomerOrderType orderType, CustomerOrderMode forMode) at Microsoft.Dynamics.Retail.Pos.SalesOrder.WinFormsTouch.frmGetSalesOrder.btnPickUp_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e) at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam).

*This post is locked for comments

I have the same question (0)
  • Anton Venter Profile Picture
    20,345 Super User 2025 Season 2 on at

    Either the user does not actually exist or the value that is passed to the function is empty, which then seems to be a data issue. By the way, can you change the description of your question so it is more specific?

  • Community Member Profile Picture
    on at

    Hello, Anton Venter

    The user id create the sales order with no error but when the user recall the sales order to pick up this error appear

  • Anton Venter Profile Picture
    20,345 Super User 2025 Season 2 on at

    Is it just with one particular user or all users? Have you looked at the order? Is the userId populated correctly on the order? Are you able to reproduce this in a test environment? Is this error after a new code modification?  The best option would be to debug the code so see what is causing the error.

  • Giridhar retail Profile Picture
    30 on at

    Hi Ramadan,

                      I am also facing the same issue.kindly let me know how u have resolved this issue.

    Thanks & Regards

    Giri.D

    8892304455

      

  • Suggested answer
    Mohammed Hussain Profile Picture
    5 on at

    I Know it is a old thread, But it can help someone in future.

    I got same error, then i checked the verfifyOperationAccess function in logon.dll, In operatorId parameter, Operator id is different than Operator which i logged on. So i simply add one line before Return VerifyOperationAccess

    "Operatorid = ApplicationSettings.Terminal.TerminalOperator.Operatorid;"

    Copy the logon.dll to Exensions folder. It is Worked fine for me.

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans