|
Having problem in connecting with SQL Server 2005
I am using the following code for getting connection to the SQL Server 2005 Database:
Class.forName("com.microsoft.jdbc.sqlserver.SQLSer verDriver");
I have debuged the code by placing a breakpoint exactly at this line and whenever I step over this statement it generates an exception and then when I print the message in the catch block, I got the following message:
com.microsoft.jdbc.sqlserver.SQLServerDriver
which is exactly the string I am passing to the above function.
Can anybody help me?
|