![尝试删除网站时,SharePoint 出现“ADUtil 的配置设置无效!”](https://linux22.com/image/492097/%E5%B0%9D%E8%AF%95%E5%88%A0%E9%99%A4%E7%BD%91%E7%AB%99%E6%97%B6%EF%BC%8CSharePoint%20%E5%87%BA%E7%8E%B0%E2%80%9CADUtil%20%E7%9A%84%E9%85%8D%E7%BD%AE%E8%AE%BE%E7%BD%AE%E6%97%A0%E6%95%88%EF%BC%81%E2%80%9D.png)
我正在尝试删除 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 组。禁用该功能后,网站就可以正常删除了。