Article ID: 235007 - View products that this article applies to.
This article was previously published under Q235007
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 55868 (SQLBUG_70)
When using SQL 7.0 as a distribution server for a SQL 6.5 Publication, modification of the Logreader agent causes the logreader job to fail with the following error:
The job step reports "Succeeded" but the job will not actually execute.
The required parameter '-PublisherDB' is missing.
When the job step is modified with the graphical user interface (GUI), SQL 7.0 uses sp_update_jobstep. sp_update_jobstep does not recognize that the job is a SQL 6.5 task. It modifies the task using SQL 7.0 parameters, which do not exist in the SQL 6.5 job commands.
To modify a SQL 6.5 Logreader task on a SQL 7.0 Distribution Server use sp_updatetask. DO NOT MODIFY the logreader task using the user interface.
When using sp_updatetask you can add the parameters documented in the SQL Books Online (Replication Log Reader Agent Utility). Running sp_help_job or sp_helptask on the SQL 7.0 distributor identifies the logreader task name. Use the task name as a parameter for sp_updatetask. The command can be changed using the command parameter. For information about syntax used in earlier versions of SQL Server, see the Microsoft SQL Server Transact-SQL Reference for version 6.x.
For example, you can add the '-Output' parameter to logreader using the following command:
Additionally, you can use other SQL 7.0 logreader commands. To increase the query timeout for the logreader task, use the following command:
NOTE: The entire command line must be changed with each update.
If the Logreader job has been modified using the SQL 7.0 user interface, it can be corrected using one of the following approaches:
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561For more information, contact your primary support provider.
(http://support.microsoft.com/kb/254561/ )INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
Contact us for more help
Connect with Answer Desk for expert help.