BUG: instdist.sql Script Fails From SEM on Alternate Pipe NameLast reviewed: May 1, 1997Article ID: Q136800 |
The information in this article applies to:
SYMPTOMSWhen you install the distribution database from the Server menu (choose Replication Configuration, then Install Publishing) in SQL Enterprise Manager (SEM), the INSTDIST.SQL script will fail if SQL Server version 6.0 is configured to listen on an alternate named pipe. The following errors can be found in the INSTDIST.OUT file located in the SQL60\INSTALL directory.
CAUSEThe command used to execute the INSTDIST.SQL script is an xp_cmdshell. The script is:
xp_cmdshell C:\sql60\binn\isql /S /Usa /P /ddistribution /iC:\sql60\install\instdist.sql /oC:\sql60\install\instdist.outThe /S parameter will cause the isql session to try to connect over the default local pipe. If version 4.21a is up and running on the default pipe, the instdist script will fail because the distribution database will not exist. If 4.21a is not running, then the isql script will not be able to find the default pipe and will give the 'SQL server is unavailable' error.
WORKAROUNDRun the xp_cmdshell command from a command line on the distribution server. Modify the /S parameter to give the correct server name. For example:
isql /S<servername> /Usa /P /ddistribution /iC:\sql60\install\instdist.sql /oC:\sql60\install\instdist.outEdit the following registry key and put the name of the distribution database, usually 'distribution,' in the DistributionDB value: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Replication
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: sql6 prompt
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |