Biztalk SEHException Source: IBM.Data.DB2.iSeries when connecting IBM DB2

Home Page Forums BizTalk 2013 & BizTalk 2013 R2 Biztalk SEHException Source: IBM.Data.DB2.iSeries when connecting IBM DB2

Viewing 0 reply threads
  • Author
    Posts
    • #28016

      Hi,
      In my biztalk application I used Helper.cs class and I have to connect to DB2  in this class. Connection code in the below:
       AS400SP as400Sp = new AS400SP();               iDB2Connection conn = as400Sp.GetConnection(“DB2Connection”);
      When I deploy to biztalk application on my local admin it works fine. But when I  create msi. package and deploy to test machine I get the XLANG error below.

      Exception type: SEHException

      Source: IBM.Data.DB2.iSeriesTarget Site: Int32 DcDnConnect(Int32, IntPtr, IBM.Data.DB2.iSeries.MpDcConnection ByRef)The following is a stack trace that identifies the location where the exception occured

         at IBM.Data.DB2.iSeries.CwbDc.DcDnConnect(Int32 functionNumber, IntPtr connectionHandle, MpDcConnection& parms)   at IBM.Data.DB2.iSeries.CwbDc.Connect(IntPtr connectionHandle, MpDcConnection& parms)   at IBM.Data.DB2.iSeries.MPConnection.Connect()

      by the way both of  my local machine and  the test machine C:\Program Files (x86)\Microsoft BizTalk Server 2013 R2  BTSNTSvc.exe file has the same connection string.

Viewing 0 reply threads
  • The forum ‘BizTalk 2013 & BizTalk 2013 R2’ is closed to new topics and replies.