When I start Sonar (StartSonar.bat), I get the following error in the log file.
Wrong column type in SONAR.dbo.rules for column description.
Found: ntext, expected: nvarchar(max)
Looking at the column in SQL Server Management Studio it is nvarchar(max)
I'm running:
- DB: SQL Server 2005
- OS: Windows 7 64 bit
- Sonar: 2.11
Tried these drivers:
- sqljdbc-1.2.2828.100.jar
- sqljdbc4.jar (Microsoft SQL Server JDBC Driver 2.0)
- sqljdbc4.jar (Microsoft SQL Server JDBC Driver 3.0)
- sqljdbc4.jar (Microsoft SQL Server JDBC Driver 4.0)
My MSSQL Properties:
- sonar.jdbc.url: jdbc:sqlserver://localhost;databaseName=SONAR;
- sonar.jdbc.driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
- sonar.jdbc.validationQuery: select 1
- sonar.jdbc.dialect: mssql
I'm using a user name and password (SQL Authentication) to connect the DB
Note to self: When trying to connect to MSSQL remember to Enable TCP/IP. This is found in the SQL Sever Configuration Manager;SQL Server 2005 Network Configuration;Protocols for MSSQLSERVER;TCP/IP
I thought it might be a driver issue, but I'm not sure
Anyone else seen this?