| Evan T. Basalik 2006-04-03, 1:23 pm |
| Go to Project Properties -> Libraries -> Run -> Add JAR/Folder and select the MS SQL Server 2000 or 2005 JAR.
Evan
--------------------
>From: cool cool <archkul28@yahoo.com>
>X-Newsreader: AspNNTP 1.50 (ActionJackson.com)
>Subject: Error while connectin g to SQL server
>Message-ID: <ulpuYQmUGHA.4452@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.sqlserver.jdbcdriver
>Date: Tue, 28 Mar 2006 04:35:27 -0800
>
>
>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. ClassNotFoundExcepti
on:
>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.droptable.com ***
>
--
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
|