on 07-03-2012 1:10 PM
Hi all,
I am trying to connect from SAP PI 7.31 to a MS SQL database using IntegratedSecurity (Integrated Authentication) in order to avoid the need of update user and password in each communication channel. Has anyone done that?
I read this help from MS:
http://msdn.microsoft.com/en-us/library/ms378428.aspx
but I have doubts on where should I copy the file sqljdbc_auth.dll. Also is not clear for me if that is the only file I have to provide. JDBC driver is already deployed on the system and working fine when using normal user and password. I am using the option "IntegratedSecurity=true" on the connection string, but the channel is reporting an error with the following exception:
"com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication"
Many thanks in advance.
Nicolas
Hi guys,
finally I copied the into "<INSTALL_DIR>\SYS\exe\uc\NTAMD64" and it works now.
I hadn't tried deploying it toghether with the JDBC driver as this system is running on top of MS SQL server so I didnt need to deploy the driver at all as it was already there.
Just one remark for those interested in using IntegratedSecurity, make sure that the DLL you copy in the server is same version that the JDBC driver, in my first try I copied the DLL from the newest available driver (4.0) and it crashed the java stack. Then I copied the one from the one corresponding to the installed JDBC (2.0) and it worked fine.
Nicolas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicolas,
I have also same requirement to connect from SAP PI 7.31 to a MS SQL database using IntegratedSecurity (Integrated Authentication)
"com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication"
Accroding to your suggestion I copied 'sqljdbc_auth.dll' to "<INSTALL_DIR>\SYS\exe\uc\LINUX86 64" but still I am getting same exception.
This .dll file version is 2.0 according my JDBC driver 2.0
Please suggest me on the same.
Thank you very much.
With Best Regards,
Sateesh
Hi Sateesh,
Have you checked this Note: https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F6465...
BR,
Maheswarareddy
Hi Maheswar & Nicolas,
Thanks for your suggestions, My PI system is running on Linux version.
I downloaded linux version of "sqljdbc_auth.dll" file and copied to "<INSTALL_DIR>\SYS\exe\uc\LINUX86 64" .
and also I follwed SAP note also(2063879)mentioned above , but not helps to me my where the file should be copied in case of PI running with Linux version.
Any more hints on this if PI running on Linux version ,If possibility then where I can copied this file 'sqljdbc_auth.dll'?
Thank you.
Sateesh
Hi Nicolas,
MS SQL driver version available for both windows and Linux environment.
I downloaded this 4.0 version from this link and I have collected this .dll from 4.0 driver.
Installation Instructions for the UNIX version of the JDBC Driver
Thank you.
Sateesh
For Unix/Linux Platforms check this:
Check this:
http://msdn.microsoft.com/library/ms378428(v=SQL.90).aspx#Connectingintegrated
"...copy the sqljdbc_auth.dll file to a directory on the Windows system path on the computer where the JDBC driver is installed..."
I try putting the dll in the sda and deploy it.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>but I have doubts on where should I copy the file sqljdbc_auth.dll
have you tried adding it the JDBC driver file (SDA) for MSSQL and deploy again on PI ?
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicolas,
Have you checked Charu's blog http://scn.sap.com/people/charu.agarwal/blog/2009/07/02/problems-faced-while-connecting-to-sql-serve...?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.