none
BizTalk 2013 R2 - WC-Custom Adapter SAP-Binding: Unhandeld exception on failure tests RRS feed

  • Question

  • Dear Mr./Ms.

    We have set up a test environment with BizTalk 2013 R2 Developer edition.

    And we have also set up the SAP adapter following this blog

    https://sandroaspbiztalkblog.wordpress.com/2015/03/04/biztalk-server-20132013-r2-step-by-step-wcf-sap-adapter-installation-guide/#comments

    .But instead we used a WCF-Custom adapter with SAP-Binding

    Everthing works fine if BizTalk can connect to SAP. But if we do some failure test, like giving in a wrong password. We get next error in the event viewer:

    Application: BTSNTSvc64.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Runtime.CallbackException
    Stack:
       at Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredAsyncResult.SignalFinished(System.Object, System.Exception)
       at Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredOutboundChannel`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AsyncRequest(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()

    We would expect that we get some kind of authentication error and a suspended message. But Instead the host instance crash and message stays in process. Thanks in advance.

    Kind regards

    Benny Verhamme


    benny verhamme signed


    • Edited by Orophine Wednesday, March 11, 2015 9:21 AM
    Wednesday, March 11, 2015 9:19 AM

Answers

  • We would expect that we get some kind of authentication error and a suspended message. But Instead the host instance crash and message stays in process. Thanks in advance.

    Hi Benny,

    Thanks for your feedback in BizTalk forum.

    As you mentioned above, we will receive an unhandled exception when we did something wrong during the procedure. I'm afraid that this is "by design", if this request is urgent for you, you could consider contact support directly(http://support.microsoft.com  ).   Thanks for your understanding.

    Best regards,

    Angie



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Angie Xu Friday, March 20, 2015 1:49 AM
    Thursday, March 12, 2015 9:27 AM

All replies

  • We would expect that we get some kind of authentication error and a suspended message. But Instead the host instance crash and message stays in process. Thanks in advance.

    Hi Benny,

    Thanks for your feedback in BizTalk forum.

    As you mentioned above, we will receive an unhandled exception when we did something wrong during the procedure. I'm afraid that this is "by design", if this request is urgent for you, you could consider contact support directly(http://support.microsoft.com  ).   Thanks for your understanding.

    Best regards,

    Angie



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Angie Xu Friday, March 20, 2015 1:49 AM
    Thursday, March 12, 2015 9:27 AM
  • "By the design?" This did work in BizTalk 2010? It does work if I set BizTalkCompatibilityMode to false. Then we get a warning. But we want all the tracing stuff so it needs to be set to True. But then we get above error. Sure it has nothing to do with the .Net framework or something?

    benny verhamme signed

    Thursday, March 12, 2015 1:12 PM
  • You can submit this issue to Microsoft, Microsoft can look into it further.
    Tuesday, March 17, 2015 5:53 AM
  • Hi,

    This seems to be a known issue of host crashing, request you to open a ticket with Microsoft Support and they should be able to assist you.

    As per my understanding they already have a private fix for this error, which will be available publicly in next CU


    Thanks,
    Prashant
    ----------------------------------------
    Please mark this post accordingly if it answers your query or is helpful.

    Tuesday, March 17, 2015 12:14 PM