WCF-custom error with SQL adapter

Home Page Forums BizTalk 2004 – BizTalk 2010 WCF-custom error with SQL adapter

Viewing 2 reply threads
  • Author
    Posts
    • #22859

      Hello,

       

      I used WCF-custom adapter -> SQLBinding.

      I want to take information from a table and to update this take at the end of the polling statement.

      I generated the  schema using a “typedPolling” inbound operation type.

       

      When I enable the receive location on the Biztlak Administration Console, the error appears in the Event Viewer:

      The adapter “WCF-Custom” raised an error message. Details “System.ObjectDisposedException: Cannot access a disposed object.
      Object name: ‘TransactionScope’.
         at System.Transactions.TransactionScope.Complete()
         at System.ServiceModel.Dispatcher.TransactionRpcFacet.ThreadLeave()
         at System.ServiceModel.Dispatcher.TransactionBehavior.ClearCallContext(MessageRpc& rpc)
         at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc& rpc)
         at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)”.

       I don’t have any idea of the way to solve that , and I didn’t ind any post on the internet that could help me.

      Can someone help me please??

       

       

      VSO

    • #23004

      Hi,

      Did you suceeded to resolve the issue?

    • #23020

      HELLO,

      I found the solution to this issue: In the Receive Location bindings Properties of the Biztalk Administration Console, you have to set the “UseAmbientTransaction”  to False.

       

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.