You can use the BizTalk Adapter for MSMQ and the BizTalk
Message Queuing Adapter on the same computer. However, because both these
adapters use the same port, you must add an IP address to your computer that
the BizTalk Adapter for MSMQ can use.
Important If you have the BizTalk Message Queuing Adapter installed, you
must configure this additional IP address before you install the BizTalk
Adapter for MSMQ.
Incorrect procedure for installing the BizTalk Adapter for MSMQ
The following incorrect procedure for installing the BizTalk
Adapter for MSMQ is contained in the
BizTalk Adapter for MSMQ Installation Guide. This incorrect procedure appears under the "To remove MSMQT and
restart the BizTalk host instance" heading:
- Click Start, point to
Programs, point to Microsoft BizTalk Server
2004, and then click BizTalk Server
Administration.
- In the BizTalk Server Administration console, double-click
the Microsoft BizTalk 2004 (Local) node.
- Click Adapters in the left
pane.
- Right-click MSMQT in the right pane and
then click Delete.
- Click OK.
- In the left pane, expand Hosts and select
BizTalkServerApplication in the left pane.
- In the right pane, right-click the host instance (usually
the computer name), and then click Stop.
- In the right pane, right-click the host instance, and then
click Start.
The following
sections contain the correct procedure for installing the BizTalk Adapter for
MSMQ.
Correct procedure for installing the BizTalk Adapter for MSMQ when the BizTalk Message Queuing Adapter is already installed
Warning If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own
risk.
To configure a computer to run the BizTalk Adapter
for MSMQ when the BizTalk Message Queuing Adapter is already installed, follow
these steps:
- Configure an additional static IP address on the network
adapter that is installed in the computer.
Note Instead of assigning an additional IP address to an existing
network adapter, you can install an additional network adapter in the
computer. - Create a host record in the Domain Name System (DNS) for
this new IP address. Make sure that you assign a name that clearly identifies
this DNS entry. For example, name the entry MSMQServer.
Note A host record is also known as an "A record." For more
information about how to manage resource records in the DNS, visit the
following Microsoft Web site: - Install Message Queuing on the computer.
Note Message Queuing is also known as MSMQ. - Use Registry Editor to create the following new registry
string value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters
Value name: BindInterfaceIP
Value type: REG_SZ
Value data: IP address
Note Replace IP address with the new IP
address that you configured in step 1.
- Quit Registry Editor.
- Reconfigure BizTalk Server to use the new DNS host name
that you created in step 2 as the computer name. Then, reconfigure BizTalk
Server to use the IP address that you configured in step 1 as the IP address.
To do this, follow these steps:
- Click Start, click
Run, type the following command, and then click
OK:
"%programfiles%\Microsoft biztalk server 2004\configframework.exe" /u
- Click Start, click
Run, type the following command, and then click
OK:
"%programfiles%\Microsoft biztalk server 2004\configframework.exe"
- Follow the steps in the Microsoft BizTalk Server 2004
Configuration Wizard to configure your BizTalk Server installation. On the
BizTalk Messaging page of the Microsoft BizTalk Server 2004 Configuration
Wizard, click Bind to this IP address only. Then, type the IP
address that you configured in step 1.
- In the Computer name box, type the new
host name that you configured in step 2.
Note Do not click to select the Register computer in Domain
Name System check box. - Click Next, and then follow the
remaining steps to configure your BizTalk Server installation.
For more information, click the following article
number to view the article in the Microsoft Knowledge Base: 836487�
BizTalk Message Queuing configuration options cannot be changed after initial setup
- Install the BizTalk Adapter for MSMQ.
- If you want to use both the BizTalk Adapter for MSMQ and
the BizTalk Message Queuing Adapter on the same computer, you must add the
BizTalk Message Queuing Adapter back to the adapter list in the BizTalk
Administration console.
Correct procedure for installing the BizTalk Adapter for MSMQ when the BizTalk MSMQC Adapter sample is already installed
The BizTalk MSMQC Adapter sample is a sample Message Queuing
transport that is available in the BizTalk Server 2004 Software Development Kit
(SDK) folder for BizTalk Server 2004. If you already installed the MSMQC
Adapter sample, follow these steps before you install the BizTalk Adapter for
MSMQ:
- Start SQL Server Enterprise Manager.
- Expand Microsoft SQL Servers, expand
SQL Server Group, and then expand the computer that is running
an instance of SQL Server. Expand Databases, expand
BizTalkMgmtDb, and then click
Tables.
- Open the adm_Adapter table in the
BizTalkMgmtDb database that BizTalk Server is using.
- Locate the row where MSMQ appears as the
value in the Name column.
- In this row, remove the value in the
InboundAssemblyPath column. This value is typically the
following value:
C:\Program Files\Microsoft BizTalk Server 2004\SDK\Samples\Adapters\MSMQCAdapter\Run-Time\MSMQC\bin\Debug\Microsoft.Samples.BizTalk.Adapters.MSMQC.Runtime.dll
- In this row, remove the value in the
OutboundAssemblyPath column.
Note You do not have to remove this value unless you want the Send
ports to work correctly. - Close the table, and then restart the BizTalk Server host
instance.