web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Suggested answer
    Mohammed Hussain Profile Picture
    5 on at
    RE: The user id doesn't exist

    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.

  • Giridhar retail Profile Picture
    30 on at
    RE: The user id doesn't exist

    Hi Ramadan,

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

    Thanks & Regards

    Giri.D

    8892304455

      

  • Anton Venter Profile Picture
    20,267 Super User 2025 Season 2 on at
    RE: The user id doesn't exist

    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.

  • Community Member Profile Picture
    on at
    RE: The user id doesn't exist

    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,267 Super User 2025 Season 2 on at
    RE: How can i solve this error?

    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?

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Rahul Shah Profile Picture

Rahul Shah 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans