on 07-30-2008 6:41 AM
Hi all,
I have deployed drivers for microsoft sql server successfully. But while connecting to database it throws an erro.
Details :
JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection : jdbc:sqlserver://IP:1433;databaseName=Test
When I gave admin user : SA
Following error has come :
Error while providing user as SA :
Database-level error reported by JDBC driver while executing statement 'SELECT Itemcode,Qty from demo1 where Poref = ' ''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'demo1'.'. For details, contact your database server vendor.
Error while providing user as USER1 :
Error during database connection to the database URL 'jdbc:sqlserver://IP;databaseName=Test' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://IP;databaseName=Test': com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'user1'.'
Please reply to resolve this issue.
Regards,
K shah
Check the database "Test" has a table named demo1 inside it. This doesnt look like a driver issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Seems to be driver is not compatible.Check list of drivers (It should support jdk 1.4 as PI runs on it)
Deployment step must be followed in SDM by changing provider.xml.
rgds
srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check these links they may help you out.
To install oracle drive in XI server, just check these links,
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
http://msdn2.microsoft.com/en-us/library/ms177523.aspx
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.