If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Connection error (.NET to iSeries)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-18-09, 02:00
asp_crazy_guy asp_crazy_guy is offline
Registered User
 
Join Date: Mar 2009
Posts: 73
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=mike;password=test123;L ibraryList=test,*USRLIBL;DefaultCollection=TEST;Co nnectionTimeout=60;" providerName="IBM.Data.DB2.iSeries"

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

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.
Reply With Quote
  #2 (permalink)  
Old 05-18-09, 05:30
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
10061 means connection refused
see infocenter for details
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 05-18-09, 05:31
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
10061 means connection refused
see infocenter for details
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #4 (permalink)  
Old 05-18-09, 05:55
asp_crazy_guy asp_crazy_guy is offline
Registered User
 
Join Date: Mar 2009
Posts: 73
Quote:
Originally Posted by przytula_guy
10061 means connection refused
see infocenter for details
Hi, thanks for the reply. I know its a connection refused error. But I am able to connect manually throught code. However just when I try to connect the datasource by configuring a connection visually then this problem comes
Also where is the infocenter ? We have access to window session(green screen) and I Series navigator atm.
Reply With Quote
  #5 (permalink)  
Old 05-18-09, 06:34
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 06-23-10, 18:30
ChuckyTheFish ChuckyTheFish is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
Hey ASP_Crazy_guy, hopefully you found the answer despite the LUW response to an iSeries question (NOT the same animal - as I'm sure you know).

If you did get the answer, can you post it?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On