"The handle is invalid" error installing HL7

When installing the HL7 Accelerator on BizTalk Server 2009, BizTalk Server 2010, or BizTalk Server 2013, the following error occurs:

The specified account "Domain\AccountName" is invalid. Error code: The handle is invalid.

 

Resolution - Updated October 1, 2015

BizTalk 2013

Install HL7 using the updated Microsoft BizTalk 2013 Accelerator for HL7.msi file (attached). No updates need to be uninstalled.

 

BizTalk 2010 / BizTalk 2009

1. Uninstall the 2871997 security update and any post-2871997 updates. The comments in this blog post include a wusa.exe /uninstall script that will save you time.

2. Restart the server.

3. Install HL7

4. Reinstall the updates.

This is now documented in KB article 2988484

 

January 13, 2015 Update

Question: Why is there no fix for BizTalk 2010?

Answer: The accelerator fixes are not cumulative. When the attached 2013 fix was tested with the existing (and only) 2013 HL7 hotfix, there were no issues and the hotfix still fixed <whatever bug it resolved>. This 2013 fix is the baseline for newly-created/yet-to-be-created HL7 hot fixes. When the 2010 fix was tested, it broke most of the 2010 HL7 hot fixes (about 15). Meaning, whatever bugs were resolved would be broken again after installing this 2010 fix. As a result, the current resolution on 2010 and 2009 is the only resolution.

New2013MSIon14aug.zip