When trying to create “Remote source” to Microsoft SQL Server under Smart Data Access (SDA) using HANA received following error
SAP DBTech JDBC: [403]: internal error: Cannot get remote source objects: Unable to load driver manager
By looking the error it looks like the driver does not exists or not installed properly. To find out the driver install or not run below command, if you receive an error then its not installed.
#isql --help
SAP DBTech JDBC: [403]: internal error: Cannot get remote source objects: [unixODBC][Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Login failed for user 'hanasdauser'.
I have followed below steps to install the Drivers
1. Set the environment
# cd /hana/ms-odbc-driver/unixODBC-2.3.0
# export CPPFLAGS=”-DSIZEOF_LONG_INT=8”
# echo $CPPFLAGS
-DSIZEOF_LONG_INT=8
2. Configure
#./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --enable-gui=no --enable-drivers=no --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE
3. Run make utility
# make
4. Run make install
# make install
5. Test the driver is installed or not
# isql –help
unixODBC 2.3.0
After installing the driver I was able to create Remote Source in HANA under SDA.
Regards
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com