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 :
Small and medium business | Business Central, N...
Suggested Answer

how do I go abour trying to see what is Server Session ID 37

(4) ShareShare
ReportReport
Posted on by 4,971
Hi Community,
 
One of my user tried to access a certain function and was prompted this error. Strange thing is, she never experience this until now.
 
May I know how do I check Session ID 37 ?
 
Thank you.
I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    seems that there is some recent modifications done in the system, can again with that use if he/she has the read permission of that object.
  • Suggested answer
    Saif Ali Sabri Profile Picture
    2,351 Super User 2025 Season 2 on at

    My response was crafted with AI assistance, tailored to provide detailed and actionable guidance for your query.

    To check the Server Session ID 37 in Microsoft Dynamics, you can follow these steps:

    1. Get the Session ID from the Settings Menu:

      • From the navigation bar, select the gear icon (Settings).

      • Select "Session details" at the bottom of the menu.

      • You'll see the Session ID there.

    2. Get the Session ID from the Sign-In Screen:

      • On the sign-in screen, select the clipboard icon.

      • Select "Copy session ID".
        -----------------------------------------------------------------------------------------

    1. Check Active Sessions in Dynamics 365 Business Central (if applicable)

    If you're using Dynamics 365 Business Central (D365 BC), you can check active sessions:

    1. Go to "Search" (Alt + Q) and type "Sessions".
    2. Open the Sessions page.
    3. Look for Session ID 37 and check the associated user and details.

    If the session is inactive or terminated, you may not find it in the list.

    2. Check Server Session Details in SQL (if using on-premise BC or NAV)

    If you're using on-premise Dynamics NAV/BC, you can query the SQL database:

    1. Open SQL Server Management Studio (SSMS).
    2. Run the following query in the NAV/BC database:
      sql
      SELECT * FROM [dbo].[Session] WHERE [Session ID] = 37;
    3. This will return session details like user ID, login time, and status.

    3. Check Permissions on the Affected Object

    Since the issue started after modifications, verify if the user has the correct permissions:

    1. Go to "Users" and check the permission sets assigned.
    2. Ensure the user has Read permission for the object they are trying to access.
    3. If necessary, assign or modify their permission set under Permission Sets.

    4. Check Recent Modifications

    Since the error appeared after modifications, check:

    • Any new extensions deployed.
    • Changes in security roles and permissions.
    • Customizations in AL code that may affect session handling.

    5. Restart the Session or Clear Stuck Sessions

    If the session is stuck or causing conflicts:

    • Ask the user to log out and log in again.
    • If using Business Central On-Premise, restart the BC/NAV Server Instance.
    • In SQL, you can manually clear a session:
      sql
      DELETE FROM [dbo].[Session] WHERE [Session ID] = 37;
      (Use with caution – only if necessary!)

    Next Steps:

    • Confirm if the error is persistent or a one-time issue.
    • Check for additional error details in Event Viewer (for on-prem systems).
    • If permissions are correct and the error persists, debug any recent modifications in AL code.
  • Gerardo Rentería García Profile Picture
    25,213 Most Valuable Professional on at
    Hi
    Are you in an online or on-premise version?
    Are you working on a developed function?
    In which operation does this happen to you?
    It is related to a custom table, so it is important to speak with the developer or the company that has implemented it.
    Best
    GR
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, If it is the On-Pre version, please refer to the second method in the post below.
     
    Thanks
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,275 Super User 2025 Season 2 on at

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans