Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

coattachMSTR error GP 2013 R2

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

  • Verified answer
    Sean Casey Profile Picture
    Sean Casey 50 on at
    RE: coattachMSTR error GP 2013 R2

    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!

  • Suggested answer
    Shannon Aune Profile Picture
    Shannon Aune on at
    RE: coattachMSTR error GP 2013 R2

    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,

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans