Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

stored procedure createTmpTable returned dbms 17

Posted on by Microsoft Employee

dynamics GP10; Stored procedure returned createtmptable DBMS: 17

One of our users is getting this on a regular basis while drilling down in smartlists. I suspect it is a network issue if it is, is there a way to improve the ability of the app to create the table it needs?

* change DNS entries?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: stored procedure createTmpTable returned dbms 17

    I'll have to try the procedure below when I catch this issue again.

    Note, the link I clicked marked this as verified but I have not yet verified it though I'm certain Vinutha's answer will work in most issues dealing with lock and conflict issues.

  • Verified answer
    Vinutha Holla Profile Picture
    Vinutha Holla 705 on at
    Re: stored procedure createTmpTable returned dbms 17

    Hi Ralph,

    Typically DBMS 17 errors are temp table related which involves the tempdb database. Based on the error messages being received, it is possible that there are locked records that are currently stuck in the temp tables causing the system to give you errors.

    To deal with this, please do the following:

    1. Create a backup of your company database.

    2. Have all users log out of Dynamics GP.

    3. Stop and start the SQL Server to clear the temp tables.

    4. Run the following scripts in SQL Management Studio to clear all stuck processes:

    use DYNAMICS

    delete SY00800

    delete SY00801

    delete ACTIVITY

    use TEMPDB

    delete DEX_LOCK

    delete DEX_SESSION

    5. Check if the issue still persists.

    Regards,

    Vinutha

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans