While BizTalk Server natively supports x64 environments, the BizTalk Accelerator for RosettaNet will only operate in 32-bit environments.  In order to use the accelerator correctly in an x64 environment, you must make specific configuration settings to both BizTalk and IIS.

BizTalk Configuration

BizTalk allows the separation of processes and assemblies into separate instances, each of which can be 32- or 64-bit. This allows you to separate the Accelerator for RosettaNet components into a 32-bit host process while retaining the ability to run 64-bit processes in other hosts.

The accelerator requires both an in-process and out of process host, both of which must be marked as "Authentication Trusted" and "32-bit only".  For information on modifying host settings, see How to Modify Host Properties.

IIS Configuration

IIS 6.0

Perform the following steps to ensure that IIS is using the 32-bit version of the BizTalk extension, and to switch IIS to 32-bit mode.

  1. After installing the Accelerator for RosettaNet, open IIS manager and check the web extensions. Make sure that the BizTalk extension is using the 32-bit version by verifying the path to the assembly. It should be "C:\Program Files (x86)\Microsoft BizTalk Server 2006\HttpReceive".
  2. From a command prompt, run the following command to set IIS to 32-bit mode:
    Note: Running this command globally switches IIS to 32-bit mode.

    cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1

  3. Next, ensure that the correct version (32-bit) of the .NET Framework 2.0 is installed by running this command:
    C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50215>aspnet_regiis.exe -i

  4. Open the IIS manager and check web extensions, ensure that the ASP.Net 2.0 32-bit entry is enabled.

IIS 7

Using Internet Information Services (IIS) Manager, perform the following steps to ensure that the correct version of BTSHttpReceive.dll is selected.

  1. Select the root Web server entry. In the Features View, double-click Handler Mappings and then in the Actions pane, click Add Script Map.
  2. Note - Configuring the script mapping at the Web server level will cause this mapping to apply to all child Web sites. If you wish to restrict the mapping to a specific Web site or virtual folder, select the target site or folder instead of the Web server.
  3. In the Add Script Map dialog box, enter BtsHttpReceive.dll in the Request path field.
  4. In the Executable field, click the ellipsis (.) button and browse to drive:\Program Files\Microsoft BizTalk Server 2009\HttpReceive. Select BTSHttpReceive.dll, and then click OK.
  5. Enter BizTalk HTTP Receive in the Name field, and then click Request Restrictions.
  6. In the Request Restrictions dialog box, select the Verbs tab and then select One of the following verbs. Enter POST as the verb.
  7. On the Access tab, select Script, and then click OK.
  8. Click OK and when prompted to allow the ISAPI extension, click Yes.

IIS 7 supports running 32- and 64-bit web sites in separate application pools. To set the BTARN application pool to 32-bit mode, select the application pool and then select Advanced Settings in the Action pane.  Set "Enable 32-Bit Applications" to true.

See Also

Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.