AS2 Dynamic send failure with 64 bit handler

Hi,

I'm currently doing the AS2 tutorial (https://msdn.microsoft.com/en-us/library/bb226427.aspx) in BTS 2013 R2, and the dynamic send port with AS2Send pipeline is failing with the following error:

-----------------------------------------------------------------------------------------------------------

A message sent to adapter "HTTP" on send port "Send_Async_MDN" with URI "http://localhost/Fabrikam/Default.aspx?Destination=_MDNToFabrikam" is suspended. 
 Error details: There was a failure executing the send pipeline: "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Send, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "Unknown " Send Port: "Send_Async_MDN" URI: "http://localhost/Fabrikam/Default.aspx?Destination=_MDNToFabrikam" Reason: Retrieving the COM class factory for component with CLSID {254B4003-2AA7-4C82-BB2E-18BA7F22DCD2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).  
 MessageId:  {E5B52849-468F-4F5A-BB45-87A9C64A556B}
 InstanceID: {7D920553-FF4A-434F-9B93-3D498F7A6D27}

-----------------------------------------------------------------------------------------------------------

Based on research, this error is due to 64 bit handler as AS2 only works on 32 bit host. The problem I'm having is that we cannot change the default host, "BizTalkServerApplication", to be 32 bit. It must remain 64 bit. So I created a new 32 bit host and made it a default send handler for the HTTP adapter. Also in the dynamic send port configuration, I configure the send handler for HTTP adapter to be this 32 bit host. However, I'm still getting the same error above. 

Can anyone help with this issue? 

Thanks in advance!


  • Edited by windong 16 hours 9 minutes ago
September 3rd, 2015 11:02am

Hi,

AS2 can only work on 32 bit host. Its one of the known issues in BizTalk due to its ExplorerOM Dependencies.

Have you tried Registering your DLLs with Regsvr32 tool ?

Use the Regsvr32 tool

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 11:32am

Hi Windong,

To clear this issue just put your pipeline on a 32 bit Host.

Can you follow similar thread

https://msdn.microsoft.com/en-us/library/aa559177%28BTS.10%29.aspx?f=255&MSPPError=-2147217396

https://chibionos.wordpress.com/2010/06/18/biztalk-as2-pipeline-fails-due-to-retrieving-the-com-class-factory-for-component-with-clsid-254b4003-2aa7-4c82-bb2e-18ba7f22dcd2-failed/

Thanks, SMSVikasK

September 3rd, 2015 5:16pm

Thanks, SMSVikasK.

I've also seen those threads. I did try to make the host to be 32 bits as I mentioned earlier. The problem is that this is a dynamic send port, so instead of choosing a 32bit host on the port level, all I could do is making the 32bit host as a default send handler for HTTP adapter, and on the port configuration, I set the 32bit host as a send handler for HTTP adapter. It still did not work.


  • Edited by windong 9 hours 35 minutes ago
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 5:36pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics