Problem with CSDK3.0TC1 and .Net 2.0
Posted in 2007
Topics: Server Administration, Security, Permissions & Auditing, Networking & sqlhosts Configuration, Versions, Editions & End-of-Life
Hi: When we were creating the Data Access Layer for Employee profile we encountered a strange behaviour of CSDK3.0. We were able to establish the connection, but when we fired an sql statement we got an communication link failure error. The Sql statement did not succeed even once. The code we used is some thing like this DataTable resltTable; DbProviderFactory dbFact = dbProviderFactories.GetFactory("IBM.Data.Informix"); DbConnection dbCnn = dbFact.CreateConnection(); dbCnn.ConnectionString = "Server=xyz; DataBase=pqr; User Id=venkat; Host=home; Protocol=onsoctcp; service=12345; Password=ppas" dbCnn.Open(); // the connection succeds up till this point DbCommand dbCmd = dbFact.CreateCommand(); dbCmd.CommandText = "Select * from aadtempl where em_last_name like 'S%'"; dbCmd.Connection = dbCnn; DbDataAdapter dbAdapt = dbFact.CreateDataAdapter(); dbAdapt .SelectCommand = dbCmd; dbAdapt.fill(resltTable);//the execption saying communication link failure gets thrown from here. We are using Informix IDS 7.1 version. Please help us in this regard. Thanks, Arindam Mukherjee
This problem is specific to use of .NET2.0 with IDS 7x. You will not see this problem when using .NET2.0 with latest IDS server versions. We are working on the solution. Please contact IBM support for fix/patch on CSDK side. Thanks and Regards, Gaurav Amitava Chakraborty/India /IBM To Gaurav Saxena3/India/IBM@IBMIN, 05/06/2007 11:59 Sheshnarayan Agrawal/India/IBM@IBMIN cc Subject Fw: Problem with CSDK3.0TC1 and .Net 2.0 [9287] Shesh/Gaurav, Pleaople are saying they are getting "Link Failure error" with CSDK new version. Please check. Thanks.. Amitava Chakraborty Lead - IBM Informix -Interoperability India Software Lab, IBM Software Group 3rd Floor, C Block, Embassy Golf Links Koramangala Inner Ring Road, B'lore -71 ------------------------------------------- Ph : Extn : 91-80-4192-6334 Mobile : +919880188411 E - id : amitacha@in.ibm.com ----- Forwarded by Amitava Chakraborty/India/IBM on 05/06/2007 11:43 ----- "Mukherjee, Arindam" <arindam.mukherje To e@eds.com> ids@iiug.org Sent by: cc ids-bounces@iiug. org Subject Problem with CSDK3.0TC1 and .Net 2.0 [9287] 05/06/2007 09:10 Please respond to ids@iiug.org Hi: When we were creating the Data Access Layer for Employee profile we encountered a strange behaviour of CSDK3.0. We were able to establish the connection, but when we fired an sql statement we got an communication link failure error. The Sql statement did not succeed even once. The code we used is some thing like this DataTable resltTable; DbProviderFactory dbFact = dbProviderFactories.GetFactory("IBM.Data.Informix"); DbConnection dbCnn = dbFact.CreateConnection(); dbCnn.ConnectionString = "Server=xyz; DataBase=pqr; User Id=venkat; Host=home; Protocol=onsoctcp; service=12345; Password=ppas" dbCnn.Open(); // the connection succeds up till this point DbCommand dbCmd = dbFact.CreateCommand(); dbCmd.CommandText = "Select * from aadtempl where em_last_name like 'S%'"; dbCmd.Connection = dbCnn; DbDataAdapter dbAdapt = dbFact.CreateDataAdapter(); dbAdapt .SelectCommand = dbCmd; dbAdapt.fill(resltTable);//the execption saying communication link failure gets thrown from here. We are using Informix IDS 7.1 version. Please help us in this regard. Thanks, Arindam Mukherjee ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.
----- Forwarded by Amitava Chakraborty/India/IBM on 06/06/2007 12:32 ----- Gaurav Saxena3/India/IBM To 06/06/2007 12:18 Amitava Chakraborty/India/IBM@IBMIN, ids@iiug.org cc Sheshnarayan Agrawal/India/IBM@IBMIN Subject Re: Fw: Problem with CSDK3.0TC1 and .Net 2.0 [9287](Document link: Amitava Chakraborty) This problem is specific to use of .NET2.0 with IDS 7x. You will not see this problem when using .NET2.0 with latest IDS server versions. We are working on the solution. Please contact IBM support for fix/patch on CSDK side. Thanks and Regards, Gaurav ----- Forwarded by Amitava Chakraborty/India/IBM on 05/06/2007 11:43 ----- "Mukherjee, Arindam" <arindam.mukherje To e@eds.com> ids@iiug.org Sent by: cc ids-bounces@iiug. org Subject Problem with CSDK3.0TC1 and .Net 2.0 [9287] 05/06/2007 09:10 Please respond to ids@iiug.org Hi: When we were creating the Data Access Layer for Employee profile we encountered a strange behaviour of CSDK3.0. We were able to establish the connection, but when we fired an sql statement we got an communication link failure error. The Sql statement did not succeed even once. The code we used is some thing like this DataTable resltTable; DbProviderFactory dbFact = dbProviderFactories.GetFactory("IBM.Data.Informix"); DbConnection dbCnn = dbFact.CreateConnection(); dbCnn.ConnectionString = "Server=xyz; DataBase=pqr; User Id=venkat; Host=home; Protocol=onsoctcp; service=12345; Password=ppas" dbCnn.Open(); // the connection succeds up till this point DbCommand dbCmd = dbFact.CreateCommand(); dbCmd.CommandText = "Select * from aadtempl where em_last_name like 'S%'"; dbCmd.Connection = dbCnn; DbDataAdapter dbAdapt = dbFact.CreateDataAdapter(); dbAdapt .SelectCommand = dbCmd; dbAdapt.fill(resltTable);//the execption saying communication link failure gets thrown from here. We are using Informix IDS 7.1 version. Please help us in this regard. Thanks, Arindam Mukherjee ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.