“There are no differences between BizTalk Server 2006 R2 and BizTalk Server 2006 except the enhanced EDI, WCF, and RFID functionality”
So I was creating a new HTTP Post adapter. I created it on a server that is R1.
When I copied the code to an R2 box and compiled the code and ran the Adapter Registry Wizard, I got the following error:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
The issue is that in the Transmit adapter project, it was referencing Microsoft.Samples.BizTalk.Adapter.Common that was not compiled on the R2 server.
The fix:
Simply Clean the project and Rebuild the project where it will tell you that a dll is missing.