WCF Orale DB adapter inserting data Issue

Home Page Forums BizTalk 2004 – BizTalk 2010 WCF Orale DB adapter inserting data Issue

Viewing 2 reply threads
  • Author
    Posts
    • #25143

      Hi,

      I am working on WCF-Oracle DB adapter.

      I am facing issue while I run the file and when the data is trying to move to Oracle database table. Basically I am doing a insert operation.

      Getting the following error –

      The adapter failed to transmit message going to send port “WcfSendPort_OracleDBBinding_PAYHUB_ADMIN_Table_PH_RESPONSE_MESSAGES_Custom” with URL “oracledb://abretail”. It will be retransmitted after the retry interval specified for this Send Port. Details:”Microsoft.ServiceModel.Channels.Common.TargetSystemException: ORA-06550: line 2, column 231:

      PL/SQL: ORA-00917: missing comma

      ORA-06550: line 2, column 1:

      PL/SQL: SQL Statement ignored —> Oracle.DataAccess.Client.OracleException ORA-06550: line 2, column 231:

      PL/SQL: ORA-00917: missing comma

      ORA-06550: line 2, column 1:

      PL/SQL: SQL Statement ignored at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)

      at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)

      at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()

      at Microsoft.Adapters.OracleCommon.OracleCommonUtils.ExecuteNonQuery(OracleCommand command, OracleCommonExecutionHelper executionHelper)

      — End of inner exception stack trace —

      Server stack trace:

      at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)

      at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)

      at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)

      at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)

      Exception rethrown at [0]:

      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

      at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)

      at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)”.

      For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

       

       

      Please let me know what am I missing. Thanks in advance…

       

      Amit Sahu

      [email protected]

    • #25144

      Hi,

      Before that I was getting the following error –

      Due to an Oracle Client limitation, the adapter failed to open a connection. This is because either (a) ambient transaction is present and the TNS alias is longer than 39 characters, or (b) ambient transaction is present and a non-TNS based URI was used. To resolve this, use a TNS alias to connect to Oracle and make sure it is not more than 39 characters.

      And when I resolved the upper issue by putting the TNS alias name I am getting something which I am not able to understand. Please see the error below –

      The adapter failed to transmit message going to send port “WcfSendPort_OracleDBBinding_PAYHUB_ADMIN_Table_PH_RESPONSE_MESSAGES_Custom” with URL “oracledb://abretail”. It will be retransmitted after the retry interval specified for this Send Port. Details:”Microsoft.ServiceModel.Channels.Common.TargetSystemException: ORA-06550: line 2, column 231:

      PL/SQL: ORA-00917: missing comma

      ORA-06550: line 2, column 1:

      PL/SQL: SQL Statement ignored —> Oracle.DataAccess.Client.OracleException ORA-06550: line 2, column 231:

      PL/SQL: ORA-00917: missing comma

      ORA-06550: line 2, column 1:

      PL/SQL: SQL Statement ignored at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)

      at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)

      at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()

      at Microsoft.Adapters.OracleCommon.OracleCommonUtils.ExecuteNonQuery(OracleCommand command, OracleCommonExecutionHelper executionHelper)

      — End of inner exception stack trace —

      Please give me thoughts on this regard.

      Thanks

      Amit Sahu

       

    • #50151
      biztalkgurus

        Medicine for the Earth: How to Transform Personal and Environmental Toxins by Sandra Ingerman • 9780609805176

    Viewing 2 reply threads
    • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.