cancel
Showing results for 
Search instead for 
Did you mean: 

Error establishing connection to JDBC

former_member192892
Active Contributor
0 Kudos

Hi guys,

I'm doing a JDBC to file scenario. I'm using MS SQL as my database. I'm getting an error as class not found 'com.microsoft.jdbc.sqlserver.SQLServerDriver'

I wanted to know have i provided the JDBC driver correctly for MS SQL,

Also I've given the connection URL as

jdbc:microsoft:sqlserver://hostname:1433;DatabaseName=Employee

Is this a correct way??

If not please help me on this guys and tell me the correct connection establishment parameters...

Thanks

Varun

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

Answers (2)

Answers (2)

former_member192892
Active Contributor
0 Kudos

Thanks alot guys...It worked....

Regards

Varun

Former Member
0 Kudos

Varun,

2 chances.

1. You have not deployed the jdbc drivers correctly.

2. The JDBC drivers are not deployed at all.

Ensure, the JDBC drivers you use correspond to the correct DB version.

Regards,

Jai Shankar