Article ID: 184882 - Last Review: March 14, 2006 - Revision: 5.0 FIX: Intstdist.sql Updates MSjob_commands IncorrectlyThis article was previously published under Q184882
BUG #: 17893 (SQLBUG_65)
SYMPTOMS
The distribution task fails with the following error:
Invalid Distribution Command
CAUSE
The Instdist.sql script that comes with with SQL Server 6.5 Service Pack 3
can cause problems with replication if it is run more than once. This file
is also distributed with Service Pack 4, causing it be run again.
The first time Instdist.sql is run, it correctly turns on ANSI_PADDING for the command column in the MSjob_commands table. If Instdist.sql is run a second time, the syscolumns.status value for the commands column is incremented again by 16. This increment occurs each time Instdist.sql is run. As a result, you get unwanted changes in the properties of the command column. Use the following query to check the distribution database for this problem: WORKAROUND
If there is a value in the status column other than 24, you can correct it
by performing the following steps:
STATUS
Microsoft has confirmed this to be a problem in SQL Server 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base: 197177
(http://support.microsoft.com/kb/197177/
)
INF: How to Obtain SQL Server 6.5 Service Pack 5a For more information, contact your primary support provider.
| Article Translations
|

Back to the top
