Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

The stored procedure smgetnextnoteindex returned the following results: DBMS: 1205, Microsoft Dynamics GP:0.

(0) ShareShare
ReportReport
Posted on by 35

Hi,

We are getting this error message when we post in GP: The stored procedure smgetnextnoteindex returned the following results: DBMS: 1205, Microsoft Dynamics GP:0.

Any Suggestions

Thanks,

Sameer

*This post is locked for comments

  • GovindDevda Profile Picture
    GovindDevda 615 on at
    RE: The stored procedure smgetnextnoteindex returned the following results: DBMS: 1205, Microsoft Dynamics GP:0.

    Hey Sameer  Just fire this procedure in your company database

    SET ANSI_NULLS ON
    GO
    SET ANSI_NULLS ON
    GO
    create procedure smDEX_Clear_Locks @I_Session_id int   as   delete from tempdb..DEX_LOCK where tempdb..DEX_LOCK.session_id = @I_Session_id return  
    GO
    SET ANSI_NULLS OFF
    GO

    Hope this is useful for you !!

    Regards,

    Govind Devda

  • Re: The stored procedure smgetnextnoteindex returned the following results: DBMS: 1205, Microsoft Dynamics GP:0.

    Dexsql.log is needed for this type of an error. As Ian noted this could be a deadlock issue. Try having all users log out of the system and restart the SQL instance.

  • Re: The stored procedure smgetnextnoteindex returned the following results: DBMS: 1205, Microsoft Dynamics GP:0.

    Hi Sameer - well first off its a SQL error, and its a 'Deadlock' error I believe. Deadlocks happen when two processes are trying to access a resource where one process has it locked. SQL rolls back the process that has the least amount completed.

    Somewhere in Customersource there is a KP on the above error. You could try looking there.

    Can you post successfully logged in as 'sa'?

    Ian.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans