Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

User Session Limitation

(0) ShareShare
ReportReport
Posted on by 3,221

Hi

We cannot open more than five user sessions. Next access will produce the Eventlog error

Object Server 03:  The database reported (session 2 (-AOS-)): [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert the value NULL into column 
'LOGINDATETIMETZID', table '[dbname].dbo.SYSCLIENTSESSIONS'; column does not allow nulls. INSERT 
fails.. The SQL statement was: "{call CREATEUSERSESSIONS(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}"

The table SysClientSessions was cleand up.

Thanks for any help.
 

*This post is locked for comments

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    RE: User Session Limitation

    Hi Jan,

    There is no functional support for synchronizing this table separately. You can try to create a script where only one table will be synced. You can also try a full database sync anyway. Also review if the stored procedures are correct. Compare them with another R3 environment.

  • Jan M. Profile Picture
    Jan M. 3,221 on at
    RE: User Session Limitation

    It seems that a new record could not be inserted by the stored procedure, an existing could be updated. So there is not a limit to five, just for the existing records.

    If column is set not null, the error will be for the next column. Means the record is empty and the default constraints should send the value, but there are none.

    As this table is a system table the hole db must sync or how to do it for this table type?

  • Jan M. Profile Picture
    Jan M. 3,221 on at
    RE: User Session Limitation

    Hi André

    There was a fresh install of R3 and Datamigration with R2 DB. System runs normal, just these limit. There are enough Disk/Memory and only one AOS.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    RE: AX 2012 R3 User Session Limitation

    Hi Jan,

    Out of the box, there is not a real session limit. Have you tried to restart the AOS? Since when did this issue occur? Did something change in between? Is it impacting your production or another environment? If production, on all AOS machines or just one?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans