BizTalk 2013r2 SQL Adapter 64bit?

I have recently configured a new server for BizTalk 2013r2 Standard Edition and ESB Toolkit.
On my first check to test routing to the ESB Exception Db was working ok, the following error was raised from Microsoft.Practices.ESB, All.Exceptions:
"The send adapter for this send port is not supported on 64-bit host instances. Please make sure that the send adapter is associated with a 32-bit only handler. "
I have the All.Exceptions send port configured to run under a host I've called "SendHost" which is configured to 64bit. I know previous versions of the SQL adapter were 32bit only but I thought this had been upgraded since BizTalk 2010, or possibly
even before.
Maybe the fact that I'm using Standard edition is significant? Any suggestions welcome.
Thanks,
Rob.

"The send adapter for this send port is not supported on 64-bit host instances. Please make sure that the send adapter is associated with a 32-bit only handler. "
I know previous versions of the SQL adapter were 32bit only but I thought this had been upgraded since BizTalk 2010, or possibly even before.
Maybe the fact that I'm using Standard edition is significant? Any suggestions welcome.
No, the legacy SQL Adapter is only supported in 32-bit Host Instances.  That has never changed, nor is is likely to.
All editions of BizTalk Server 2013 R2 support 64bit processes on 64bit Windows.
You have to create a 32bit Send Host for the legacy SQL Adapter.

Similar Messages

  • BizTalk 2010 SQL adapter connection to SQL2014.

    I tried to connect BizTalk 2010 SQL adapter connection to SQL2014.   The adapter found the database but the test connection said it would not connect.
    Can this be done?
    Kent Wallace
    HMA BizTalk developer
     

    HI Kent Wallace,
    For this question, here is relevant discussion about BizTalk with SQL Server 2014, our community members' replies give good explanation about it.
    Reference:
    http://social.msdn.microsoft.com/Forums/en-US/f7916b02-795f-4954-b65c-2579cd623c96/biztalk-2013-and-sql-server-2014?forum=biztalkgeneral
    hope it helps
    Regards
    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.

  • 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.

  • BizTalk 2013R2 Developer Edition from Gallery - SQL Expired!!

    I an a MSDN ultimate subscription holder and I have created a virtual machines within Azure from the Gallery.  I have select the BizTalk 2013R2 Developer Edition from the gallery which has initially been great and save me a lot of time with
    the setup.  Unfortunately after only a couple of weeks my SQL license has expired. 
    As I did not select any form of evaluation edition I would not expect software licenses to expire when they are provisioned from the gallery whenever.  As I understand it as an MSDN ultimate customer I am covered to license BizTalk Developer Edition
    and indeed SQL which come as part of the gallery VM. 
    I've seen a number of posts online around this with no solution and I was wondering if you have a view on this. 
    Have I picked up the wrong understanding or is their a defect with the BizTalk 2013R2 Developer edition gallery image.  A colleague recently reported the same thing happened with BizTalk 2013R2 standard edition image.
    Any help and advice would be appreciate as I am stuck if SQL has expired.  I don't see the point in provisioning a new gallery image if the same problem will happen.
    It is very convenient provisioning from the gallery but if the licenses expire then they become less useful and very annoying.  I could understand if I provisioned an evaluation copy but this was not the case here.
    Cheers
    Stephen

    I have had no timely response from Microsoft on this yet, despite trying my best to seek assistance from them to help fix their defect. 
    Anyway I did a fresh search online and came accross this which has worked for me
    https://www.phidiax.com/blog/post/Azure-Gallery-Image-for-BizTalk-Server-SQL-Server-evaluation-period-has-expired
     If you have access to a valid copy of SQL Server 2014 Developer Edition then you can perform an Edition Upgrade and go from SQL 2014 Enterprise Evaluation Edition to SQL 2014 Developer Edition.  Once I did this and restarted SQL Services I was
    back up and running. 
    I suspect Microsoft will need to do this with the base gallery image and then re-load it whenever they can be bothered getting around to it OR whenever a customer with an Azure technical support contract raises it!  No pay, no technical support outside
    this forum.  
    I have not tried again to fire up a new 2013R2 Developer Edition image from the gallery to see if this is fixed yet. 
    Hopefully this helps anyone in the same boat as me.  If you do not have access to SQL Server 2014 Developer Edition (via say msdn subscription) to perform this upgrade then I'm afraid you will still have difficulty resolving this.

  • BizTalk SQL Adapter

    Hi,
    I am very new to BizTalk.
    As per my knowledge we can connect to SQL server DB by using SQL Adapter.
    But can we use SQL Adapter in BizTalk for connecting to other databases like Oracle, Sybase etc.?
    Thanks in advance!!
    Regards,
    Renu

    Check the BizTalk Adapter Pack for connecting to Oracle
    http://social.technet.microsoft.com/wiki/contents/articles/5118.biztalk-server-adapter-pack-2010.aspx
    For sybase there is an ODBC adapter 
    http://www.twoconnect.com/BizTalkProducts/ODBCAdapter.aspx
    hth  /Peter

  • BizTalk 2009 SQL WCF Adapter Losing Messages? AKA TypedPolling Not Working

    Can anybody help me with this amazingly frustrating issue? Firstly, the basiscs. I'm using BizTalk 2009 Standard Edition hosted on Windows Server 2008 
    Standard (64 bit). The BizTalk databases are stored on a seperate server, running SQL Server 2008 on Windows Server 2008 Enterprise (64 bit).
    I have configured a WCF SQL adapter to poll (using TypedPolling) a SQL 2008 database which in turn activates a relatively simple orchestration. The problem
    is that the orchestration does not get executed at the specified polling intervals. I have several other similar polling adapters in my application that work
    as expected. Generally it will run correctly once or twice after enabling/disabling the receive location or restarting the host instance. But after that it
    is completely erratic. If I have it set to run every hour (3600 secs), it might complete succssfully once or twice a day at seemingly random times. On other
    days it might run seven or eight times during a day.
    I've spent heaps of time reading blogs and changing various settings on my receive location and have really run out of ideas. I've profiled SQL Server and it
    seems that the WCF SQL adapter does hit the database at each polling period as specified, using both the polledDataAvailableStatement and the
    pollingStatement. Data is always returned by these queries (a small amount - around 30 records), but they just don't seem to get to the message box. No
    errors are ever reported in the Event Log.
    I use a stored procedure for determining if data is available and for returning data. They are both effectively the same statement, one returns a count
    whilst the other returns the data. The queries are using cross server joins as you can see below. Although I do no updates, it seems that I have to run the
    receive location with AmbientTransactions turned on. Turning them off just results in a SQL Timeout exception. I don't understand why this is and would be
    grateful if someone could explain.
    Data Available (contained in a stored proc):
    SELECT  COUNT(*)
        FROM    [LMNZLSQL002\AX].[LMNZ_AX_LIVE].[dbo].[CRM_CUSTTRANS_ITG] WITH (NOLOCK)
        WHERE    (TRANSTYPE = 8 OR TRANSTYPE = 13)  
        AND SETTLEAMOUNTCUR > 0
        AND CUSTFEEINVOICETRANSACTION30005 IS NOT NULL
        AND CUSTFEEINVOICETRANSACTION30005 <> ''      
        AND CUSTFEEINVOICETRANSACTION30005 IN
            SELECT F.FeeId
            FROM [dbo].[Fees] F WITH (NOLOCK)      
            WHERE F.FeeStatus = 3        --Unpaid
            AND F.Payer IS NOT NULL
    Select Data (contained in a stored proc):
    SELECT  ACCOUNTNUM, CUSTFEEINVOICETRANSACTION30005, AMOUNTCUR, SETTLEAMOUNTCUR
        FROM    [LMNZLSQL002\AX].[LMNZ_AX_LIVE].[dbo].[CRM_CUSTTRANS_ITG] WITH (NOLOCK)
        WHERE    (TRANSTYPE = 8 OR TRANSTYPE = 13)  
        AND SETTLEAMOUNTCUR > 0
        AND CUSTFEEINVOICETRANSACTION30005 IS NOT NULL
        AND CUSTFEEINVOICETRANSACTION30005 <> ''      
        AND CUSTFEEINVOICETRANSACTION30005 IN
            SELECT F.FeeId
            FROM [dbo].[Fees] F WITH (NOLOCK)
            WHERE F.FeeStatus = 3        --Unpaid
            AND F.Payer IS NOT NULL
        ORDER BY ACCOUNTNUM,CUSTFEEINVOICETRANSACTION30005
    At one time I suspected that the issue may be related to database locking. So, as you can see, I've added NOLOCK locking hints to rule this out. I'm also
    using a Service Behaviour (SqlAdapterInboundTransactionBehaviour) declaring a transaction level of ReadUncommitted. Obviousy I'd like to move away from the
    possibility of dirty reads. Also, I've checked the SQL activity monitors when I expect the process to run and can see no locks holding it up. Also, I can
    freely execute the stored procedures from SQL Management Studio at these times.
    I'm not too experienced at monitoring BizTalk, but I wondered if some kind of throttling was occuring. So I've moved the receive location (and the
    orchestration that doesn't always get initiated) to its own host instance and have done some monitoring via the performance counters in perfmon. I haven't
    spotted any thottling going on, but maybe I wasn't looking at the correct counters (mainly used the Message Agent items).
    Here's a summary of the receive location properties:
    Transport: WCF-Custom
    Receive Handler: AXPaymentsToFeesEngine (this host instance only hosts this receive location and the orchestration it should be activating).
    Receive pipeline: XmlReceive
    General tab:
    EndpointAddress: mssql://lmnzlsql003/CRM/FeesEngine?InboundId=PaidInAXUnpaidInFeesEngine
    Endpoint Identity - all default values
    Binding Tab:
    Binding Type: sqlBinding
    allowIdentityInsert: False
    batchSize: 20
    chunkSize: 4194304  
    enableBizTalkCompatibilityMode: True
    enablePerformanceCounters: False
    encrypt: False
    inboundOperationType: TypedPolling
    maxConnectionPoolSize: 100
    notificationStatement: Not specified
    notifyListenersOnStart: True
    polledDataAvailableStatement: EXEC [dbo].[bts_PollForAXFeePaymentsNotPresentInFeesEngine_IsDataAvailable]
    polledIntervalInSeconds: 3600
    pollingStatement: EXEC [dbo].[bts_GetFeesMarkedUnpaidThatHaveBeenPaidInAX]
    pollWhileDataFound: False
    UseAmbientTransaction: True
    useDatabaseNameInXsdNamespace: False
    workstationId: Not specified
    xmlStoredProcedureRootNodeName: Not specified
    xmlStoredProcedureRootNodeNamespace: Not specified
    All timeouts: 5 mins.
    Behaviour Tab
    ServiceBehaviour - sqlAdapterInboundTransactionBehaviour, ReadUncommitted, timeout mins
    Other Tab:
    Credentials: None
    Preserve message order: False
    Mesages Tab:
    Inbound BizTalk message body: Body
    Error handling: All disabled
    Thanks in advance,
    Mark

    Thanks everyone for your input on this. None of the suggestions actually seemed to solve our specific issue, and we ended up raising a support call with Microsoft. They got us to use some tracing tools that are not publically available and it turns out that
    there was a problem with the underlying WCF commnications channel, which was not visible via the usual windows event logs. They suggested a solution that, although very counter-intuitive, seems to have resolved our problem; set the ReceiveTimeout property
    of the receive adapter to <!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:宋体; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145
    0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-alt:"Calisto MT"; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face
    {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-alt:"Arial Rounded MT Bold"; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:"\@SimSun";
    panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes;
    mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:SimSun; mso-fareast-language:ZH-CN;} .MsoChpDefault {mso-style-type:export-only;
    mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1
    {page:WordSection1;} -->
    24.20:31:23.6470000 and restart the service host.
    Here's the underlying exception:
    <!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:宋体; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} @font-face {font-family:"Cambria
    Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-alt:"Calisto MT"; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15
    5 2 2 2 4 3 2 4; mso-font-alt:"Arial Rounded MT Bold"; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6
    0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:"";
    margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:SimSun; mso-fareast-language:ZH-CN;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes;
    font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;}
    -->
    [0]1E2C.21C4::07/07/2010-4:52:25.804 [CSharp]:[Wcf] BtsErrorHandler.HandleError called with Exception: System.ServiceModel.CommunicationObjectAbortedException:
    The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted.
       at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrImmutable()
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open()
       at System.ServiceModel.Dispatcher.ChannelHandler.InitializeServiceChannel(ServiceChannel channel)
       at System.ServiceModel.Dispatcher.ChannelHandler.GetSessionChannel(Message message, EndpointDispatcher& endpoint, Boolean& addressMatched)
       at System.ServiceModel.Dispatcher.ChannelHandler.EnsureChannelAndEndpoint(RequestContext request)
       at System.ServiceModel.Dispatcher.ChannelHandler.TryRetrievingInstanceContext(RequestContext request).

  • How Biztalk Engine come to know through WCF-Sql Adapter that new record was added in Sql Table?

    Regards Ravin

    WCF-SQL adapter for receiving polls the the DB to fetch records. Its not by intelligence that the adapter will know that a new record is added.
    Your db and table design and the poll querry has to be intelligent enough to pull in new records from the table and not the already processes or polled records.
    Something like a poll flag for processed records.
    Regards
    When you see answers and helpful posts,
    please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

  • Notice update or delete in Database via WCF SQL Adapter

    Hi Folks,
    i try to notice any changes in a database table via SQL Adapter: so i check for a special column wich contains '0' for new datasets and '1' for those i already copied via BizTalk.
    This works fine as long as you only insert datasets, update or delete is not recocnized...
    Whats the best or possible way to react on these actions too?
    Thanks for your Ideas!

    Hi,
    I am shure there are many different approaches so here is what I have in mind:
    In case you need to react to deleted rows in your original table you need a sub table to trigger your biztalk for datasets that do not exist any longer.
    In this table you need 2 colums:
    first one to correlate to your original data row (id),
    second one to hold the status: For ex. 0= new, 1=update, 3=deleted
    Then you need a
    Trigger event on your original table that sets the status for the modified data id in your new table.
    You can then poll on this sub table as you already mentioned in your question.

  • 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

  • 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

  • Java error SQL adapter in Wireless

    I've used the SQL adapter in the previous releases of wireless without any problem. Most of the time I would use it for all the wireless PLSQL applications in the Oracle database and it works very OK.
    I have also used it to connect with a SQLserver database to try out some queries. In this case I would use the standard JDBC/ODBC bridge driver from SUN.
    In release 2.0 I can't connect with this SQL Server database anymore.
    I've added a system DSN to the ODBC configuration of the Windows 2000 server. This will give access to the internal SQL server database via TCP. A password username is required.
    When I try to add a SQLservice in the service designer using the SQL adapter I will use the following parameters:
    JDBC connect string: JDBC:ODBC:<DSNNAME>
    JDBC driver: sun.jdbc.odbc.JdbcOdbcDriver
    un: <username>
    pw: password>
    Query (without ';'): select count(*) from <tablename>
    Minimum number of Database connections in the pool 5
    Maximum number of Database connections in the pool 100
    Increment size for the connection pool 1
    Idle Timeout (in minutes) 30
    Now I get the following error:
    2/8/03 2:27:59 PM ERROR : [ApplicationServerThread] webtool.common.PtgErrorLog.outputError(PtgErrorLog.java:28)
    oracle.cabo.servlet.event.PageEventException: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection,page=Page[name=designer/MasterServiceInitCreate],event=PageEvent[name=goto,source=wizardNav,fromPage=designer/MasterServiceInitCreate,JDBC_DRIVER=sun.jdbc.odbc.JdbcOdbcDriver,JDBC_CONNECT_STRING=jdbc:odbc:<DSNNAME>,CONNPOOL_INC=1,CONNPOOL_MIN=5,CONNPOOL_IDLETIMEOUT=30,USERNAME=<USERNAME>,value=4,SQLTYPE=QUERY,CONNPOOL_MAX=100,STATEMENT=select count(*) from bedrijven,PASSWORD=<PASSWORD>],rootCause=oracle.panama.adapter.AdapterException: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection
    at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.panama.webtool.common.PtgPageBroker.handleRequest(PtgPageBroker.java:152)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:633)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:235)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:695)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:248)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I've the error 'java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection' in my log and tried to find out the meaning of this error at java.sun.com. It's stil not clear what exactly causes the error but it looks like a data formatting error.
    java.lang.ClassCastException
    Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. For example, the following code generates a ClassCastException:
    Object x = new Integer(0);
    System.out.println((String)x);
    Is it just a data formatting problem or has it something to do with the JDBC/ODBC driver version of the JDK from the appliction server release 2.0.
    I remember that I was always able to connect with the SQL server database with previous releases also with a count query. I've also used JDK 1.3.1 with o9iAS release 1.0.2.1.
    Any suggestions for solution?
    Thanks in advance for your help.

    The old deprecated SQL Adapter (consider switching to the new WCF-SQL!), does not hold any option for disabling DTC when communicating with a remote SQL Server. Not that it is ever a good idea to disable transactions when using BizTalk Adapters, BizTalk
    is only a reliable engine as long as all the protocols behave in a transnational manner. 
    I have experienced DTC problems where DTCTester.exe said everything was fine, but DTCPing.exe still reported a problem. Can you run the DTCPing test both ways (BizTalk -> SQL and vice versa).
    Morten la Cour

  • 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.

  • 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"

  • SQL Adapter Crashes with large XML set returned by SQL stored procedure

    Hello everyone. I'm running BizTalk Server 2009 32 bit on Windows Server 2008 R2 with 8 GB of memory.
    I have a Receive Port with the Transport Type being SQL and the Receive Pipeline being XML Receive.
    I have a Send Port which processes the XML from this Receive Port and creates an HIPAA 834 file.
    Once a large file is created (approximately 1.6 GB in XML format, 32 MB in EDI form), a second file 1.7 GB fails to create.
    I get the following error in the Event Viewer:
    Event Type: Warning
    Event Source: BizTalk Server 2009
    Event Category: (1)
    Event ID: 5740
    Date:  10/28/2014
    Time:  7:15:31 PM
    User:  N/A
    The adapter "SQL" raised an error message. Details "HRESULT="0x80004005" Description="Unspecified error"
    Is there a way to change some BizTalk server settings to help in the processing of this large XML set without the SQL adapter crashing?
    Paul

    Could you check Sql Profiler to trace or determine if you are facing deadlock?
    Is your Adapter running under 64 bits?
    Have you studied the possibility of using SqlBulkInser Adapter?
    http://blogs.objectsharp.com/post/2005/10/23/Processing-a-Large-Flat-File-Message-with-BizTalk-and-the-SqlBulkInsert-Adapter.aspx

  • 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

Maybe you are looking for

  • Use of tcode file

    what is the use of tcode file???? what is platform independent file name????

  • Photoshop or Photoshop Elements?

    I am not sure which product to purchase. I need to edit photos and create mood boards. Should I buy Photoshop or Photoshop Elements?

  • Application builder error.llb

    Hi all, I'm using application builder to compile an executable of my VI. Compile runs without a hitch. However, when I try to launch the .exe three subvis from error.llb are missing : Not Found Dialog.vi, Details Display Dialog.vi and Set String Valu

  • IPod not connecting with USB?  I've found a solution!

    So it appears as though a lot of people are coming up with the "my iPod won't connect as a USB device" problem. I was too, and it was highly frustrating. Today I found a solution. I had ordered a set of extra USB and firewire ports for my computer, a

  • How much space does OS X Mountain Lion take?

    I am considering a MacBook Air 128 GB for my next laptop, but I'm not sure if that's enough. How much space does the OS take up?