# Import Data from SQL Server 2014 to Elasticsearch - Driver not loaded

**URL:** https://discuss.elastic.co/t/import-data-from-sql-server-2014-to-elasticsearch-driver-not-loaded/167424
**Category:** Logstash
**Created:** [February 7, 2019, 10:45am UTC](https://discuss.elastic.co/t/import-data-from-sql-server-2014-to-elasticsearch-driver-not-loaded/167424 "2019-02-07T10:45:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sergio\_PR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergio_pr/32/42585_2.png) [@Sergio\_PR](https://discuss.elastic.co/u/Sergio_PR)
#### Post date: [February 7, 2019, 10:45am UTC](https://discuss.elastic.co/t/import-data-from-sql-server-2014-to-elasticsearch-driver-not-loaded/167424/1 "2019-02-07T10:45:54Z")

</div>

Hi,

I want to import data from SQL Server table to elasticsearch using logstash.  
But when I launch Logstash with my config file, the next message appears :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/a/2a8126eef167e78d61c718bc5526a4a7805b2b9a.png)

My config file lauched with logstash is :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/9/59569dfc5e8132b191e5e99b1104bd99fc51c8b5.png)

I have specified the full path of my driver : "C:\DRIVERS\SqlServer\sqljdbc42.jar"

I don't understand where is my problem.  
Someone can help me please ?

Elasticsearch version : 6.5.4

Thank in advance.  
Sergio

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [February 7, 2019, 2:24pm UTC](https://discuss.elastic.co/t/import-data-from-sql-server-2014-to-elasticsearch-driver-not-loaded/167424/2 "2019-02-07T14:24:50Z")

</div>

Does changing the backslashes in jdbc\_driver\_library to forward slashes help?

---

<div class="post-metadata">

### Author: ![Sergio\_PR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergio_pr/32/42585_2.png) [@Sergio\_PR](https://discuss.elastic.co/u/Sergio_PR)
#### Post date: [February 8, 2019, 7:39am UTC](https://discuss.elastic.co/t/import-data-from-sql-server-2014-to-elasticsearch-driver-not-loaded/167424/3 "2019-02-08T07:39:28Z")

</div>

Thank you Badger for you suggestion but I have the same error.  
I was tried this solution before opening this topic. Someone have another solution please ?

Many thank's

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 8, 2019, 7:39am UTC](https://discuss.elastic.co/t/import-data-from-sql-server-2014-to-elasticsearch-driver-not-loaded/167424/4 "2019-03-08T07:39:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
