Results 1 to 2 of 2

Thread: Failure Enlisting in Resource manager

  1. #1
    bipinav
    Guest

    Talking Failure Enlisting in Resource manager




    Failure Enlisting in Resource manager

    I'm recieving this from from MTS when I try to call a BatchUpdate on ADO recordset.

    I'll discribe by component hierarchy as
    UI layer -> Biz Layer -> data Layer

    The recordset is being passed from UI -> Biz -> data where the updatebatch is called. This is the code which cause my error

    function UPdate(RecSet as ADODB.recordset)

    RecSet.ActiveConnection = CONNSTRING
    RecSet.UpdateBatch
    RecSet.Close
    objMTSContext.SetComplete

    end function


    The problem happens when a function Update() which contains the above code is called from a loop in the BIz layer.The first call in the loop passes through but the second call (always) fails.

    NT service pack is installed and the Componets are in NT server
    I'm accessing the components from a NT Client where only the UI resides.

    Can anyone help me out ?


    Failure Enlisting in Resource manager

  2. #2
    New Member
    Join Date
    Jun 2001
    Posts
    5

    Thumbs up

    Try setting Activeconnection of RecSet to nothing after calling UpdateBatch.

    Set ResSet.ActiveConnection = Nothing

Posting Permissions

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



Click Here to Expand Forum to Full Width