BizTalk 2010 - WCF-Custom Adapter with sqlbinding - rror was encountered while attempting to transmit the message

BizTalk 2010 RTM version with SQL 2008 R2 .
An intermittent issue with the WCF-Custom adapter with sqlbinding, calling a SQL stored proc as below
Message gets suspended in BT Admin console  with "An internal server error was encountered while attempting to transmit the message" .
Event log shows 
A message sent to adapter "WCF-Custom" on send port "xxx" with URI "mssql://server/db?" is suspended.  Error details: Unknown Error Description 
Any advice please. Thanks
Sullu.
http://biztalkguide.blogspot.com/ Please mark as answer if this solved the issue.Thanks

Hi Chen
Is there any update on this please ?
I have applied the latest CU and have noticed the following issue.
BizTalk 2010 Enterprise Edition with BizTalk 2010 CU6 and CU3 for BizTalk Adapter Pack works fine , no issues noticed.
However ,
On a DEV VM ,BizTalk 2010 Developer Edition with BizTalk 2010 CU6 and CU3 for BizTalk Adapter Pack still gives the error mentioned in this post.
In addition Microsoft BizTalk Adapter Pack ,Microsoft BizTalk Adapter Pack(x64) & WCF LOB Adapter SDK are also installed .
Below is the Error message.
Message gets suspended in BT Admin console  with "An internal server error was encountered while attempting to transmit
the message" .
A message sent to adapter "WCF-Custom" on send port "xxx" with URI "mssql://server/db?" is
suspended.  Error details:
Unknown Error Description 
Could you please check and advice what needs to be done to resolve this ? Thanks .
Regards,
Sullu
http://biztalkguide.blogspot.com/ Please mark as answer if this solved the issue.Thanks

Similar Messages

  • BizTalk 2010 wcf-oracledb adapter with Oracle Database 12c

    Hi,
    My customer is currently running BizTalk 2010 adapter pack wcf-oracledb with Oracle 11g.
    They want to upgrade the oracle database to 12c.
    Is it possible to use BizTalk 2010 wcf-oracledb adapter with Oracle 12c?
    Thank you.
    br, Johan

    Hi,
    No it is not supported.
    For the Oracle Database Adapter
    Supported server versions: Oracle database version 11.1, Oracle database version 10.2, Oracle database version 10.1, Oracle database version 9.2
    Supported client versions: Oracle Data Access Components for Oracle Client 11.1.0.6 with Patch Set 11.1.0.7, Oracle Data Access Components for Oracle Client 11.1.0.7
    Refer:
    Microsoft BizTalk Adapter Pack 2010 Documentation
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • In which order operations will execute in Composit Operation by WCF-Custom adapter with SQLBindings?

    Suppose my Composite opertaion request schema is as below:
    <?xml version="1.0" encoding="utf-8" ?>
    <Request xmlns="http://[PROJECT_NAME].[COMPOSITE_SCHEMA_NAME]">
      <Insert xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/[SCHEMA]/[TABLE_NAME]">
        <Rows>
          <[TABLE_NAME]>
            <[FIELD1_NAME]>[Value1]</[FIELD1_NAME]>
            <[FIELD2_NAME]>[Value1]</[FIELD2_NAME]>
          </[TABLE_NAME]>
        </Rows>
      </Insert>
      <[SP_NAME] xmlns="http://schemas.microsoft.com/Sql/2008/05/Procedures/[SCHEMA]" />
      <Delete xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/[SCHEMA]/[TABLE_NAME]">
        <Rows>
          <[TABLE_NAME]>
            <[FIELD1_NAME]>[Value1]</[FIELD1_NAME]>
          </[TABLE_NAME]>
        </Rows>
      </Delete>
    </Request>
    Query is that in which order the requset message will be execute? Which one statement (Insert, SP or Delete) will execute first and
    Which one (Insert, SP or Delete) will execute in last?

    they will execute in the same order which you mentioned in the composite schema. Means they will execute order by nodes in the composite message
    have a look
    here , see below snap from that URL.
    in your case, the order will be
    1. INSERT
    2. SP
    3. Delete
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Issue with WCF-Custom adapter polling Oracle db

    Hi,
    I have a scenario where BizTalk connects to Oracle db using WCF-custom adapter with OracleDbBding which has queries at P below properties:
    PolledDataAvailableStatement
    PollingStatement
    PostPollStatement
    The interface was working for more than 2 years, but when oracle server is moved from prod to DR server, it started throwing crazy errors.I have gone thru many blogs there seems to no definitive answer or solution for this.
    I have been getting below errors:
    The adapter "WCF-Custom" raised an error message. Details "The faulted WCF service host at address oracledb:// could not be restarted, and as a result no messages can be
    received on the corresponding receive location. BizTalk Server will continue trying to start the service host until it succeeds or the receive location is disabled.
    The adapter "WCF-Custom" raised an error message. Details "The faulted WCF service host at address oracledb://xxxxx/?PollingId= could not be restarted, and as a result
    no messages can be received on the corresponding receive location. BizTalk Server will continue trying to start the service host until it succeeds or the receive location is
    disabled.
    To fix the problem, you may choose to:
    1. Use the error information given to fix the problem.
    2. Restart the receive location.
    3. Keep waiting for BizTalk to recycle the service host. Another event will notify if the service host is successfully started.
    Detailed error information: Microsoft.ServiceModel.Channels.Common.ConnectionException: Connection request timed out ---> Oracle.DataAccess.Client.OracleException Connection
    request timed out    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object
    src, String procedure)
       at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
       at Oracle.DataAccess.Client.OracleConnection.Open()
       at Microsoft.Adapters.OracleCommon.OracleCommonConnectionWrapper..ctor(String connectionString, OracleCommonExecutionHelper executionHelper)
       at Microsoft.Adapters.OracleDB.OracleDBConnection.Microsoft.ServiceModel.Channels.Common.IConnection.Open(TimeSpan timeout)
       --- End of inner exception stack trace ---
       at Microsoft.Adapters.OracleDB.OracleDBConnection.Microsoft.ServiceModel.Channels.Common.IConnection.Open(TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnection(Guid clientId, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnectionHandler[TConnectionHandler](Guid clientId, TimeSpan timeout, MetadataLookup metadataLookup,
    String& connectionId)
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener`1.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open()
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.RecycleServiceHost(Object unused)".-------------------------
    The adapter "WCF-Custom" raised an error message. Details "System.ServiceModel.CommunicationObjectFaultedException: The communication object,
    Microsoft.ServiceModel.Channels.Common.Channels.AdapterInputChannel, cannot be used for communication because it is in the Faulted state.
       at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Close()
       at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.Close()".

    "Oracle.DataAccess.Client.OracleException Connection  request timed out    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object 
    src, String procedure)"
    Looks like it's the Oracle client that can't connect. Can you run any queries from the Oracle tools?

  • Can Wcf-Custom Adapter implement Wcf-WebHttp Functionality?

    Can the Wcf-Custom adapter implement the same functionality as the Wcf-WebHttp adapter in BizTalk 2013? In particular, can it provide the same functionality as the operation map and the variable map? If not, is there any other way to provide Wcf-WebHttp
    functionality without hosting an adapter in IIS with an isolated host?
    Thanks!

    Yes, but...
    You can set the mappings on outgoing messages with some new Context Properties.  This describes how to do it on a Dynamic Port, but it should work the same on a static port. 
    http://masteringbiztalkserver.wordpress.com/2013/11/11/calling-restful-service-using-dynamic-send-ports-biztalk-2013/
    The receive side is a bit different since I'm 97% sure all the mapping happens in the BizTalk Adapter (WS-WebHttp) not any of the binding elements.
    However, you can essentially replicate that functionality with a Custom Pipeline Component.  In that case you would use the WCF-Custom Adapter with the webHttpBinding.

  • Issues with creating and sending BOM XML IDOC to SAP using 2010 WCF-SAP Adapter (without using Biztalk Server)

      I'm trying to replace an existing Biztalk 2006 Send BOM IDOC process, and completely remove Biztalk server from the equation.   The existing Bizatalk 2006 server receives an input BOM (Bill of Materials) flat file, and using a Biztalk Map (BM08),
    and Orchestration, generates an Idoc and sends it to SAP.
      In my replacement C# program, I'm using the 2010 WCF-SAP Adapter, and am trying to generate the BOMMAT03 XML IDOC it to SAP.  
      I generated the BOMMAT03 schema from SAP using the Add Adapter Service in VS 2010.  I was able to generate a BM08 XSLT from the existing BMO8 map in the current Biztalk 2006 process.  I am able to run a XSLT transform on the input BOM flat
    file, and generate an XML file from that.  
      However, I've run into a few issues.   First of which, is that the XML file that is generated from the XSLT transform is NOT the same schema as the BOMMAT03 schema expects.  It's somewhat similar, but different enough that I have to manually
    translate between the two in my code.  I've verified that both the original Bitztalk 2006 process and my replacement program use BOMMAT V3 from SAP.  Question--Is Biztalk 2006 server doing some other magic to turn that transormed XML into the BOMMAT03
    schema?    
     I ended writing code which translates the transformed XML into the BOMMAT03 schema (which is a strong typed XML IDOC at this point).
      However, when I try to send the BOMMAT03 XML IDOC, I get an exception "Object reference not set to an instance of an object."
                   idocClient.Send(idocData, ref sadapterTxGuid);
    idocData is of type BOMMAT03, and I've verified that the various fields are populated.  
      Any help is appreciated. 

    Well, putting in a MSDN subscription support ticket for Biztalk server actually helped with the issue.  They didn't find, or fix the issue directly.  But one of the examples (https://randypaulo.wordpress.com/tag/idoc/) they sent over, jogged my
    memory, and I realized in the code snippet below, I had accidentally deleted the 1st line.  Such a simple mistake, yet was easy to overlook.  The URL example is almost EXACTLY like my code, but without the transform and translation code to convert
    from input XML file to IDOC XML.  If someone is interested in that, let me know.    
    //Forgot the 1st line.  
    idocClient = new IdocBOMMAT03SIEIS_WED_BOMMAT03V3R700Client(binding, endpointAddress);
     idocClient.Send(idocData, ref sadapterTxGuid);
    For anyone else interested in knowing, you CAN send a strongly typed IDOC to SAP using C#.NET and the WCF SAP 2010 Adapter, using the IDOC Binding Client class you generated using the Add Adapter Service Reference in VS2010.  
    The one difference, which no one, not even the tech support from MS could tell me, was why the XSLT which I generated from the original map, did not transform the input BOM XML into the BOMMAT03 XML.  Instead, it transformed it into an intermediate
    XML, which resembled the BOMMAT03 IDOC XML, but still needed to be translated to the BOMMAT03 IDOC format.  
    The tech support person swore up and down that it should.  But I believe that something happens in Biztalk server, after the Mapping occurs, maybe in the Pipeline, which converts that
    intermediate XML into the final BOMMAT03 IDOC XML format.
    I do think that the examples are severely lacking in showing how to send a strong typed IDOC using C# and the WCF-SAP Adapter.  Even worse, the examples are completely lacking in how to actually generate a weakly typed IDOC.  They show how to send
    that weakly typed IDOC, but show me, or give me a class to be able to generate it.
    I realize that this is not quite the "recommended way" to do it, but in reality, not everyone wants or even needs a full Biztalk installation.   For some simple stuff like this, a C#.NET program and WCF-SAP adapter do the trick.  

  • WCF Custom Adapter

    Hi all,
    I am facing the below mentioned issue  while configuring the WCF custom Adapter in Biztalk Server 2013 
    WCF-Custom Transport Properties
    Error saving properties.
    (System.ArgumentException) Invalid binding.
      (System.IO.FileNotFoundException) Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
    Any one please suggest
    OK   

    Dear Biztalk007,
    I also faced the same issue but on Biztalk 2010. Here is what I did.
    The issue may be three fold. You must have following installed in addition to your stand alone biztalk installation
    1) Biztalk  WCF Adapter pack
    2) Biztalk LOB adapter pack
    3) Appropriate Oracle Client.
    But you must take care of the thing that a proper Oracle Client suitable to your needs. I am working on Biztalk 2010 and I intsalled Oracle 11g.
     I am pretty sure ,yur error will be resolved after their installation.
    Regards,
    Mandar Dharmadhikari
    Please mark as answer if this helps to answer your question.

  • Nonce property in WCF custom adapter

    Hello All,
    How to configure Nonce property in WCF Custom Adapter in Biztalk.
    I have created custom assembly as mentioned in other blogs(http://weblog.west-wind.com/posts/2012/Nov/24/WCF-WSSecurity-and-WSE-Nonce-Authentication), where we can create UsernameToken to specfy it, but how to use it?
    I have added it into GAC, but biztalk is not referring it.
    Pooja Jagtap Software Engineer KPIT Cummins

    Hi,
    You should look into the following articles first:
    http://msdn.microsoft.com/en-us/library/ms731075.aspx
    http://msdn.microsoft.com/en-us/library/dd203050(v=bts.10).aspx#BKMK_ConsumeWCFSvc
    You don't even necessarily need to code a new binding. Using the WCF-Custom adapter, you can choose your binding as customBinding (in the bindings tab of the port configuration), and then specify which binding elements should constitute your binding.
    Of course, another workaround is to call a WSE 3.0 service using a developed external assembly in an orchestration.
    Hope the information helps.
    Best regards,
    WenJun

  • HT204053 I have one apple ID for purchases and then my mobile me ID where I use for email.  So I have set my cloud with my mobile me name, while keeping my purchases the original name.  Will my purchases be recognized as purchases when backup is finished.

    I have one apple ID for purchases and then my mobile me ID where I use for email.  So I have set my cloud with my mobile me name, while keeping my purchases the original name.  Will my purchases be recognized as purchases when backup is finished.

    Welcome to the Apple community.
    So long as you are logged into the iTunes Store, using the correct ID and password (settings >store), then you will always have access to your apps, books, music, TV shows etc etc bought via the iTunes Store on that account.

  • When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    FCE can use DV or AIC video formats natively.  Any other format will need to be converted to one of those two if you want to avoid constant rendering.  The clips you use must match the Sequence settings.
    -DH

  • I am trying to burn a DVD with a 50 minute video.  I repeatedly get the message that the content is too long.  What have I done wrong??

    I am trying to burn DVD with a 50 minute video.  I repeatedly get the message that the content is to long.  What am I doing wrong??

    Is this using iDVD?
    iDVD encoding settings:
    http://support.apple.com/kb/HT1502?viewlocale=en_US
    Short version:
    Best Performance is for videos of up to 60 minutes
    Best Quality is for videos of up to 120 minutes
    Professional Quality is also for up to 120 minutes but even higher quality (and takes much longer)
    That was for single-layer DVDs. Double these numbers for dual-layer DVDs.
    Professional Quality: The Professional Quality option uses advanced two-pass technology to encode your video (The first pass determines which parts of the movie can be given greater compresson without quality loss and which parts can’t.  The second pass then encodes those different parts accordingly) , resulting in the best quality of video possible on your burned DVD. You can select this option regardless of your project’s duration (up to 2 hours of video for a single-layer disc and 4 hours for a double-layer disc). Because Professional Quality encoding is time-consuming (requiring about twice as much time to encode a project as the High Quality option, for example) choose it only if you are not concerned about the time taken.
    In both cases the maximum length includes titles, transitions and effects etc. Allow about 15 minutes for these.
    You can use the amount of video in your project as a rough determination of which method to choose. If your project has an hour or less of video (for a single-layer disc), choose Best Performance. If it has between 1 and 2 hours of video (for a single-layer disc), choose High Quality. If you want the best possible encoding quality for projects that are up to 2 hours (for a single-layer disc), choose Professional Quality. This option takes about twice as long as the High Quality option, so select it only if time is not an issue for you.
    Use the Capacity meter in the Project Info window (choose Project > Project Info) to determine how many minutes of video your project contains.
    NOTE: With the Best Performance setting, you can turn background encoding off by choosing Advanced > “Encode in Background.” The checkmark is removed to show it’s no longer selected. Turning off background encoding can help performance if your system seems sluggish.
    And whilst checking these settings in iDVD Preferences, make sure that the settings for NTSC/PAL and DV/DV Widescreen are also what you want.
    http://support.apple.com/kb/HT1502?viewlocale=en_US

  • I have been using my iPad with sim for weeks now, just 24 hrs ago the message I am having is no SIM card installed, I tried it with some other SIM card same same still pop up. What can I do pls

    I have been using my iPad with sim for weeks now, just 24 hrs ago the message I am having is no SIM card installed, I tried it with some other SIM card same same still pop up. What can I do pls

    ok, I did, and it said again congrats your iPhone is unlocked, but, when it said there was a new carrier update, I cancelled it, but, it asked me again, I cancelled again, I guess I'm scared it will lock it again if I allow the carrier update.
    Oh, there it goes again, this time on the phone, arg. I hit update, I hope it doesn't freak out.
    I'm glad I didn't destroy the SIM like I almost did. But, it will come out again, longer battery life with the cell portion turned off.

  • I have recently upgraded to an iphone 5. When trying to sync/ back up with my current i tunes settings. I get the message the it 1.6GB over the storage capacity. Although when syncing my i phone 4 (same size 16GB) i do not have any problems?

    I have recently upgraded to an iphone 5. When trying to sync/ back up with my current i tunes settings. I get the message the it 1.6GB over the storage capacity. Although when syncing my i phone 4 (same size 16GB) i do not have any problems?' I am not sure what the problem may be?

    iOS uses more memory on the iPhone 5 than the iPhone 4 because there are quite a few more to iPhone 5. Therefore there will be less memory available on the 5. Reluctantly iOS 7, coming this fall, uses a bit less memory than iOS 6 so if you can do without a few apps until then you should be gravy!

  • How to solve An error was encountered while syncing ZERO while syncing blackberry with mac

    how to solve An error was encountered while syncing ZERO while syncing blackberry with mac

    I've got this problem too - is there a fix?

  • Error in WCF-Custom adapter (sqlbinding)

    There is a stored procedure tempdbo.dbo.InsertArTrxTyp.  I used the Add Generated Items wizard to create the schema and binding file for the stored procedure.  Import the binding file and get a send port, type WCF-Custom, with sqlbinding.  When
    the port action header is 
    <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Operation Name="InsertArTrxTyp" Action="Procedure/dbo/InsertArTrxTyp" />
    </BtsActionMapping>
    The event log shows error
    <Operation Name="InsertArTrxTyp" Action="Procedure/dbo/InsertArTrxTyp" /></BtsActionMapping>" was not understood.
    If I reduce the action header to 
    Procedure/dbo/InsertArTrxTyp
    the event log shows
    Object [dbo].[InsertArTrxTyp] of type StoredProcedure does not exist
    In the second case, SQL Profiler shows the code sent to the sql server querying for the existence of
    @ORIGINALOBJECTNAME=N'InsertArTrxTyp',@ORIGINALSCHEMANAME=N'dbo'
    If I run that code, I get results that indicate the existence of that object.
    Why is the fist action mapping wrong?  Why does the second action mapping result in no object found?  I've read this
    post but don't see how it applies to this situation as I'm not using an orchestration.

    Hi,
    Try and check following points:
    1. Update the SQL URI with the complete SQL instance name, if you are using the a named instance.
    2. Verify if the user, under which BizTalk host instance in running, have suffecient rights on the target DB to execute the SP.
    Hope this will help.
    HTH,
    Sumit
    Sumit Verma - MCTS BizTalk 2006/2010 - Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

Maybe you are looking for

  • Changing the imported names

    All my songs in iTunes I have ripped from CDs. Sometimes the names which are imported are not completely correct (I can compare since they are written on CD :)). It usually happens with Czech CDs and the errors are of two types: a) the names are usin

  • Plotting xyz Coordinate​s on 3D Graph Help

    Hi, I have an array (max size 10) of xyz coordinates which i want to plot on a 3D graph. These 10 points are constantly moving (data from a Leap Motion hand tracker) I have attached a screen shot of simple VI and example data How would i go about gap

  • Traversing between dependent schemas-- using Navigation in OER

    Hi All, I would like to know , how to traverse between dependent schemas using NAVIGATION in OER. For ex: OrderManagement has a PDF, WSDL,XSD,.doc when we search for OrderManagement and would like to see dependent file and traverse between those file

  • Updated to applypreferences.sh file but the changes did not take effect - h

    my user requested to increase the number of rows allow to retrieve when running a report, I made changes to applypreferences.sh file but when closed all session of Discoverer Viewer and open it again, viewing the preferences for this report, the "*Li

  • Best Print implementation in jsp when javascript fails ............

    Hello !!! I have a requirement where <iframe> html tag is used. So just with window.print() of javascript, print request doesn't work properly. So could you please suggest me another approach probably using SUN technology with which I can have much f