GlobalConfig.DeleteSiteConfig: Cannot Delete Site When Resources Exist (277045)
The information in this article applies to:
- Microsoft Commerce Server 2002
- Microsoft Commerce Server 2000
This article was previously published under Q277045 SYMPTOMS
If you use the Globalconfig object programmatically, and you delete a Web site that has resources by using the globalconfig.deletesiteconfig method, you may receive one of the following error messages:
Run-time error -2147467259(80004005)
Cannot Delete Site with resources
MSCSGroupConfigAdmin.cls:DeleteSiteConfig,
In an ADSite:
Automation Error: The directory service can perform the requested operation only on a leaf object.
CAUSE
Typically, only the Commerce Site Packager or the Microsoft Management Console (MMC) uses the DeleteSiteConfig method. Also, the program that uses the DeleteSiteConfig method is expected to delete all resources before calling this method.
Modification Type: | Major | Last Reviewed: | 10/22/2003 |
---|
Keywords: | kbpending kbprb KB277045 |
---|
|