SonarQube - 无法在对象' dbo.projects'中插入重复的键行。

时间:2015-11-10 16:49:40

标签: msbuild sonarqube sonarqube-msbuild-runner

在使用msbuild runner分析.net项目时,我一直收到此错误 - ###错误更新数据库。原因:com.microsoft.sqlserver.jdbc.SQLServerException:无法在对象' dbo.projects'中插入重复的键行。具有唯一索引' projects_uuid'。重复键值为(AVDyMY-5YwVQNVOkEEHa)。

1 个答案:

答案 0 :(得分:3)

看看这是否有帮助:

2008 (MSSQL Server 10.0) with bundled Microsoft JDBC driver. Express Edition is supported.
(tick) 2012 (MSSQL Server 11.0) with bundled Microsoft JDBC driver. Express Edition is supported.
(tick) 2014 (MSSQL Server 12.0) with bundled Microsoft JDBC driver. Express Edition is supported.

(warning) Collation must be case-sensitive (CS) and accent-sensitive (AS)

(info) Both Windows authentication (“Integrated Security”) and SQL Server authentication are supported. See the Microsoft SQL Server section in Installing page for instructions on configuring authentication.

Duplicate key error with SonarQube 5.2