How to solve TFS error TF246021 and SQL Server error 500200 while checking in?

后端 未结 6 580
日久生厌
日久生厌 2021-01-04 01:04

I\'m trying to check in a file, and one file (one and only one file) has a problem while being checked in. This file has been deleted many times and undeleted (due to a conf

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-04 01:41

    I suspect that somehow the items in the change set use the same ID twice, so the first INSERT is fine but the second will cause the violation. However, since they're in the same transaction, the first INSERT is rolled back and you don't see anything in tbl_PendingDelta afterwards.

    See http://connect.microsoft.com/VisualStudio/feedback/details/693450/tfs-2010-violation-of-primary-key-constraint-pk-tbl-pendingdelta for another example of this issue.

    I think you should take this up with Microsoft Product Support Services.

提交回复
热议问题