All,
I have a web application - no site collections, no content databases.
I've tried time and time again to delete it and every time I receive the following error in Central Admin:
An object in the SharePoint administrative framework, "SPWebApplication Name=SharePoint - Estate Portal Parent=SPWebService", could not be deleted because other objects depend on it. Update all of these
dependants to point to null or different objects and retry this operation. The dependant objects are as follows:
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.DeleteObject(Guid id)
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.DeleteObject(SPPersistedObject obj)
at Microsoft.SharePoint.Administration.SPPersistedObject.Delete()
at Microsoft.SharePoint.Administration.SPWebApplication.Delete()
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.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I also get this logged in Event Viewer on the WFE:
Log Name: Application
Source: Windows SharePoint Services 3
Date: 08/07/2011 14:15:35
Event ID: 5586
Task Category: Database
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Unknown SQL Exception 547 occured. Additional error information from SQL Server is included below.
The DELETE statement conflicted with the REFERENCE constraint "FK_SiteMap_Application". The conflict occurred in database "SharePoint_Config", table "dbo.SiteMap", column 'ApplicationId'.
The statement has been terminated.
I have so far, tried:
Removing it via Central Admin
Removing it via STSADM
Associating it with a different SSP than all the other Web apps
Re-creating a new site collection and content DB for it, and then re-deleting it
Restarting the Timer service
I guess I just don't understand what it is that's preventing the deletion? Clearly there is something somewhere that depends on this web app - so that's why it can't be deleted, but how can I identify it?
Thanks in advance
Duncan