BizTalk Application : Install MSI after Export get an Error (again??)

As we’ve seen, there is a little problem with the Install MSI action after importing an BizTalk application in the BizTalk Application Console. (remember this post)

Today I’ve discover a new little issue…

I tried to Import the MSI of the ESB Toolkit in the Biztalk Administration Console, the result is good. Then I tried to install the MSI and I get an error :

So, I decided to check my Application Event Log and I’ve got the two following Errors :

An error occurred while attempting to install the BizTalk application: A file load exception occurred while attempting to install the assembly into the Global Assembly Cache. This error may occur if the assembly is delay signed, or if assembly was renamed after creating/signing.
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)


Application: CustomAction.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.BizTalk.ApplicationDeployment.ApplicationDeploymentException
at Microsoft.BizTalk.ApplicationDeployment.ApplicationInstallerHelper.Install(System.Configuration.Install.Installer, System.Collections.IDictionary)
at Microsoft.BizTalk.ApplicationDeployment.CustomInstaller.Program.Main(System.String[])


The interesting element is this one : Framework Version : v4.0.30.319.

Indeed, in my MSI, all my assembly have been build with the Framework Version : v2.0.50727 and before exporting my MSI from the BizTalk Administration Console, all my Assembly had this configuration :


The Problem seems to be the following : when you check this box, the executable use the Gacutil of the framewok .Net 4 so when it try to gac a .Net 2 dll, it failed…

The Importer of the BizTalk Administration Console seems to be able gac the DLL in the good place.

(Info : In the normal installation of the ESB toolkit 2.1, this case is not check, I think we check this case before preparing the deployment for an other platform…)

This entry was posted in BizTalk, Microsoft and tagged , , , . Bookmark the permalink.

1 Response to BizTalk Application : Install MSI after Export get an Error (again??)

  1. Janel says:

    Major follower from this page, a large number of your articles or blog posts have really helped me out. Looking forward to posts!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s