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)

coattachMSTR error GP 2013 R2

(0) ShareShare
ReportReport
Posted on by 50

Our client is receiving the error A save operation on table 'coattachMSTR' has created a duplicate key'.  They are using GP 2013 R2. I see a lot of info. about GP 2015 but not a lot about GP 2013 R2. Please let me know, thanks...

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Shannon Aune Profile Picture
    on at

    Hi Sean,

    The two main causes we've seen for this error message, are as follows:

    1. The ODBC System DSN that Dynamics GP 2013 is using, is not setup as per the settings in KB 870416, with a 'Server' or 'Server\Instance' name value for the SQL Server name. What happens is that in the CO00101 table, the Attachment_ID column, which is the primary key for the table, will be blank, and because of this, any subsequent attachments will throw the violation key error because two records will have the primary key column, Attachment_ID, as blank.

    2. We've also seen this issue occur if the file or document that you're attempting to attach is currently open, because it cannot be attached with the document open, due to processes that are being run in the background.

    Other possible causes are:

    * Unsupported environment using multiple Dex.ini files.

    * Dynamics.exe.config file renamed as a result of attempting to resolve another issue

    I hope this information helps.

    Thanks,

  • Verified answer
    Sean Casey Profile Picture
    50 on at

    Hey Shannon!

    I checked all of the above and still got the error. I ran repair on her GP program and it corrected the issue. Thanks for the troubleshooting steps!

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