我正在尝试删除 MOSS VM 中的站点并收到以下错误:
Configuration settings for ADUtil are invalid!
尝试使用覆盖标志恢复现有网站时也会出现同样的情况。网上找不到任何参考资料。
完整踪迹:
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Configuration settings for ADUtil are invalid! ---> System.Runtime.InteropServices.COMException (0x81072186): Configuration settings for ADUtil are invalid!
at Microsoft.SharePoint.Library.SPRequestInternalClass.DeleteSite(String bstrUrl, Boolean bDeleteADAccounts)
at Microsoft.SharePoint.Library.SPRequest.DeleteSite(String bstrUrl, Boolean bDeleteADAccounts)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.Library.SPRequest.DeleteSite(String bstrUrl, Boolean bDeleteADAccounts)
at Microsoft.SharePoint.SPSite.Delete(Boolean bDeleteADAccounts)
at Microsoft.SharePoint.SPSite.Delete()
at Microsoft.SharePoint.Administration.SPSiteAdministration.Delete()
at Microsoft.SharePoint.ApplicationPages.DeleteSitePage.BtnDelete_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP._admin_delsite_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
答案1
看来我们有一个功能可以防止网站所有者删除他们的网站,该功能会在允许删除之前检查 AD 组。禁用该功能后,网站就可以正常删除了。