试图删除“ SharePoint -80” Web应用程序,但似乎有错误:

无法启动该服务,无论是因为它是禁用的,或者因为它没有与之关联的启用设备。

检查日志文件时,我得到:

System.Runtime.InterOpservices.Comexception:无法启动该服务,无论是因为它被禁用或没有与之关联的启用设备。 at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_IsContainer() at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container) at System. directoryservices.directoryentries.getEnumerator()在microsoft.sharepoint.administration.spiiswebsite.lookupbyservercomment(String servercomment,int32&instanceID)上92470F38-ED8E-4E6C-8039-D2FE4865CBAE

...ePoint.Administration.SPWebApplication.UnprovisionIisWebSitesAsAdministrator(Boolean deleteWebSites, String[] serverComments, String applicationPoolId) at Microsoft.SharePoint.Administration.SPWebApplication.Unprovision(Boolean deleteWebSites) at Microsoft.SharePoint.Administration.SPWebApplication.UnprovisionGlobally(Boolean deleteIisWebSite) at Microsoft.SharePoint.ApplicationPages.DeleteWebApplicationPage.BtnSubmit_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.page.raisepostbackevent(ipostbackeventhandhandler sourcecontrol,string eventargument)

... olean inclucefterAsyncpoint)92470f38-ed8e-4e6c-8039-d2fe4865cbae

它试图运行什么“服务”,服务中所有名为“ SharePoint”的服务正在运行?如何删除应用程序?

有帮助吗?

解决方案

搜索错误时,我偶然发现了这个 邮政 在EE上。我认为这可能是网络或安全性相关的错误。还, 这个 在Microsoft上发布可能会有所帮助。可能是应用程序池的帐户发生了变化吗?如果是这样,SharePoint可能会在应用程序池中有足够的权限来执行操作,例如删除网站和文件夹。我不知道bind()做什么,但这可能是一些目录绑定方法。您确定网站仍然存在于IIS和文件系统中吗?如果这些目录之一是手动删除的,那么我想您可能会收到这样的错误。

如果您在农场里跑步,请查看所有服务器以查看权限,并且这些网站仍然存在于整个农场。

其他提示

您也可以尝试以下操作:重新启动SharePoint服务器,然后尝试删除Web应用程序。还要检查SQL Server是否存在Web应用程序数据库。

许可以下: CC-BY-SA归因
scroll top