Microsoft KB Archive/305364

= FIX: MSMQ Site Controller Installation Fails with SQL Server 2000 =

Article ID: 305364

Article Last Modified on 9/23/2005

-

APPLIES TO


 * Microsoft Message Queue Server 1.0

-



This article was previously published under Q305364



SYMPTOMS
When you install a Microsoft Message Queue Server (MSMQ) Primary Enterprise Controller (PEC), Primary Site Controller (PSC), or Backup Site Controller (BSC) where the Message Queue Information Store (MQIS) database will use Microsoft SQL Server 2000, the following error message may occur:

Microsoft Message Queue Setup Error

Unable to create a process to run the command:

(SQL Server install path)\BINN\ISQL.EXE -E -d master -Q &quot;DISK RESIZE name = 'master', size = 25600&quot;

MQIS

Error code = 0x2



CAUSE
The MSMQ site controller setup creates a process that loads the Isql.exe SQL Server utility to create the MQIS database. For PSC and BSC installations, this process also copies the MQIS from the owning site controller. The setup process checks the exit code of the ISQL process for success.

SQL Server 2000 replaces Isql.exe with a new utility, Osql.exe, which does not return values in the same way as Isql.exe.



RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article and should be applied only to systems experiencing this specific problem. This fix may receive additional testing at a later time, to further ensure product quality.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, please go to the following address on the World Wide Web:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are normally incurred for support calls may be canceled, if a Microsoft Support Professional determines that a specific update will resolve your problem. Normal support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

  Date          Time   Version    Size    File name       Platform -  19-Nov-2000   3:24              11KB    Crdbsp7.sql     x86 19-Nov-2000  3:24              20KB    Mq2ndnd.exe     x86 19-Nov-2000  3:01   317        60KB    Mqac.sys        x86 19-Nov-2000  3:00   317        34KB    Mqcertui.dll    x86 19-Nov-2000  3:01   317        34KB    Mqdbmgr.dll     x86 19-Nov-2000  3:01   317        58KB    Mqdscli.dll     x86 19-Nov-2000  3:01   317        56KB    Mqdssrv.dll     x86 19-Nov-2000  3:01   317       222KB    Mqis.dll        x86 19-Nov-2000  3:01   317        16KB    Mqkeyhlp.dll    x86 19-Nov-2000  3:01   317       139KB    Mqoa.dll        x86 19-Nov-2000  3:01   317         9KB    Mqperf.dll      x86 19-Nov-2000  3:01   317       493KB    Mqqm.dll        x86 19-Nov-2000  3:01   317       108KB    Mqrt.dll        x86 19-Nov-2000  3:19   317     1,789KB    Mqsetup.dll     x86 19-Nov-2000  3:01   317        14KB    Mqsvc.exe       x86 19-Nov-2000  3:01   317       105KB    Mqutil.dll      x86 19-Nov-2000  3:01   317        61KB    Msmq.cpl        x86

In this fix, the MSMQ 1.0 setup was changed to use Osql.exe instead of Isql.exe. In addition, SQL stored procedures that were installed with the MSMQ 1.0 setup were changed to return values in the way that Osql.exe requires; for example, SELECT(val) instead of RETURN(val).

To implement this fix after you install SQL Server 2000, follow these steps:  Create or determine the folder in which you would like to install MSMQ; for example, C:\Program Files\MSMQ. Create a Setup folder under the MSMQ folder; for example, C:\Program Files\MSMQ\Setup. Copy the Mqsetup.dll and CrdbSP7.sql files from the fix to the Setup folder. Install MSMQ from the Microsoft Windows NT Option Pack. Make sure that you select the MSMQ folder (for example, C:\Program Files\MSMQ) from the first item when you are prompted for the MSMQ location. Apply Microsoft Windows NT 4.0 Service Pack 6 or Service Pack 6a. Apply the fix. The fix contains the mandatory post-SP6/SP6a fix which is described in the following article in the Microsoft Knowledge Base:

251294 &quot;Message Queue Service Not Available&quot; Error Can Occur After Applying Windows NT 4.0 SP6

Note that this fix is needed for MQIS Server (PEC, PSC, or BSC). Independent Clients (IC) and Routing Servers (RS) are not affected.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbqfe kbprb kbhotfixserver KB305364

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.