Sunday, October 30

Unable to load DLL 'BAUtil.dll': Invalid access to memory location error when using a 32-bit host with a domain group in BizTalk Server

Following on from this post, when you change the Host Instance to a 32-bit host, you may get the error described above. Something like -  "Unable to load DLL 'BAUtil.dll': Invalid access to memory location. (Exception from HRESULT: 0x800703E6)"
This issue occurs if the domain user account that is configured as the BizTalk host instance cannot read the following registry key: HKEY_LOCAL_MACHINE\Software\Microsoft\BizTalkAdapters\Config.

Basically, cthe biztalk applicaiton users group user that you used to configure the host instance is typically not a member of any group on the local computer (the BizTalk Server Machine), and therefore is restricted on the BizTalk Server Machine.

Depending on security considerations, one quick fix is to add the BizTalk Applicaiton Users group to local Administrators on the local machine. This is not the recommended approach, but could at least allow a quick fix in emergency situaitons and / or troubleshooting situations

The Microsoft recommended approach as seen in this post is to modify the registry by granting Read permissions on the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\BizTalkAdapters\Config.

  1. Click Start, click Run, type Regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\BizTalkAdapters\Config
  3. Right-click the registry key that you located in step 2, and then click Permissions.
  4. On the Security tab, click Add.
  5. Type the domain group or the domain user account that is configured as the BizTalk host instance, and then click OK.
  6. On the Security tab, click the domain group or the domain user account that you added in step 5, click to select the Read check box, and then click OK.
  7. Exit Registry Editor.

No comments:

Post a Comment