Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2017
    Posts
    12

    Unanswered: No mora handlers - c#

    Hi
    I got error 'ERROR [HY014] [IBM][CLI Driver] CLI0129E' No more handlers but i don't have in my code any transactions. Program in c# ODBC connection .

  2. #2
    Join Date
    Apr 2012
    Posts
    1,143
    Provided Answers: 27
    Post what kind of DB2-client you have installed, its fixpack, bitness and operating-system. Also post what the C# code is doing . You can get a CLI trace to see which kind of handles are being allocated (and which are being freed) - connection handles, statement handles etc. Plenty of info in the docs about CLI tracing.

  3. #3
    Join Date
    Mar 2017
    Posts
    12
    DB2 10.1 x86

    In c# i do select statement in the loop . When the loop is huge (1300 rec) i got exception.

  4. #4
    Join Date
    Apr 2012
    Posts
    1,143
    Provided Answers: 27
    If your DB2 client side product is not already at DB2 v10.1 FIXPACK 6 then first upgrade to that fixpack and retry.
    Be aware that V10.1 goes out of support on 30/September.
    If you have other workstations that have DB2 V10.5 or DB2 v11.1 , check if the same symptom happens with those versions.
    If you are unable to upgrade the DB2 version on the client side , you have to consider some workarounds.
    As you post almost no information, it's not possible to point where the fault lies.
    I am presuming that the statement-handles are not being released, but unless you trace CLI you won't know for sure.

  5. #5
    Join Date
    Mar 2017
    Posts
    12
    I found problem. ExecuteReader() in ODBC wasn't close in the loop.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •