Error while connectin g to SQL server

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance





Hello,
I am using NetBeans IDE to run java program...

In order to connect to MS SQL driver thru code .. i set CLASSPATH..but
still i am getting error as: java.lang.ClassNotFoundException:
com.microsoft.jdbc.sqlserver.SQLServerDriver

I hav set the CLASSPATH as
CLASSPATH=C:\Program Files\Microsoft SQL Server 2000 Driver for
JDBC\lib\msbase.jar;C:\Program Files\Microsoft SQL Server 2000 Driver
for JDBC\lib\msutil.jar;C:\Program Files\Microsoft SQL Server 2000
Driver for JDBC\lib\mssqlserver.jar;


Is there any other setting require in order to load SQL driver using
NetBeans ?
Please if any one knows the solution to this problem let me know....

All suggessions are welcome

Thank in Advance..






*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • Re: SQL 2005 Profiler
    ... printer Microsoft Office Document Image Writer is unknown. ... administrator to install the driver before you log in again. ... Note that if the default trace is enabled, it is directed to the SQL Server log folder. ...
    (microsoft.public.sqlserver.security)
  • Re: TDBC documentation, examples, syntax?
    ... current SQL standards. ... for variable binding at the Tcl level. ... API, I'd probably use Oracle's bound session variables and pass ... As a convenience for driver writers, ...
    (comp.lang.tcl)
  • RE: XA transactions
    ... Which driver and version are you using and where did you locate these ... | I used the following set of instructions to enable XA transactions on our ... | SQL box: ... Create a registry named-value: ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Behavior of Connection.commit()
    ... Does it say "commit" and "rollback" and other SQL commands that affect the transaction state are not allowed? ... How sure can the driver ever be about the state of the transaction? ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: SQL 7 not using all the available physical memory?
    ... uses a "driver" model for accessing extended memory. ... device driver that worked with SQL Server on Alpha. ...
    (microsoft.public.sqlserver.server)