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 :
Microsoft Dynamics GP (Archived)

PSTL Vendor Combiner - cursor with the name 'ta_VCCursor' already exists

(0) ShareShare
ReportReport
Posted on by

When using the PSTL Vendor Combiner, the user is getting the following error for one of the vendors but has no issues combining others:

[Microsoft][SQL Server Native Client 10.0] A cursor with the name ta_VCCursor already exists. [Microsoft][SQL Server Native Client 10.0][SQL Server]The cursor is already open.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    Logout all the users from GP.

    Find the SPID for the open cursor by running below SQL script.

    SELECT f.session_id

    FROM   sys.dm_exec_cursors(0) f

    WHERE   f.name = 'ta_VCCursor'

    kill the session of the user. remove the session_id with the value you got from above query.

    kill 'session_id'

  • Tim W Profile Picture
    2,925 on at

    I've gotten this error when PSTL could not complete a combiner process (we have a couple third party tables that cause an issue unless dealt with first) and the PSTL errors out.  If I correct the issue with the table and re-run the combine without logging out I get this exact error 100% of the time.

    I found I need to close out of GP and then restart the client to then be able to re-run the combine.

    My guess is when the PSTL errors out it does not clean up the temp table created and so can't create a new one until I lose that session and establish a new one.

    I'd be wondering if your user got a different error message first and then was re-running the combine.

  • Community Member Profile Picture
    on at

    Thanks. They did get an error on another combine just prior (duplicate key from 3rd party). I will resolve the key error first and we should be good.

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 > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans