Thursday, November 1, 2012

BatchComplete-Error in Biztalk Base Adapter

After migrating from Biztalk 2006 to Biztalk 2010, our custom adapters threw new errors when a message suspended:

One from MS CoreAdapter

Batch.BatchComplete hrStatus:c000010x00c00001: BTS_S_EPM_MESSAGE_SUSPENDED (Transport Proxy)

... the other one in our customer Adapter:

[26] ERROR [(null)] BIZTALK_StammdatenTransfers_XferDBAdapter_StammdatenTransfer - Beim Versenden des Batches [BatchInfo(00d6d71f), Batch(00e70a8e)]trat ein Problem auf:

12582913-0x00c00001: BTS_S_EPM_MESSAGE_SUSPENDED (Transport Proxy)

The reason was a missing bugfix that Microsoft introduced in BTS2010 into the BaseAdapter. If you get the new version (however, with the same version number 1.0.2) from C:\Program Files (x86)\Microsoft BizTalk Server 2010\SDK\Samples\AdaptersDevelopment\BaseAdapter\v1.0.2, the problem should be fixed.