on 02-24-2014 5:48 PM
Gurus,
Background :
We have fresh
installation of SAP PO 7.3 (Single Stack ) on SQL Server 2013.
Scenraio is : JDBC to Proxy; I’m calling a stored proc.
The basis say they have installed the JDBC drivers correctly, I can ping the server in CMD so the Database is active
This is the error I get in Monitoring
Error during database connection to the database URL 'jdbc:microsoft:sqlserver://XXXXXX:1433;databaseName=XXXX;SelectMethod=cursor' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection with the registered driver. com.microsoft.jdbc.sqlserver.SQLServerDriver returns: com.microsoft.jdbc.sqlserver.SQLServerDriver.
: SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'
Please advise what to do.
I always provide points for helpful answers
Hi V Jay - I'm mnot sure if it is case sencitive but try with the below (cursor /Cursor)
jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 / PI 7.3 JDBC Adapter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you had checked the provided note -> question #20 has got the answer for you
20. ClassNotFoundException while using SQL Server 2005 Driver
A: Driver class names for SQL Server 2000 driver and SQL Server 2005 driver are different.
If you are using SQL Server 2005 driver, then class name should be as follows:
Driver class: com.microsoft.sqlserver.jdbc. SQLServerDriver
URL :jdbc:sqlserver://<db_Server>:port;databaseName=< db_name> // for your case
If you are using SQL Server 2000 driver , then class name should be as follows:
Driver class: com.microsoft.jdbc.sqlserver. SQLServerDriver
and URL is as follows:
jdbc:microsoft:sqlserver://<db_server>:port; databaseName=<db_name>
Hello,
Can u try this?
JDBC Driver Class Name | com.microsoft.sqlserver.jdbc.SQLServerDriver |
JDBC Connection String Pattern | jdbc:sqlserver://host:1433;DatabaseName=Misdata;SelectMethod=cursor |
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi V Jay,
Try with this connection: jdbc:sqlserver://YourIPAddress;user=Your_User_Name;password=Your_Password;databasename=Your_DatabaseNam
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 |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.