This is a migrated thread and some comments may be shown as answers.

How to How to connect to remote database machine and query

1 Answer 108 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Harish
Top achievements
Rank 1
Harish asked on 21 Jan 2015, 09:25 AM
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





1 Answer, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 23 Jan 2015, 08:13 AM
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.


Regards,
Doroteya
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Databases and Data Types
Asked by
Harish
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or