Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 14686

AA Primary Key SQL errors in GP 2015

$
0
0

Since we've upgraded to GP 2015 from GP 2010, we are receiving random SQL errors when posting batches:

[Microsoft]SQL Server Native Client 11.0][SQL Server]Violation of PRIMARY KEY constraint 'PKAAG10001'. Cannot insert duplicate key in object 'dbo.AAG10001'. The duplicate key value is (488461,4).[Microsoft][SQL Server Native Client 11.0][SQL Server]Viol

I found this Microsoft article:  https://support.microsoft.com/en-us/kb/897280 - I downloaded the script from Resolution Method 1 and applied to our Production databases, however, we are still getting these errors.  Upon clicking OK on the error, the batch does actually post just fine  - these errors appear to be more of an annoyance than anything, but SQL errors always concern me.

Rather than working around the issue as Microsoft suggests, does anyone know what may be actually causing these errors to pop-up in the first place?  


Viewing all articles
Browse latest Browse all 14686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>