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
Hi,
Did you suceeded to resolve the issue?
Yonathan Masovich
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.
I'll check that :)
Thank you.
This does it's work!
Thanx !
That worked for me thanks!"
Me too... Thanks BiztalkGurus...
Setting AmibientTransaction to false worked for me :)
Thanks Lusty971!
Thanks, It worked for me too :)
Check the MSDTC (Distributed Transaction Coordinator) is started and have all the configurations in the Destination SQL Server.
In my case this was an incorrect edit to my machine.config file. I reverted back to the old copy and it worked. I then correctectly put in my changes to machine.config and everything worked.