FIX: Attach of a Subscription to a Database with an Embedded Period Fails with Error Message 7202 (308714)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q308714
BUG #: 354522 (SHILOH_BUGS)
SYMPTOMS
If you attach a subscription from one subscriber to another server with a new subscribing database name, which contains an embedded period ("."), the following error message occurs:
Server: Msg 7202, Level 11, State 2, Procedure sp_attachsubscription, Line 164
CAUSE
SQL Server 2000 uses the sp_attachsubscription stored procedure to attach a subscription on a server. The sp_attachsubscription stored procedure is not correctly parsing the period ('.').
The sp_attachsubscription stored procedure incorrectly assumes that the database name supplied is in the form of <servername>.<dbname> rather treating the name as a single string with an embedded period.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this problem, you can use either of these methods:
- Do not use a period ('.') in the new database name.
-or-
- Instead of attaching a subscribing database, create the database as required (with the embedded period), create a new subscription manually in this database, and then apply a full snapshot.
STATUSMicrosoft has confirmed that this is a problem in Microsoft SQL Server 2000. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbbug kbfix KB308714 |
---|
|