Aug 152008
 

I created an HTTP Post adapter and packaged it all up in a setup package. When I installed it, I opened up the management console and started to configure the adapter and I received the the following error:

Failed to instantiate adapter “{Adapter Name}”.

Assembly file: “{dll source}”

Type name: “{Type}”

instantiate

The problem was that the source was compiled with a dll that was on the development box, but not on the destination box. (In this case it was the Microsoft.Samples.BizTalk.Adapter.Common.dll) was not deployed to the GAC.

 

Once I put the assembly in the GAC, I didn’t have a problem.

Aug 152008
 

“There are no differences between BizTalk Server 2006 R2 and BizTalk Server 2006 except the enhanced EDI, malady WCF, ed 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, viagra 40mg I got the following error:

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

LoaderExceptions

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.

LoaderExceptionsResolution