Quantcast
Channel: BizTalk Server Adapters and Adapter Pack Forum
Viewing all 197 articles
Browse latest View live

Microsoft BizTalk Adapter v2.0 for mySAP Business Suite - Receive Location shutting down

$
0
0

Hi Team,

We are using mySAP adapter v2.0 for connecting to SAP system. This was working good till the past few days and suddenly the receive location is shutting down with the below log in the event viewer.

The receive location "RCV_SAP_IDOC" with URL "SAP://SAPServer/ProgramID/SAPGW05/" is shutting down. Details:"See RFC trace file or SAP system log for more details".

When we re enable the receive location, it stays active for about 30 mins and once again fails automatically with the above error mentioned. If any Idocs were posted when the receive location is active, they don't reach BizTalk and no errors or logs observed in BizTalk. 

Could you please help me in resolving this issue or any idea on enabling the traces in BizTalk server? Thanks.

Regards, 
Krishna Chaitanya.



HTTP Adapter Send Port XML Validator Error : 80131600

$
0
0

Hi All,

We are having schema with minimum attribute length as 1 for required and optional fields. We have a custom pipeline on  http send adapter where we are using xml validator. Unfortunately when i am sending some attribute values like firstName=''. I am getting following  error:-

A message sent to adapter "HTTP" on send port "Test_Send" with URI "http://localhost/TestHTP/BTSHTTPReceive.dll" is suspended.
 Error details: 80131600
 MessageId:  {53800967-80AE-4BDE-B2F3-AF2F344DE387}
 InstanceID: {B087864F-F40F-4C1F-BFAC-5F4367D9FCE2}

we tried the same thing by creating WCF web serive and we used WCF basic http adapter and it is working fine.

Is it the limitation of HTTP adapter?

Thanks ,

Zizy

BizTalk adpater for Dynamics CRM4.0 can't generate schema

Use Service with JQuery

$
0
0

Hi all,

I create a service with adapter service and also create svc file and now i want know how can i use this service with jquery?

Configuring Basic Auth for a SOAP receive location

$
0
0

This is a simple thing, but I've been searching for hours and can't find a complete example. 

I published an orchestration (BT2010, IIS7) as a simple web service (not WCF).  I have disabled anonymous access and enabled Basic Authentication.  If I try to browse to it, I get a dialog box asking for credentials. 

I set up a local account on the machine, and added it to the IIS_WPG group, and made sure the app pool is running under an account that is part of the Biztalk isolated hosts group. 

 

One question and one problem: When a SOAP request comes in, IIS will retrieve the credentials from within that instead of trying to present a dialog bos, correct?

 

Now my problem. Supplying the credentials doesn't seem to work.  I've tried setting the default domain to the machine name and domain path  server.somedomain.parentdomain, I've tried using my domain own domain account as login credentials, none of it works. 

So first, do I have to use a Windows account? Can I set up some dummy account just for this web site? 

And second, if its a Windows account, what am I doing wrong here?  I have found a ton of examples for consuming web services,  but of the ones for exposing web services none walk you through setting up a Basic Auth solution. 

 

Thanks

 

 

 

 

 


Down there somewhere, its just ones and zeros.

WCF-SQL adapter in Biztalk send port causes deadlock

$
0
0

Hi

I have an application running on Biztalk 2010. This has receive location pointing to SAP and receives bulk IDOCS as XML and inserts into table through specific send ports. I get a deadlock in a particular send port and this how it is configured. Very urgent, need help!

WCF-SQL adapter

Compositeoperation

2 storedprocedures are called from this port when a specific IDOC type is received.

Use Ambient transaction - true (tried changing this to false - no help)

Use transaction - false (tried changing this to true - no help)

These are the SPs I use, simple Insert / update. I dont know if it is a weird coincidence. This was all working fine until I added the last parameter 'LOSGR' to my SP.

ALTER PROCEDURE [dbo].[dpsp_COPCPA02_E2KEKO002]
        @KALNR varchar(12),                -- CostSetCode
        @KALKA varchar(10),                -- Type
        @MATNR varchar(30),                -- MaterialNumber
        @WERKS varchar(10),                -- Site
        @LOSGR varchar(40)                -- LotSize
AS
BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;

    IF NOT EXISTS (SELECT * FROM dbo.CostSetMaster (NOLOCK) WHERE CostSetCode = @KALNR)
    BEGIN
        INSERT INTO dbo.CostSetMaster
        (
            [CostSetCode]  ,[Type] ,[MaterialNumber] ,[Plant] ,[LotSize]
        )
        VALUES
        (
            @KALNR  ,@KALKA  ,@MATNR  ,@WERKS ,COALESCE(CAST(@LOSGR as decimal(30,10)), NULL) )
    END
    ELSE
    BEGIN
        UPDATE dbo.CostSetMaster
        SET
            [Type] = @KALKA ,[MaterialNumber] = @MATNR ,[Plant]    = @WERKS  ,[LotSize] = COALESCE(CAST(@LOSGR as decimal(30,10)), NULL)  ,[CDCLastModifiedDate] = GETDATE()
        WHERE (CostSetCode = @KALNR)
    END
END

ALTER PROCEDURE [dbo].[dpsp_COPCPA02_E2KEPH001]
        @KALNR varchar(12),                -- CostSetCode
        @KADKY varchar(20),                -- CostSetDate
        @KKZST varchar(1),                -- LevelIndicator
        @KST001 varchar(15),            -- CostField001
        @KST002 varchar(15),            -- CostField002
        @KST003 varchar(15),            -- CostField003
        @KST004 varchar(15),            -- CostField004
        @KST005 varchar(15),            -- CostField005
        @KST006 varchar(15),            -- CostField006
        @KST007 varchar(15),            -- CostField007
        @KST008 varchar(15),            -- CostField008
        @KST009 varchar(15),            -- CostField009
        @KST010 varchar(15),            -- CostField010
        @KST011 varchar(15),            -- CostField011
        @KST012 varchar(15),            -- CostField012
        @KST013 varchar(15),            -- CostField013, ForeignFreightThisLevel, ForeighFreightLowLevel, DomesticFreightThisLevel, DomesticFreightLowLevel
        @KST014 varchar(15),            -- CostField014
        @KST015 varchar(15),            -- CostField015, DutiesThisLevel, DutiesLowLevel
        @KST016 varchar(15),            -- CostField016
        @KST017 varchar(15),            -- CostField017, OverHeadThisLevel, OverheadLowLevel, InternalOverheadThisLevel, InternalOverheadLowLevel
        @KST018 varchar(15),            -- CostField018
        @KST019 varchar(15),            -- CostField019, LaborThisLevel, LaborLowLevel
        @KST020 varchar(15),            -- CostField020                
        @KST021 varchar(15),            -- CostField021
        @KST022 varchar(15),            -- CostField022
        @KST023 varchar(15),            -- CostField023, MaterialThisLevel, MaterialLowLevel
        @KST024 varchar(15),            -- CostField024
        @KST025 varchar(15),            -- CostField025
        @KST026 varchar(15),            -- CostField026
        @KST027 varchar(15),            -- CostField027
        @KST028 varchar(15),            -- CostField028
        @KST029 varchar(15),            -- CostField029
        @KST030 varchar(15),            -- CostField030
        @KST031 varchar(15),            -- CostField031
        @KST032 varchar(15),            -- CostField032
        @KST033 varchar(15),            -- CostField033
        @KST034 varchar(15),            -- CostField034
        @KST035 varchar(15),            -- CostField035
        @KST036 varchar(15),            -- CostField036
        @KST037 varchar(15),            -- CostField037
        @KST038 varchar(15),            -- CostField038
        @KST039 varchar(15),            -- CostField039
        @KST040 varchar(15),            -- CostField040    
        @TVERS varchar(5),                -- Version
        @LOSGR varchar(40)                -- LotSize(in master only)
AS
BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;

    DECLARE @CostTotal decimal(20,10)
    SET @CostTotal = SUM(CAST(ISNULL(@KST001,0.00) as decimal(20,10))+CAST(ISNULL(@KST002,0.00) as decimal(20,10))+CAST(ISNULL(@KST003,0.00) as decimal(20,10))+CAST(ISNULL(@KST004,0.00) as decimal(20,10))+CAST(ISNULL(@KST005,0.00) as decimal(20,10))+CAST(ISNULL(@KST006,0.00) as decimal(20,10))+CAST(ISNULL(@KST007,0.00) as decimal(20,10))+CAST(ISNULL(@KST008,0.00) as decimal(20,10))+CAST(ISNULL(@KST009,0.00) as decimal(20,10))+CAST(ISNULL(@KST010,0.00) as decimal(20,10))+
                            CAST(ISNULL(@KST011,0.00) as decimal(20,10))+CAST(ISNULL(@KST012,0.00) as decimal(20,10))+CAST(ISNULL(@KST013,0.00) as decimal(20,10))+CAST(ISNULL(@KST014,0.00) as decimal(20,10))+CAST(ISNULL(@KST015,0.00) as decimal(20,10))+CAST(ISNULL(@KST016,0.00) as decimal(20,10))+CAST(ISNULL(@KST017,0.00) as decimal(20,10))+CAST(ISNULL(@KST018,0.00) as decimal(20,10))+CAST(ISNULL(@KST019,0.00) as decimal(20,10))+CAST(ISNULL(@KST020,0.00) as decimal(20,10))+
                            CAST(ISNULL(@KST021,0.00) as decimal(20,10))+CAST(ISNULL(@KST022,0.00) as decimal(20,10))+CAST(ISNULL(@KST023,0.00) as decimal(20,10))+CAST(ISNULL(@KST024,0.00) as decimal(20,10))+CAST(ISNULL(@KST025,0.00) as decimal(20,10))+CAST(ISNULL(@KST026,0.00) as decimal(20,10))+CAST(ISNULL(@KST027,0.00) as decimal(20,10))+CAST(ISNULL(@KST028,0.00) as decimal(20,10))+CAST(ISNULL(@KST029,0.00) as decimal(20,10))+CAST(ISNULL(@KST030,0.00) as decimal(20,10))+
                            CAST(ISNULL(@KST031,0.00) as decimal(20,10))+CAST(ISNULL(@KST032,0.00) as decimal(20,10))+CAST(ISNULL(@KST033,0.00) as decimal(20,10))+CAST(ISNULL(@KST034,0.00) as decimal(20,10))+CAST(ISNULL(@KST035,0.00) as decimal(20,10))+CAST(ISNULL(@KST036,0.00) as decimal(20,10))+CAST(ISNULL(@KST037,0.00) as decimal(20,10))+CAST(ISNULL(@KST038,0.00) as decimal(20,10))+CAST(ISNULL(@KST039,0.00) as decimal(20,10))+CAST(ISNULL(@KST040,0.00) as decimal(20,10)))
                            
    IF(ISNULL(@LOSGR,'0.000') = '0.000') SET @LOSGR = '1.0000'
    
    SET @CostTotal = @CostTotal/CAST(@LOSGR as decimal(30,10))

        
    IF NOT EXISTS (SELECT * FROM dbo.CostSetDetails (NOLOCK)  WHERE CostSetMasterCode = @KALNR AND CostSetDate = CAST(@KADKY as datetime) AND ISNULL(LevelIndicator,'') = ISNULL(@KKZST,''))
    BEGIN
        INSERT INTO dbo.CostSetDetails
        (
            [CostSetMasterCode]
            ,[CostTotal]
            ,[CostSetDate]
            ,[LevelIndicator]
            ,[Version]
            ,[Material]
            ,[Labor]
            ,[Burden]
            ,[Subcontract]
            ,[Overhead]
            ,[ForeignFreight]
            ,[DomesticFreight]
            ,[Duties]
            ,[InternalOverhead]
            ,[CostField001]
            ,[CostField002]
            ,[CostField003]
            ,[CostField004]
            ,[CostField005]
            ,[CostField006]
            ,[CostField007]
            ,[CostField008]
            ,[CostField009]
            ,[CostField010]
            ,[CostField011]
            ,[CostField012]
            ,[CostField013]
            ,[CostField014]
            ,[CostField015]
            ,[CostField016]
            ,[CostField017]
            ,[CostField018]
            ,[CostField019]
            ,[CostField020]
            ,[CostField021]
            ,[CostField022]
            ,[CostField023]
            ,[CostField024]
            ,[CostField025]
            ,[CostField026]
            ,[CostField027]
            ,[CostField028]
            ,[CostField029]
            ,[CostField030]
            ,[CostField031]
            ,[CostField032]
            ,[CostField033]
            ,[CostField034]
            ,[CostField035]
            ,[CostField036]
            ,[CostField037]
            ,[CostField038]
            ,[CostField039]
            ,[CostField040]     
            ,[CDCLastModifiedDate]      
        )
        VALUES
        (
            @KALNR
            ,@CostTotal
            ,CAST(@KADKY as datetime)
            ,@KKZST
            ,@TVERS
            ,@KST023
            ,@KST019
            ,@KST021
            ,@KST001
            ,@KST017
            ,@KST013
            ,@KST013
            ,@KST015
            ,@KST017
            ,@KST001
            ,@KST002
            ,@KST003
            ,@KST004
            ,@KST005
            ,@KST006
            ,@KST007
            ,@KST008
            ,@KST009
            ,@KST010
            ,@KST011
            ,@KST012
            ,@KST013
            ,@KST014
            ,@KST015
            ,@KST016
            ,@KST017
            ,@KST018
            ,@KST019
            ,@KST020
            ,@KST021
            ,@KST022
            ,@KST023
            ,@KST024
            ,@KST025
            ,@KST026
            ,@KST027
            ,@KST028
            ,@KST029
            ,@KST030
            ,@KST031
            ,@KST032
            ,@KST033
            ,@KST034
            ,@KST035
            ,@KST036
            ,@KST037
            ,@KST038
            ,@KST039
            ,@KST040
            ,GETDATE()
        )
    END
    ELSE
    BEGIN
    UPDATE dbo.CostSetDetails
    SET
            [CostTotal] = @CostTotal
            ,[Version] = @TVERS
            ,[Material] = @KST023
            ,[Labor] = @KST019
            ,[Burden] = @KST021
            ,[Subcontract] = @KST001
            ,[Overhead] = @KST017
            ,[ForeignFreight] = @KST013
            ,[DomesticFreight] = @KST013
            ,[Duties] = @KST015
            ,[InternalOverhead]    = @KST017
            ,[CostField001]    = @KST001
            ,[CostField002]    = @KST002
            ,[CostField003]    = @KST003
            ,[CostField004]    = @KST004
            ,[CostField005]    = @KST005
            ,[CostField006]    = @KST006
            ,[CostField007]    = @KST007
            ,[CostField008]    = @KST008
            ,[CostField009]    = @KST009
            ,[CostField010]    = @KST010
            ,[CostField011]    = @KST011
            ,[CostField012]    = @KST012
            ,[CostField013]    = @KST013
            ,[CostField014]    = @KST014
            ,[CostField015]    = @KST015
            ,[CostField016]    = @KST016
            ,[CostField017]    = @KST017
            ,[CostField018]    = @KST018
            ,[CostField019]    = @KST019
            ,[CostField020]    = @KST020
            ,[CostField021]    = @KST021
            ,[CostField022]    = @KST022
            ,[CostField023]    = @KST023
            ,[CostField024]    = @KST024
            ,[CostField025]    = @KST025
            ,[CostField026]    = @KST026
            ,[CostField027]    = @KST027
            ,[CostField028]    = @KST028
            ,[CostField029]    = @KST029
            ,[CostField030]    = @KST030
            ,[CostField031]    = @KST031
            ,[CostField032]    = @KST032
            ,[CostField033]    = @KST033
            ,[CostField034]    = @KST034
            ,[CostField035]    = @KST035
            ,[CostField036]    = @KST036
            ,[CostField037]    = @KST037
            ,[CostField038] = @KST038
            ,[CostField039]    = @KST039
            ,[CostField040] = @KST040
            ,[CDCLastModifiedDate] = GETDATE()
    WHERE CostSetMasterCode = @KALNR AND CostSetDate = CAST(@KADKY as datetime) AND ISNULL(LevelIndicator,'') = ISNULL(@KKZST,'')
    END
END

MSDTC communication error while BizTalk connecting to SQL server.

$
0
0

Hi,

I am getting the below error while connecting BizTalk to SQL server using WCF Custom  SQL Adapter. Bothe BizTalk & SQL server are on the same machine.

Details:"System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. ---> System.Runtime.InteropServices.COMException: The MSDTC transaction manager was unable to push the transaction to the destination transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the two machines cannot find each other by their NetBIOS names, or the support for network transactions is not enabled for one of the two transaction managers. (Exception from HRESULT: 0x8004D02A)

I have trieddifferent combinations of Local DTC Properties settings (restarted the MSDTC and BizTalk host instance between each setting change ) , but the connectivity error did not resolved.  I have checked couple of forums but couldn't  work. Any help would be greatly appreicated.

sapAdapter, ErrorGroup=RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Incomplete logon data ???

$
0
0
Hi, I have a scenario where i need to listen for SAP to send data to Biztalk. Biztalk then sends a success response back. I succesfully created the reference in visual studio from the SAP RFC using the Consume Adapter Service Add-in in Visual Studio. I was able to connect to the SAP system and choose the RFC. I then deployed the application in BTS. And used the binding file created by the Add-in to add the Receive location. Also provided the username and password in the other tab. However, when i run the application, i get the following results.. 1. When the Receive port is started, It starts and keeps running, but when i look in the trace file, see the following error "Details: ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Incomplete logon data.. AdapterErrorMessage=.". The receive port does not stop working and stays green. 2. When the SAP program is invoked to send data to BTS, It runs, but on the BizTalk side, complete silence. No errors no running processes, no event log entry, nothing at all. What is wrong?? To make sure i have everything right, I also built this simple app and i got the same results. I only added a send port to get the input go to a file. http://msdn.microsoft.com/en-us/library/cc185318(v=bts.10).aspx Any one have any idea what could be wrong?? Any feedback is appreciated. Thanks

RNIF v2.0 ServiceHeader - how to specify optional content?

$
0
0

We have a TP that requires us to specify the messageStandard and standardVersion to be specified on the SeriveHeader (as noted in screenshot below). Can this be configured with the BizTalk Accelerator for RosettaNet version 3.3?

Note: We are using standard RN PIP, not custom schema.

Can Cold Fusion consume a service exposed from a WCF-basicHTTP receive adapter?

$
0
0

Can Cold Fusion consume a service exposed from a WCF-basicHTTP receive adapter? We have exposed a WCF service from BizTalk which can consume successfully using SOAPUI or theMicrosoft WCF test client . One of the external consumers is trying to use Cold Fusion to send a message to the BizTalk hosted service and is getting the following error;

"Did not understand "MustUnderstand" header(s):{http://www.w3.org/2005/08/addressing}Action " 

If the Cold Fusion consumer traces the message they are sending there is no soap header being sent. I do not know much about Cold Fusion other than it is very old. My question is this because you cannot configure Cold Fusion to send the correct SOAP message to a WCF service or is it developer error.

Export Orchestrations to BPEL

$
0
0

Hi,

I have an orchestration which is using transformation map and I want to export it in BPEL.

I'm using dynamic mapping inside orchestrations in order to avoid "Transform shape" and to follow the rules from:http://msdn.microsoft.com/en-us/library/aa559882.aspx.

I get the following error when I tried to export my orchestration:

error X2232: 'System.Type.GetType': a reference to a member of a .NET type is not permitted under BPEL4WS compliance
error X2203: 'transform' statement is not permitted under BPEL4WS compliance

How can I export the orchestration which is using transformation message?

Thanks

SourceFileName macro in custom file adapter don't work

$
0
0

Hi,

I have custom file adapter, everything works fine except %SourceFileName% macro on send port (Send port is standard file adapter from biztalk).

In my adapter I write this property:

message.Context.Write("ReceivedFileName", "http://schemas.microsoft.com/biztalk/2003/file-properties", (object)ReceivedFileNameAndPath);


Why macro don't work?

Thanks.


Peter

MSMQ Receive Issues

$
0
0

Has anyone successfully Sent and Received plain text (no XML) from MSMQ?

I have a C# Application that is sending a simple text string as a message (ISO data) and I have a receive port on BTS2010 to pull the message and pass it through a Flat File pipeline.

Using a FILE receive port with my pipeline works perfectly. but when i send the same data, I receive a message that is encapsulated with...

<?xml version="1.0"?>
<string>0066 0000 1601 0200 6600 0000 0000 0000 0000 0000 ..... </string>

With the tags that have been added, it is obvious the the FF pipeline I have fails. I haven't had a problem in the past because I have always passed XML messages in MSMQ, but this time is different.

Thoughts?

How to Achieve This Functionality in BizTalk ?

$
0
0

Hello,

Project Details

Data Base Name : Employee

Table name        :  CityMaster

Fields                 :  CityId (PK,Numeric(18,0)), CityName(Navarchar(50)).

Now i have to generate the xml of this file at particular Location using Biz-talk 2010.

By configure receive port and send port in admin console using orchestration.

So any one have step by step guidance then reply me.

Thanks Regards

Hardik Ramwani

Wierd behaviour: WCF SQL send port execution time increases for same operation

$
0
0

I am using WCF SQL adapter (BTS 2009) (request-response send port :UseAmbientTransaction is False, using PassThru pipeline) to receive typed messages by executing SP. The issue I am facing is, when I execute same message multiple times, I see an consistent increase in SQL operation time that too only send operation. When I run 1st time, SQL send operation (start and end time of Send Shape in Orch debugger) takes 1sec, 2nd run takes 4sec, 3rd run takes 13 sec, 4th run takes 25sec, this leads to increase in total time for the process.

Also, one thing I noticed is when I use scope (Transaction Type: None) then first SQL send takes more time and rest of the send operation within same scope takes less than 1 sec time.

Have anyone seen such behaviour or any idea what could be wrong? Any suggestion to improve performance for WCF SQL adapter?


Regards, Ajeet Kumar MCTS Biztalk Server


OracleDb adapter : host instance shutdown after recieve selectResponse

$
0
0

Hello,

I have Biztalk server 2010 on windows server 2008 R2.

I do a simple orchestration with an oracleDB adapter.

I do a select query and i receive the selectresponse but my receive message is not processed because my host shutdown alone after the receive shape.

I see in the admin console that my orchestration keep status Active and my receive message is "In process" but nothing run because the host instance is stopped. I can see the data of my receive message in "Message Detail" and it's OK.

i have this error in the eventlog :

Nom de l’application défaillante BTSNTSvc.exe, version : 3.9.469.0, horodatage : 0x4c547e09

Nom du module défaillant : unknown, version : 0.0.0.0, horodatage : 0x00000000

Code d’exception : 0xc00000fd

Décalage d’erreur : 0x0659b246

ID du processus défaillant : 0xa24

Heure de début de l’application défaillante : 0x01ce047a2ae71453

Chemin d’accès de l’application défaillante : C:\Program Files (x86)\Microsoft BizTalk Server 2010\BTSNTSvc.exe

Chemin d’accès du module défaillant: unknown

ID de rapport : 69ed7eb9-706d-11e2-82a9-005056ba6e4b

Why my receive message is not processed and why my host instance shutdown... Where is the problem ?

Thank

Curious issues popped up

$
0
0

So I have a Flat File Pipeline I am using on a "FILE" receive port. Works just fine (just checked it again). I have created an HTTP Receive Port where I want to accept the SAME file as an HTTP post. When I attempt to post the message, I get an error in the Application Event Log that says: 

There was a failure executing the receive pipeline: "Project.BizTalk.Client.Pipelines.Client_ISO_Receive_Pipeline, Project.BizTalk.Client.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ce92e3186846ccb6" Source: "Unknown " Receive Port: "ReceiveClientISO" URI: "/IsoSubmit/BTSHTTPReceive.dll?iso" Reason: Failed to get pipeline: Project.BizTalk.Client.Pipelines.Client_ISO_Receive_Pipeline, Project.BizTalk.Client.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ce92e3186846ccb6. Please verify that the pipeline strong name is correct and that the pipeline assembly is in the GAC.

This exact same pipeline is currently working on a FILE port in the same BizTalk Application. What gives!?

BTS2010

crm adatper timeout

$
0
0

We have an integration solution set up between a custom system and a CRM system. When we are syncing from the custom system to the CRM system, we sometimes get timeout-errors. Especially when we have a bulk-load going to the CRM system.

The error is this one:
The adapter failed to transmit the message going to send port "..." with URL "...". It will be retransmitted after the retry interval specified for this Send Port. Details: "The operation has timed out".

We've been searching for a solution for this problem for a while already, but we can't seem to find it... Anyone can help us?

A side-effect of these timeouts (well, we hope it is due to that) is that sometimes contact or accounts are created more than once in the CRM-system... Anyone else experienced that already?

JNBridge Adapter and Persistence Issues with Message Box Database

$
0
0

Hi All,

    We are trying to use JNBridge Adapter to read messages from a JMS Queue.  The SQL Server is clustered (Active/Passive).The polling interval in Adapter is set to 1 second.

The Adapter becomes slow after a few minutes. In the first minute approx. 59 messages are processed. In the next minute 40, next minute 20 just slows down and after 15 minutes it simply stops.

1) In the JNBridge Adatper log we see the following error message:

>>>>>>>>>>>>>>>

**** 16.01.2013 09:45:13 (Exception) Transacted submit failed with: Transacted submit to MB failed. Rolling back message ****
Exception: Transacted submit to MB failed
Stack Trace:
   at JNBridge.JMSAdapter.JMSReceiverEndpoint.SubmitTransactedBatch()

>>>>>>>>>>>>>>

2) In DTC Trace, we didn't find anything useful.

3) In the TraceView, we noticed the errorcode -1061153245.  From BizTalk engine this means BTTransportProxy.E_BTS_PERSISTENCE_FAILURE: -1061153245.

What are the conditions, in which BizTalk Engine could thorw such peristence failure exception ?

We have become little clueless after running too many tests and still not able to diagnose the problem.

Additionally in a non-clustered environment, we didn't notice this issue.

thanks a lot for your ideas and suggestions.


Don't forget to "Mark As Answer"/"Vote As Helpful". http://bitsofbiztalk.blogspot.com

Intermittently first Idoc from SAP fails

$
0
0
Hi,

We have a non-reproducable error happening from time to time where the first Idoc from our SAP system fails and ends up in SM58(SAP), Biztalk restarts the host and the rest of the Idocs are recieved without problem. Only warnings are seen in the Biztalk event log, see below:

Log Name:      Application
Source:        BizTalk Server
Date:          11/28/2012 1:15:22 PM
Event ID:      5740
Task Category: BizTalk Server
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      
Description:
The adapter "WCF-Custom" raised an error message. Details "The WCF service host at address sap://CLIENT=100;LANG=EN;@a/XXXX/?ListenerGwServ=XXXX&ListenerGwHost=XXXX&ListenerProgramId=XXXX has faulted and as a result no more messages can be received on the corresponding receive location. To fix the issue, BizTalk Server will automatically attempt to restart the service host.".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="BizTalk Server" />
    <EventID Qualifiers="32960">5740</EventID>
    <Level>3</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-11-28T12:15:22.000000000Z" />
    <EventRecordID>3322567</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>WCF-Custom</Data>
    <Data>The WCF service host at address sap://CLIENT=100;LANG=EN;@a/XXXX/?ListenerGwServ=XXXX&amp;ListenerGwHost=XX&amp;ListenerProgramId=XXXX has faulted and as a result no more messages can be received on the corresponding receive location. To fix the issue, BizTalk Server will automatically attempt to restart the service host.</Data>
  </EventData>
</Event>


Log Name:      Application
Source:        BizTalk Server
Date:          11/28/2012 1:15:22 PM
Event ID:      5740
Task Category: BizTalk Server
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
The adapter "WCF-Custom" raised an error message. Details "Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_INVALID_HANDLE. AdapterErrorMessage=An exception has occurred on the listener while executing RfcWaitForRequest..
   at Microsoft.ServiceModel.Channels.Common.Channels.AdapterReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext& requestContext)
   at Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredInboundChannel`1.System.ServiceModel.Channels.IReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext& context)
   at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="BizTalk Server" />
    <EventID Qualifiers="32960">5740</EventID>
    <Level>3</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-11-28T12:15:22.000000000Z" />
    <EventRecordID>3322568</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>WCF-Custom</Data>
    <Data>Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_INVALID_HANDLE. AdapterErrorMessage=An exception has occurred on the listener while executing RfcWaitForRequest..
   at Microsoft.ServiceModel.Channels.Common.Channels.AdapterReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext&amp; requestContext)
   at Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredInboundChannel`1.System.ServiceModel.Channels.IReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext&amp; context)
   at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext&amp; requestContext)</Data>
  </EventData>
</Event>


Log Name:      Application
Source:        BizTalk Server
Date:          11/28/2012 1:15:22 PM
Event ID:      8112
Task Category: BizTalk Server
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      
Description:
The WCF service host at address sap://CLIENT=100;LANG=EN;@a/XXXX/?ListenerGwServ=XXX&ListenerGwHost=XXXX&ListenerProgramId=XXXX was successfully restarted, therefore the associated receive location can now receive messages.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="BizTalk Server" />
    <EventID Qualifiers="16576">8112</EventID>
    <Level>4</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-11-28T12:15:22.000000000Z" />
    <EventRecordID>3322569</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>The WCF service host at address sap://CLIENT=100;LANG=EN;@a/XXXX/?ListenerGwServ=XXXX&amp;ListenerGwHost=XXXX&amp;ListenerProgramId=XXXX was successfully restarted, therefore the associated receive location can now receive messages.</Data>
  </EventData>
</Event>

The problem only appears when we receive from SAP. We use Biztalk 2010 CU5, BizTalk Adapter Pack 2010 CU2, , WCF-custom with sapBinding, with SAP client SDK 7.20 patchlevel 5 against SAP ECC 6.0 EHP5. We have one ProgramId for each Idoc type we receive, approximately 30 ProgramIds. The SAP system is hosted externally, Biztalk server internally and there is a firewall inbetween. We have checked the keep alive settings on the firewall and the SAP OS and they should not be the problem.

The feeling we get is that when we have not received an Idoc for a couple of days or so on a ProgramId the connection is somehow 'lost', although SAP can see the registered ProgramId on the gateway and the Biztalk receive location is enabled. ReceiveTimeout is set to 24.20:31:23.6470000 as recommended. After the first Idoc fails the rest is received without problem.

Has anyone else experienced the same problem? Any suggestions are welcome? :-)
Viewing all 197 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>