It is obvious that sonar cannot connect to SQL Server
There may be a number of reasons why this could happen
- The server name is misspelled or the port number is incorrect.
- SQL Server is not configured to use TCP/IP. Either enable TCP/IP from SQL Server's Network Utility app or have jTDS connect via named pipes (see the URL format for information on how to do this).
- There is a firewall blocking port 1433 on the server.
To check whether TCP/IP is enabled and the port is not blocked you can use "telnet 1433". Until telnet doesn't connect, jTDS won't either. If you can't figure out why, ask your network administrator for help
A general remark: when setting up Sonar with SQL Server, it's very helpful to use a Java SQL client (like Squirrel SQL) to test the connection and experiment with various ways to connect.That way, you know whether to blame Sonar for any problems.