Article ID: 243740 - Last Review: March 14, 2006 - Revision: 2.1 FIX: Replication AddSubscription Method Causes Handle Leak on FailureThis article was previously published under Q243740
BUG #: 56598 (SQLBUG_70)
SYMPTOMS
When the Replication AddSubscription method fails, 2-3 handle leaks are generated within the application that activates the method. This may cause a problem in a retry scenario where the AddSubscription method is called repeatedly until success is achieved. All handles opened by an application are closed when the application stops. Therefore, when the application invoking the AddSubscription method detects an error with AddSubscription, the calling application could be coded to return a message and exit. The application is subsequently restarted after correcting the cause of the failure during AddSubscription. STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 274799
(http://support.microsoft.com/kb/274799/
)
INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
MORE INFORMATION
If the application using the AddSubscription method cannot be stopped for business reasons, consider activating the Addsubscription method from another process outside the business application to prevent the business application from suffering the handle leak.
| Article Translations
|
Back to the top
