【问题标题】:SonarQube - Cannot insert duplicate key row in object 'dbo.projects'SonarQube - 无法在对象“dbo.projects”中插入重复的键行
【发布时间】:2016-02-11 15:21:31
【问题描述】:
使用 msbuild runner 分析 .net 项目时,我不断收到此错误 - ### 更新数据库时出错。原因:com.microsoft.sqlserver.jdbc.SQLServerException:无法在具有唯一索引“projects_uuid”的对象“dbo.projects”中插入重复的键行。重复键值为 (AVDyMY-5YwVQNVOkEEHa)。
【问题讨论】:
标签:
msbuild
sonarqube
sonarqube-msbuild-runner
【解决方案1】:
看看这是否有帮助:
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