Skip to Content.
Sympa Menu

freetds - RE: Driver loads in Netscape but not IE

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Daniel J. Helm" <c-dan.helm AT wcom.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Driver loads in Netscape but not IE
  • Date: Sun, 11 Mar 2001 09:34:15 -0500


That fixed the problem. Thank you very much!

Dan

----- Original Message -----
From: 이종영 <zazz AT myjaya.com>
To: TDS Development Group <freetds AT franklin.oit.unc.edu>
Sent: Sunday, March 11, 2001 12:10 AM
Subject: [freetds] RE: Driver loads in Netscape but not IE


>
> You would make connection with 'newInstance()' method.
>
> ...
> Class.forName("com.internetcds.jdbc.tds.Driver").newInstance();
>
>
>
> -----Original Message-----
> From: bounce-freetds-121650 AT franklin.oit.unc.edu [mailto:bounce-freetds-
> 121650 AT franklin.oit.unc.edu]On Behalf Of Daniel J. Helm
> Sent: Friday, March 09, 2001 1:15 PM
> To: TDS Development Group
> Subject: [freetds] Driver loads in Netscape but not IE
>
>
> I developed an applet the uses the freetds driver, but for some reason, it
> is only
> loads and works in Netscape. I use the following statements in my applet
> code:
>
> Class.forName("com.internetcds.jdbc.tds.Driver");
> Connection
>
connection=DriverManager.getConnection("jdbc:freetds:sqlserver://166.37.179.
> 223:1433/pubs",
> "myuserid", "mypassword");
>
> I get back "java.sql.SQLException: No suitable driver"
>
> Detailed log output follows:
>
> *****
> about to forName.
> DriverManager.initialize: jdbc.drivers = null
> JDBC DriverManager initialized
> about to getConnection.
>
DriverManager.getConnection("jdbc:freetds:sqlserver://166.36.179.223:1433/pu
> bs")
>
> getConnection: no suitable driver
> java.sql.SQLException: No suitable driver
> at java/sql/DriverManager.getConnection (DriverManager.java)
> at getaccount2.action (getaccount2.java:310)
> at java/awt/Component.handleEvent (Component.java)
> at java/awt/Component.postEvent (Component.java)
> at java/awt/Component.postEvent (Component.java)
> at java/awt/Component.dispatchEventImpl (Component.java)
> at java/awt/Component.dispatchEvent (Component.java)
> at java/awt/EventDispatchThread.run (EventDispatchThread.java)
> SQLException: SQLState(08001)
> *****
>
> -- and my HTML page is:
>
> *****
> <HTML>
> <HEAD>
> <TITLE>Registry GET-ACCOUNT Demo</TITLE>
> </HEAD>
> <BODY LINK="#0000ff" VLINK="#800080">
> <P ALIGN="CENTER"><B><FONT SIZE=5>Registry GET-ACCOUNT Demo</B></FONT>
> <BR>
> <applet
> name="Registry GET-ACCOUNT Demo"
> archive="freetds_jdbc.jar"
> code="getaccount2.class"
> codebase="."
> width="500"
> height="500"
> align="top"
> alt="You do not have a java enabled browser"
> >
> </applet>
>
> ---<BR>
> You are currently subscribed to freetds as: [zazz AT myjaya.com]<BR>
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
> ---<BR>
> You are currently subscribed to freetds as: [c-dan.helm AT wcom.com]<BR>
> To unsubscribe, forward this message to
$subst('Email.Unsub')
> </BODY>
> </HTML>
> *****
>
> Is there anything special that needs to be done for IE? I am using SQL
> Server 7.0 on NT 4.0. Netscape 4.51 browser works but IE 5 does not.
>
> Thanks, Dan
>
>






Archive powered by MHonArc 2.6.24.

Top of Page