BizTalk Troubleshooting: error COM class factory for component with CLSID {254B4003-2AA7-4C82-BB2E-18BA7F22DCD2}
Problem
You configure your BizTalk AS2 application correctly but when running the integration you get an error on the event log like this "Retrieving the COM class factory for component with CLSID {254B4003-2AA7-4C82-BB2E-18BA7F22DCD2} failed”
Cause
BizTalk uses a 32 bit component when processing AS2.
Solution:
Create a host that runs 32 bit code like below:
Create a host instance for that host
Create an HTTP adapter handler using the new host instance. I usually name them according to their configuration, so it would be something like "BizTalkServerSendHost32" or similar.
Change your send port to use the new send handler. On my example it would be the "BizTalkServerSendHost32" option on the drop down.
Start/Restart your hosts instances ( I usually run an IISReset as well, for habit sake) and you should be good to go.
See Also
Another important place to find an extensive amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.