How to How to connect to remote database machine and query

2 posts, 0 answers
  1. Harish
    Harish avatar
    1 posts
    Member since:
    Apr 2014

    Posted 21 Jan 2015 Link to this post

    Currently we are running telerik test cases on local machine, but pointing to database(DB2 database) on different machine.

    In our use case, where we need to connect to DB and excute an query before execution of test case.

    So, we have written a coded step to get the database connection like :

    cn = new OdbcConnection("Driver={IBM
    DB2 ODBC DRIVER};Database="+sID+";Hostname=" + sHostName +";Port=" + sPort + ";Protocol=TCPIP;Uid=" + sUID + ";Pwd=" +sPWD+";");

    but while running we are getting an error "DataSource name not found and no default driver specified".

    Do you need an datasource in our local machine also ?.

    Can someone help me out in getting connection of remote DB machine

  2. Doroteya
    Doroteya avatar
    497 posts

    Posted 23 Jan 2015 Link to this post

    Hi Harish,

    Based on the provided information, it seems that your inquiry is related to OpenAccess ODBC Client of Progress. If this is the case, I would suggest to you to take a look at this Progress knowledge base article, which provides several solutions for the issue.

    From Telerik Data Access perspective, currently we do not offer support for IBM DB2, but we have it as a request on our Ideas and Feedback portal. If you would like such a feature, your vote about it would be appreciated.

    I hope this helps. Do let us know, if you need further information.

    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
  3. DevCraft banner
Back to Top