I tried to connect to a sql server database with this piece of code

********
class.forname("com.microsoft.jdbc.sqlserver.SQLSer verDriver");
String url = "jdbc:microsoft:sqlserver://localhost:1433;databasename=VolleyManagement_draft ");
String user = "sa";
String pwd = "";
Connection con = DriverManager.getConnection(url,user,pwd);
*********

I always received a SQLException id = 24, saying that my user is not associated with a secured connection to SQL Server.
I tried with other user and I always receive the same exception.

I'm using the JDBC driver from microsoft SP2.

Any ideas...

Thanks a lot for your help.