Microsoft KB Archive/308714

= FIX: Attach of a Subscription to a Database with an Embedded Period Fails with Error Message 7202 =

Article ID: 308714

Article Last Modified on 10/16/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



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 (&quot;.&quot;), 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. rather treating the name as a single string with an embedded period.



RESOLUTION
To 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.



STATUS
Microsoft 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.

Keywords: kbbug kbfix KB308714

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.