Skip to Content
author's profile photo Former Member
Former Member

Error in establishing connection to SQL server

Hi All,

I am working on SQL ->Sender JDBC ->XI----->Reciever RFC -


> SAP scenario.

I have completed the configuration of the scenario.

The sql server is mySQL 2000.

Hence, in the sender JDBC adapter, i have given the following details.

JDBC Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver

Connection: jdbc:microsoft:sqlserver://<HOST>:<PORT>[;DatabaseName=<DB>]

my connection: jdbc:microsoft:sqlserver://172.20.20.76:1143[;DatabaseName=SEPG_NEWDB]

In Runtime Workbench ->Component Monitoring >Adapter Engine--->Communication Channel Monitoring..

I am facing error as follows.....

Error during database connection to the database URL 'jdbc:microsoft:sqlserver://172.20.20.76:1433[;DatabaseName=SEPG_NEWDB]' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://172.20.20.76:1433[;DatabaseName=SEPG_NEWDB]': SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'

What might be the reason behind this error....??????

Kindly help me.....

Regards

Pavan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 18, 2007 at 12:34 PM

    what's is the driver which you have deployed for this database?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      JDBC Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver

      Connection: jdbc:microsoft:sqlserver://172.20.20.76\MIS_DEV_SVR;DatabaseName=sepg_newdb

      With the above parameters, i have establilshed connection between XI and SQL server.

      Regards

      Pavan

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 12:39 PM

    As per ur first post, the connection string should be <b>d</b>atabaseName instead of

    <b>D</b>atabaseName.

    Regards,

    Shabari

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.