DB2 Connection error (.NET to iSeries)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sqldood
    New Member
    • Mar 2009
    • 3

    DB2 Connection error (.NET to iSeries)

    Hi, I am trying to connect from a asp.net application to iSeries DB2 UDB. Although I can connect easily specifying the connection parameters manually like

    DataSource=10.1 .1.2;userid=mik e;password=test 123;L ibraryList=test ,*USRLIBL;Defau ltCollection=TE ST;Co nnectionTimeout =60;" providerName="I BM.Data.DB2.iSe ries"


    But whenever I try to bind any datasource inside my application lets say a new SQL data source to browse the tables with a new connection then I get a communication error on configuring the datasource.


    Error [08001] [IBM] SQL30081N. A communication error has been detected. Communication API being used 'SOCKETS'. Location where the error was detected "10.1.1.2". Communication function detecting the error "connect". Protocol specific error code "10061".

    Please help guys as I have to connect all my gridviews inside my application and manually doing that would take ages.
Working...