FIX: UndoCleanQueuesPatch.sql Fails with Errors When You Uninstall the CleanQueues Stored Procedure Patch

Article translations Article translations
Article ID: 303548 - View products that this article applies to.
This article was previously published under Q303548
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

When you run UndoCleanQueuesPatch.sql in Microsoft SQL Server Query Analyzer to uninstall the CleanQueues stored procedure patch, the following errors may occur:
Server: Msg 111, Level 15, State 1, Line 5
'CREATE PROCEDURE' must be the first statement in a query batch.
Server: Msg 137, Level 15, State 1, Line 20
Must declare the variable '@nvcServerProcessing'.
Server: Msg 137, Level 15, State 1, Line 26
Must declare the variable '@snReason'.
Server: Msg 137, Level 15, State 1, Line 34
Must declare the variable '@nvcServerProcessing'.
Server: Msg 137, Level 15, State 1, Line 40
Must declare the variable '@snReason'.
Server: Msg 137, Level 15, State 1, Line 48
Must declare the variable '@nvcServerProcessing'.
Server: Msg 137, Level 15, State 1, Line 54
Must declare the variable '@snReason'.
					

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft BizTalk Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
299664 INFO: How to Obtain the Latest BizTalk Server 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in BizTalk Server 2000 SP1. This problem was first corrected in Microsoft BizTalk Server 2000 Service Pack 1a.

MORE INFORMATION

To work around this problem, in the UndoCleanQueuesPatch.sql file, enter a GO batch separator between "if exists ..." and "CREATE PROCEDURE…"

Steps to Reproduce This Behavior

  1. Install BizTalk Server 2000 Service Pack 1 (SP1).
  2. Start the SQL Query Analyzer.
  3. Open UndoCleanQueuesPatch.sql in Query Analyzer. UndoCleanQueuesPatch.sql is located in the Program Files\Microsoft BizTalk Server\Setup folder.
  4. Run the statements.

Properties

Article ID: 303548 - Last Review: October 24, 2013 - Revision: 3.1
APPLIES TO
  • Microsoft BizTalk Server 2000 Service Pack 1
Keywords: 
kbnosurvey kbarchive kbbiztalk2000sp1afix kbbug kbfix KB303548

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com