How do you configure a WCF-SQL adapter to write data from a SQL2012 "always on" database?

Hi All,
I have a BizTalk environment. I have to write the data from BizTalk to the database which is configured using ALWAYS ON availability group.
I use WCF-SQL adapter to write the data. My question is this setup a supported?

The answer is NO.
Refer: Can
I use a BizTalk WCF-SQL send adapter with a SQL 2012 Always on Database?
A snippet quoted below.
In summary (in order of preference):
Disable AlwaysOn Availability Groups / Mirroring on SQL server if you need to connect to this SQL server which has this enabled
Disable transactions and implement logic to be able to handle duplicates .
Disable transactions and handle the duplicates or lost messages with custom logic (e.g. Send twice and compare and implement error handling). You need to write your own DTC handling this which
is probably very complicated.
Disable transactions and live with risk of duplicates or lost messages without handling duplicates.
Refer: SQL Server AlwaysOn feature does not support MSDTC transactions.
Rachit
Please mark as answer or vote as helpful if my reply does

Similar Messages

  • How to access ,Oracle 7.x,SQL server,MS access data from portal 3.0.7

    hi,
    i am sorry to repost it . but
    we r badly in need of accessing data from Oracle 7.x,SQL Server and access to Portal3.0.7 Applications.
    pl. help us.
    null

    Hi swati,
    1. for this u will also require help of basis team.
    2. these are the steps.
    a) make an entry in DBCON
    b) make connection string
    (on the physical application server,
    so that it can connect to secondary database)
    (this will be done by basis team,
    in which, they will specify the
    IP address of the secondary database server,
    the DATABASE ID, and the port number)
    c) then using open sql / native sql,
    we can use the secondary database connection,
    just like normal.
    d) if we use open sql,
    then there must be Y/Z table on
    sap as well as secondary database,
    and the field names , their type all should be identical.
    regards,
    amit m.

  • How to find out the failed sql command and its data from DEFERROR

    Hi,
    has anybody a procedure or some other possibilities to read the content of column USER_DATA of the advanced replication view DEFERROR in order to find out the failed sql command and its column values?
    Thanks in advance.

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • Polling using WCF SQL Adapter

    Hi - I have to develop this in BizTalk
    There is a table in SQL database where BizTalk needs to poll the data using WCF SQL Adapter.
    How and what query/stored proc do I need to write ?
    and how about polling interval should I mention.
    Is there any detailed blog or link which clearly explains this, will be helpful
    MBH

    The first thing that you should remember is that the most effective way of getting data from SQL would be if you could remove the records after reading them. This was something that the native SQL Server adapter supported. For WCF-SQL, the way to achieve
    this is to
    Create a SP which is what you will specify as the execute statement for your adapter. This SP would, on the basis of TOP 1, get the ID, read the record and delete it. Then it would return the read data. You will generate schemas for this SP and deploy them
    for subscribing to the received messages.
    You will create a query that returns the count of records from the said table which you will use as the polling query. This will ensure that the adapter uses this on the configured interval to see if data exists. If it exists, it would use the execute statement
    (invoking your SP) to get the data.
    There is an option to keep executing the SP while data is available. This ensures that if more than ONE record is inserted into your table, all the records would be picked up after the first polling interval (as opposed to poll, pick-up one, poll and then
    pick up the other, etc.). Be careful while setting the polling interval (you cannot go beyond 1 sec) since this depends on your SQL servers ability to process the data.
    With regards to documentation, I'd refer you to
    http://msdn.microsoft.com/en-us/library/dd788532.aspx - Polling SQL Server by using the WCF-SQL Adapter.
    Regards.

  • Adding wcf-sql adapter

    Please suggest how to add the wcf-sql adapter to biztalk application.

    you first need to configure handler for wcf-sql adapter.
    open admin console, goto platform settings, expand adapters, and select wcf-sql adapter. and right click on it, and then create receive/send handlers for it.
    if you don't see wcf-sql adapter in adapter section, it means that you did not install wcf-sql adapter components.
    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.

  • WCF-SQL Adapter Login fail 'NT AUTHORITY\ANONYMOUS LOGON

    Hi,  
    I am have three WCF-SQL receive with WCF-SQL Adapater and two are working fine but the third one is giving the following warning in the Eventlog.  Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    I really appreciate your help.
    thanks
    Ram
    ---------------Warning written to EventLog --------------- 
    The adapter "WCF-SQL" raised an error message. Details "Microsoft.ServiceModel.Channels.Common.AdapterException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.. Endpoint Address - mssql://txhubdb//switch_mailbox_RX2?
    ---> System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteXmlReader()
       at Microsoft.Adapters.Sql.ExecutionHelper.ExecuteXmlReader(SqlCommand sqlCommand, Double totalSeconds)
       at Microsoft.Adapters.Sql.SqlAdapterInboundHandler.Polling_TryReceive(TimeoutHelper timeoutHelper, Message& wcfMessage)
       at Microsoft.Adapters.Sql.SqlAdapterInboundHandler.TryReceive(TimeSpan timeout, Message& message, IInboundReply& reply)
       --- End of inner exception stack trace ---
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterInputChannel.EndTryReceive(IAsyncResult result, Message& message)
       at System.ServiceModel.Dispatcher.InputChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext)
       at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)".

    1) Do you have the same Credentials settings for all 3 Receive Locations (Found under Configure | Other | Credentials on you WCF-SQL Adapter)
    2) Are all 3 Receive Locations Locations polling from the same SQL Server? If not are they then on the same domain? If the server that is failing is not on the same domain as your BizTalk Host User, then you might need to supply credentials and use a local
    SQL User.
    Morten la Cour

  • WCF-SQL Adapter Hangs in Active State for hours

    I'm at a new client, and doing a simple test with a content-based-routing solution picks up a file, maps it, and is supposed to update a SQL database.  The WCF-SQL send port is stuck in the "active" state.  No messages in EventLog.  If there's
    an issue, I don't know why it doesn't just suspend.
    Any ideas?
    Thanks,
    Neal Walters

    Hi Neal,
    Few things to check IMO,
    Check if the host instance is running properly
    Check the version of the Host instance, If required make the host instance to 32 bit. 
    If it is using any schemas then make sure the binaries are deployed and gace'ed
    Try to restart the BizTalk host instance to see if it makes a difference
    Check if your SQL Database Instance is UP and running , Make sure the BizTalk service Account has proper rights on the SQL server and has execute permission on the SQL Stored procedure (if using one)
    Check if you have anything on the SQL server event viewer.
    Try to complete you routing of file using a send port also which will copy the input message to a temp folder location , Try  Using Failed Message Routing to see
    if it helps!
    There is an article
    Configuring a Port Using the WCF-SQL Adapter for further reference. 
    HTH,
    Naushad Alam
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or
    Mark As Answer
    alamnaushad.wordpress.com
    My new TechNet Wiki
    "BizTalk Server: Performance Tuning & Optimization"

  • WCF-SQL Adapter Set up

    Hi,
    I am using Microsoft Biztalk 2010 on Windows Server 2007(SP2). I am want to use WCF-SQL adapter but I am not able to see any adapter when I tried to create new adapter at "Platform Setting -> Adapter -> New Adapter dropdown.".
    Windows Communication Foundation LOB Adapter SDK, Microsoft Biztalk Adapter Pack, Microsoft Biztalk Adapter Pack(x64) are installed on my machine.
    Am I missing something? how to get the WCF-SQL in the list of adapter.
    Thanks, Girish R. Patil.

    Hi Girish,
    Another area to check is machine.config file for binding entries.
    check following for hint  :   http://tech-findings.blogspot.in/2013/06/no-valid-adapters-installed-on-machine.html
    Maheshkumar S Tiwari|User Page|Blog|BizTalk
    Server : How Map Works on Port Level

  • Polling records from mulitiple table(61 Tables) using WCF-SQL adapter

    Hi,
    I would like get some suggestion from this forum. I've a scenario, in which I need to poll the records from multiple table(61) which are related and may have one to many relationship. what's the best way to poll the records from SQL table to BizTalk.
    Thanks in advance..
    Regards,
    Karthick

    Karthick,
    Write a SQL stored procedure with joins from your 61 tables (!!!) . Use WCF-SQL adapter to invoke the procedures.
    Following references shall help you:
    Executing Stored Procedures in SQL Server by Using BizTalk Server
    Performing Composite Operations on SQL Server by Using BizTalk Server
    Bing-Results: biztalk wcf sql
    adapter polling stored procedure
    I don’t know your exact requirement. Consider using SQL-SSIS for ETL process depending on your requirements. Anyway if your requirement really needs BizTalk, above suggest
    should solve your problem.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • WCF-SQL Adapter

    How to add the wcf-sql adapter to BizTalk application?
    Aditi

    Hi Aditi,
    To add WCF-SQL adapter follow the MSDN link:Adding the SQL Adapter to BizTalk Server Administration Console
    To add WCF-SQL adapter  and start working with it, follow the technet article :
    BizTalk Server: WCF-SQL Adapter Table Operations
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    Server: Multiple XML files to Single FlatFile Using File Adapter

  • How do you configure a farm name in RDS 2012?

    I understand Remote Desktop Services has undergo some drastric changes.
    How do you configure a farm name in RDS 2012? Or is the concept around farm name changed in another concept?
    Although I have imported a certificate on the RDCH withe the farm name I want to use. When I click on a RemoteApp on the RD Web Access portal, it does not connect to the right farm name.
    Boudewijn Plomp, BPMi Infrastructure & Security

    You don't.  You create a collection.  A client connects to the Connection Broker and then is redirected to the collection it is connecting to.  The collection name is embedded in the connection file that the client downloads from RDWeb or
    the RDWeb feed. 
    A collection is basically at least one RDSH server (for session based desktops) or one virtual machine (virtual machine based desktops). 
    Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging

  • How do you configure the server in this situation?????????????

    Hi,
    We have Oracle 10.2 and Windows 2003.
    We have Oracle on Cluster (with Windows software).
    When the System are without cluster all it’s OK!!!!!!
    We have 2 Resources Cluster Group: Oracle and Applications.
    We have Oracle in Oracle cluster group.
    We have “W” Drive and a ftp program in Application cluster group.
    We have C drive in both nodes. We have installed Oracle in both nodes but we have “W” drive only associate to the Active Node because is a Cluster resource (Application cluster group).
    All days we receive text files by ftp and we put it on W Drive. This text files are readen with external tables in Oracle.
    We have a problem when oracle fails and it goes to the another node (for ex. node2) because the external tables fail because the files are on Node1 on W Drive. If we move manually Applications cluster resource to Node2 then all it is OK.
    We think to put UNC pathes instead of “W” but it’s not possible (Metalink: Note:290703.1)
    How do you configure the server in this situation?????????????
    Thanks!

    We run a similar configurations and i doubt you have a chance other then reconfigure your setup. The way we do it is to have an ftp client in our database group and periodically transfer the files a second time (not elegant but it's working).
    If that's not an option you might be able to use unc names in your ftp server and set the ftp root to a directory hosted on a disk which is part of the database group.
    Or move to unix (that's what we do now). Than you don't have to bounce your server once in a month to apply security patches...

  • How do you configure the default Webserver  and AppEX in XE(windows)?

    I'm new to XE but an old hat with Oracle Standard and Enterprise editions, Apache and AppEx (htmldb).
    What is the default webserver that comes with XE(windows) and how do you configure it? Where are the httpd config files?
    Also I read in the doco that you need to use Apache if you want to use https. Is there any doco on how to configure XE with Apache?
    Also with respect to AppEx
    where are the physcial files e.g. I can't find the following file or directories. Where is virtual directory /i/ mapped to? Where is this configured?
    http://127.0.0.1:8080/i/htmldb/builder/db_users_ctrl.gif
    regards
    Paul Platt

    Paul,
    for the Apex files see: http://daust.blogspot.com/2006/03/where-are-images-of-application.html
    For configuring the Apache as a proxy to XE:
    HTTPS with Oracle XE ?
    Re: Existing http server
    ~Dietmar.

  • How do you configure spaces in Lion?

    OK, I've found most of what I need to configure Lion but I can't find the preference panel to change the 'all spaces' view to the old style (where you see all the spaces or desktops placed on the screen in equal sizes). The new default 'mission control' view isn't as useful to me. I also don't see where to assign apps to a specific space. Finally, how do you get at the 'spaces' option for a hot corner? Where has all this moved?

    Obviously it's grown into the mission control feature... I don't care what the terms are now, I just want to know where the controls moved to.
    OK, let's try this:
    How do you configure mission control to display spaces in the old tiled format? Or whatever you call spaces/desktops now. For example, the 6 spaces I was using are still there. Apps still open where they were set to (go migration assistant!). Where do you get at the settings for this stuff now?

  • Trying to install airport 5.6 to configure old UFO airport but doesn't show up in the app utility folder. How do you configure older Airports in OS X 10.7.5??

    trying to install airport 5.6 to configure old UFO airport but doesn't show up in the app utility folder. How do you configure older Airports in OS X 10.7.5??

    David Why? wrote:
    ... How do you configure older Airports in OS X 10.7.5??
    Use the technique described in this thread: I can't install airport utility 5.6
    Though it discusses Mountain Lion, you need to follow the exact same steps for OS X 10.7.5.
    I no longer have any original AEBSs to test. You may need an even earlier version of AirPort Utility. If AirPort Utility 5.6 cannot configure yours, let me know and I will attempt to find the correct version for you. You will need to use the same "extraction" technique described above.
    Edit: If 5.6 does not work try this one: AirPort Utility 5.5.3
    Important: If you elect to drag that version to your Utilities folder, be sure to give it a unique name. I suggest "AirPort Utility 5.5.3" This is not necessary for AirPort Utility 5.6, which will retain that name on its own.

Maybe you are looking for

  • Itunes 7.5 doesn't recognize by iPod nano (2nd gen)

    After upgrading to iTunes 7.5, my Macs won't recognize the presence of my iPod nano. The iPod knows its connected, because the battery is charging, but iTunes doesn't know it's there and so can't sync. Any ideas?

  • Can i use jboss seam in jdeveloper

    Hi, I am new to jdeveloper. I am developing and application using jboss seam. I am using jdeveloper as my ide. can anybody tell me if i can use jboss seam with jdeveloper. or are there any plugin available for jboss seam. nagesh

  • How do I keyframe Text Color Changes

    I'm trying to rapidly change the color of the text by keyframes but it's not working. it's just staying the same color the entire time. What am i missing?

  • Pentax K-7 support in Lightroom 2.4 not quite complete?

    Hi, I have my K-7, and Lightroom 2.4 installed. Lightroom reads K-7 pefs and dngs, but doesn't seem to do anything with the lens aberration info included in the pef files when that feature is enabled. Am I correct, and if so, is this just temporary,

  • I forgot my ipod passcode lock, how do i unlock it again?

    I have tried doing the 'Try to connect to itunes on your home conputer device' Thing, it hasnt work ONCE. Plese help.