Computer Association of SIUE - Forums

CAOS Forums => Questions and Answers => Topic started by: Brad Nunnally on 2006-10-11T15:44:23-05:00 (Wednesday)

Title: SQL Server 2005 and Java
Post by: Brad Nunnally on 2006-10-11T15:44:23-05:00 (Wednesday)
Has anyone had any experience using the JDBC 1.1 from microsoft to connect to a SQL Server database in java? I have been trying to get this thing to work for over a week now and from what I can see I am not doing anything wrong.

I finally got it to connect to the server, but it will fail to log in to the database. Just wondering if anyone else has had this problem before. Thanks and peace out.
Title: Re: SQL Server 2005 and Java
Post by: William Grim on 2006-10-11T16:08:38-05:00 (Wednesday)
I have not worked with JDBC before, let alone much work with Java.  However, if you're successfully connecting to SQL Server with JDBC and getting a login error, then you are probably sending bad data to the server.

What is the login error message from SQL Server?