Quantcast
Channel: BizTalk Server Adapters and Adapter Pack Forum
Viewing all articles
Browse latest Browse all 197

WCF-Custom (SQL) polling Error: System.Runtime.InteropServices.COMException (0x80131942)

$
0
0

I'm stuck on how to debug or solve this error:

The adapter "WCF-Custom" raised an error message. Details "System.Runtime.InteropServices.COMException(0x80131942): Exception from HRESULT: 0x80131942
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance.EndOperation(IAsyncResult result)
   at AsyncInvokeEndEndOneWayMethod(Object , Object[] , IAsyncResult )
   at System.ServiceModel.Dispatcher.AsyncMethodInvoker.InvokeEnd(Object instance, Object[]& outputs, IAsyncResult result)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeEnd(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)".

I have a BizTalk Receive Location of type WCF-Custom doing SQL polling with AmbientTransactions=false.

The shocking thing is that the stored proc runs, updates the database, but doesn't return any message to BizTalk and non suspended instances. The stored proc tests okay in SSMS. 

DTC looks to be set up correctly; this is a dev machine where the receive location is pointing to a SQL database on same server.

It worked on this server about 10 days ago; I changed the stored proc to add new columns returned, and manually changed the generated schema (rather than re-generating it).

Thanks,

Neal Walters
http://NealWalters.com



Viewing all articles
Browse latest Browse all 197

Trending Articles