请帮忙分析一下这个错误,JSP连接SQL SERVER2000时发生的!
lye 2004-09-03 03:35:49 try{
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
}catch(ClassNotFoundException ce){
System.out.println("Class driver not found.");
}
String url="jdbc:microsoft:sqlserver://192.168.0.88:1433;DatabaseName=Northwind";
String user="";
String password="";
try{
Connection con=DriverManager.getConnection(url,user,password);
System.out.println("数据库操作成功,恭喜你");
con.close();
}catch(SQLException ee){
System.out.println("连接数据库失败:"+ee);
}
连接数据库失败:java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServ
er]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connec
tion.