Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6807075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:47:16+00:00 2026-05-26T19:47:16+00:00

When I start Sonar (StartSonar.bat), I get the following error in the log file.

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:47:17+00:00Added an answer on May 26, 2026 at 7:47 pm

    I wasn’t able to solve this via the sqljdbc drivers so I took some advise from another post and fell back to the jTDS driver http://jtds.sourceforge.net/index.html

    The post I used was Sonar MsSql Database Issue

    My Setup:

    • Sonar 2.11 unzipped to C:\Sonar\sonar-2.11

    The steps I made (paraphrased)

    1. Download jTDS drivers from jTDS Drivers Unzip it somewhere, I suggest C:\jDST
    2. Add the DLL to the system path. (C:\jDST\jtds-1.2.5-dist\x64\SSO)
    3. Copy the jar file (C:\jDST\jtds-1.2.5-dist\jtds-1.2.5.jar) to the extensions folder
      (C:\Sonar\sonar-2.11\extensions\jdbc-driver\mssql)
    4. Update the sonar.properties

      • sonar.jdbc.url: jdbc:jtds:sqlserver://localhost:1433/SONAR
      • sonar.jdbc.driverClassName: net.sourceforge.jtds.jdbc.Driver
      • sonar.jdbc.validationQuery: select 1
      • sonar.jdbc.dialect: mssql

    Note: in case you connect to the named instance, this must be specified explicitly in the connection URL: jdbc:jtds:sqlserver://localhost/SONAR;instance=SQLEXPRESS

    Run the bat file StartSonar.bat (C:\Sonar\sonar-2.11\bin\windows-x86-64\StartSonar.bat)

    Check your logs and go to the site http:// localhost:9000

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Start server: bin\mongod.exe -dbpath=D:\mongo\dbs -rest -logpath=logs\server.log -logappend -noauth In java: Mongo mongo = new
To start out, I have looked at the following pages and don't quite have
start camera intent: void openCamera() { File imageDirectory = new File(/sdcard/myprog); if (!imageDirectory.isDirectory()) imageDirectory.mkdir();
To start off, I may be using sprintf in the wrong manner. I'm making
Start with a JAR file that contains a JAX-WS SPI text file in /META-INF,
Start a new Silverlight application... and in the code behind (in the Loaded event),
Start with a series of MS Office extensions built in C++ as COM objects.
I start by creating a string variable with some non-ascii utf-8 encoded data on
I start to write a client - server application using .net (C#) for both
To start, I know there are two kinds of JSON serialization currently built into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.