Skip to Content
avatar image
Former Member

JDBC MSSQL 2008

Hi experts

I'm trying to use JDBC for managing some B1 tables not accessible through DI API.

In the landscape systems I parameter my fields like that :

Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver

URL : jdbc:sqlserver://MYSERVER;instanceName=MYINSTANCE;integratedSecurity=false;databaseName=MyBASE

User : sa

Pass : ******

The connection seems to succed but the IPO failed and when i try the BIU i get the same erreur, the next one :

Failure of the TCP / IP host SRVSAP2007, 1433. Error: "Connection refused: connect. Check the connection properties, make sure that an instance of SQL Server is running on the host accepts the TCP / IP port, and make sure no firewall is blocking TCP connections to port.

The SQL Instance run (it works on the local SQL Server Mangement studio) on the same server and there are no firewall on the 2 servers.

Note : I use SQL SERVER 2008 R2 and i think at 90% the JDBC driver are installed

Thanks for your help

Best regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 20, 2011 at 07:09 AM

    Hi,

    do you use a special INSTANCE on your SQL server?

    Otherwise it's enough to provide following information in field url of the system landscape definition:

    dbc:sqlserver://MYSERVER:1433;integratedSecurity=false;databaseName=MYB1DATABASE

    Please make also sure, that the port e.g. 1433 is activated in SQL Server Configuration Manager under TCP/IP settings.

    Best regards

    Bastian

    Add comment
    10|10000 characters needed characters exceeded