In SQL management studio:
select * from Objects (nolock) where Name like '%<name of the webapplication>%'
note the "Id" guid.
select * from SiteMap (nolock) where ApplicationId = '<Id guid from the above step>'
note the 'DatabaseId' guid.
Next step is to be done on a sharepoint server in the farm:
STSADM -O deleteconfigurationobject -id {DatabaseId guid from step above}
Repeat this for each row returned in the first step and then you will be able to successfully delete the web application from the farm.
Good luck and happy sharepoint'ing.
Thank you. it works for me.
ReplyDeleteWonderful post. helped me a lot. Thanks
ReplyDelete