Share via


Error configuring EDI/AS2 on BizTalk 2006 R2

Like me :-( if you uninstalled BizTalk 2006 Server and then re-installed BizTalk 2006 R2 and have been boiling the oceans to figure out the configuration error on the BizTalk EDI/AS2 Runtime:

"DTS package BAM_DM_InterchangeStatusActivity already exists"

Its because the EDI/AS2 Data Transformation Services (DTS) packages are not automatically removed from SQL Integration Services after you unconfigure the EDI/AS2 Runtime feature (when you uninstalled).

Simple solution is to use the Bm.exe utility from the command prompt to remove the DTS packages:

  1. C:\Program Files\Microsoft BizTalk Server 2006\Tracking>Bm.exe remove-all -DefinitionFile:"C:\Program Files\Microsoft BizTalk Server 2006\AS2ReportingActivityDefs.xml"
  2. C:\Program Files\Microsoft BizTalk Server 2006\Tracking>Bm.exe remove-all -DefinitionFile:"C:\Program Files\Microsoft BizTalk Server 2006\EdiReportingActivityDefs.xml"
  3. C:\Program Files\Microsoft BizTalk Server 2006\Tracking>Bm.exe remove-all -DefinitionFile:"C:\Program Files\Microsoft BizTalk Server 2006\EdiReportingActivityIndexes.xml" Note: It may complain that some components could not be removed

(Note: If your BizTalk is not installed in the default folder i.e. "C:\Program Files\Microsoft BizTalk Server 2006" replace this string with thefolder where your R2 is installed)

Go to BizTalk Server Configuration and configure the BizTalk EDI/AS2 Runtime again and Apply configuration. Look at the following article for more details:

https://support.microsoft.com/kb/939549