Urgent. as being connected SQL-Server
Hi all I need to know the url to connect me with the JDBC to SQL-Server the error that gives me it is this Log:Cannot connect to jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez, reason:com.jnetdirect.jsql.u: Failed Logon:com.jnetdirect.jsql.u: Login failed for user ' ohernandez'. url:jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez and the url that I have is String sConnect = jdbc:JSQLConnect: / / +sHost+/database=monitor_ch202user=ohernandez; I believe that this incomplete one because doesn't request password. The user exists and he has the necessary permits to read and to write in the database. thank you, OHI === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent. as being connected SQL-Server
At 04:29 PM 3/4/2002 -0600, you wrote: Hi all I need to know the url to connect me with the JDBC to SQL-Server the error that gives me it is this Log:Cannot connect to jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez, reason:com.jnetdirect.jsql.u: Failed Logon:com.jnetdirect.jsql.u: Login failed for user ' ohernandez'. url:jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez Download the JDBC driver for MS SQL (free), url should like : cut- Class.forName(com.microsoft.jdbc.sqlserver.SQLServerDriver); Connection cnn = DriverManager.getConnection(jdbc:microsoft:sqlserver://10.0.0.10:1433;DatabaseName=mydb,sa,apple); ---cut--- === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com