Microsoft KB Archive/240036

From BetaArchive Wiki
Knowledge Base


FIX: Distribution Agent Ignores Error on Pre-Creation Command

Article ID: 240036

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 7.0 Standard Edition



This article was previously published under Q240036

BUG #: 53857(SQLBUG_70)

SYMPTOMS

The Distribution agent ignores errors on pre-creation commands and runs into errors on creating the table:

ODBC SQL Server Driver S1T00 "Timeout expired"
2714 "There is already an object named '%.s' in the database."

If you look into the error detail, the following message appears:

Last action: Timeout expired
Last command: CREATE TABLE "table" ...

CAUSE

If the pre-creation command fails due to an error, the Distribution agent ignores the error and the .SCH file that contains the "create table" command is run to create the table if it does not exist. The Distribution agent did not check the errors on the pre-creation command.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 1 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

232570INF: How to Obtain Service Pack 1 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0


For more information, contact your primary support provider.


Additional query words: dist fail discard error msg sql7 sqlrepl xact xactl

Keywords: kbbug kbfix kbsqlprog KB240036