Sage Line 50 ODBC Connection issue

SOLVED

I am getting the following error with the Sage Line 50 v23 32-bit Odbc driver:

ERROR [08001] Cannot find all files in data path
ERROR [01000] The driver returned invalid (or failed to return) SQL_DRIVER_ODBC_VER: 23.2
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).

I have checked everything here: http://ask.sage.co.uk/Scripts/ask.cfg/php.exe/enduser/std_adp.php?p_req_pass=1&p_sid=llihO7_n&p_faqid=18616&p_li=cF91c2VyaWQ9MzIwNjEwMiZwX3Bhc3N3ZD1wYXNzd29yZCZwX2xpX3Bhc3N3ZD1yaWRkbGVkJnBfZmlyc3RfbmFtZT1EYXZpZCZwX2xhc3RfbmFtZT1Gb3JzaGF3JnBfZW1haWw9dGVzdGluZ0BzYWdlLmNvbSZwX2NjZl81PTAwNTU0NzM5JnBfY2NmXzg9MzExLDU4NCwzNDcsMTY3LDE2MiwzNDIsOTA3LDkwOSw5MTAsOTEyLDkwOCw5MTEsMTAyOSwxOTM2LDIxMjgsMTg5NSwxOTI1LDE5MDQsMTg4OCwxOTMz&_=1541517645782

Everything appears to be in order.

The web api that I have developed which calls the odbc is on one disk of a vm and the data is on another mapped drive of a vm. I have checked the list on the attached link and eliminated everything as a possible cause. It is happening on a customer's site and I need to get the issue resolved asap. If the api and the data are on a local disk, everything works ok but I cannot use this set up here.

How do I resolve this issue?

Please can you advise me.