Select the product you need help with
FIX: Error Removing Log Shipping on Secondary Database When Database Name Has a QuoteArticle ID: 295936 - View products that this article applies to. This article was previously published under Q295936
BUG #: 234652 (SHILOH_BUGS)
On This PageSYMPTOMS
When a database name contains a quote character, an attempt to remove log shipping on the secondary database through the Database Properties window may result in the following error:
Microsoft SQL-DMO (ODBC SQLState: 42000) Error 170: Line 1: Incorrect syntax near 's_db'. Unclosed quotation mark before the character string ''.
RESOLUTIONTo resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211
Apply the service pack to the instance of SQL Server that owns the secondary database participating in log shipping.
(http://support.microsoft.com/kb/290211/EN-US/
)
INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this problem, remove the secondary database from the log shipping pair; to do this, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1. MORE INFORMATION
A secondary database can be removed from log shipping setup from the Database Properties window in Enterprise Manager on the secondary database (as described in the "Steps to Reproduce Behavior" section), or from the Log Shipping tab for the database maintenance plan on the primary server (as described in the "Workaround" section).
Steps to Reproduce Behavior
PropertiesArticle ID: 295936 - Last Review: February 22, 2007 - Revision: 2.2
|


Back to the top








