0

hello there
I m trying to do database connectivity with sqlserver2000 it runs if i write that code in a normal java file
but if i run that code with jsp file it gives an exception com.microsoft.jdbc.sqlserver.SQLServerDriver
Although i hav set the CLASSPATH of Jar file for sqlserver 2000
here is my program

3
Contributors
6
Replies
22
Views
4 Years
Discussion Span
Last Post by rahul pareek
0

connectivity problem with sqlserver2000

Are you having problems loading the jar file?

I mean you post the error: exception com.microsoft.jdbc.sqlserver.SQLServerDriver

Where is your code?

I mean it's a connection problem.

I don't know where to local that issue, it's in your code.

0

What to do? Post exception that you are getting, we do not see on your screen so we wouldn't know what eclipse is complaining about...

0

Friend Exception is same as above
com.microsoft.jdbc.sqlserver.SQLServerDriver
i wonder where to add jar files for sqlserver in eclipse so that this problem got removed.

0

/WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries or JDBC drivers.

0

i hav already added msbase.jar mssqlserver.jar msutil.jar but still it doesnot work whereas connectivity code is working if i don't use eclipse juno

Edited by rahul pareek

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.