SharePoint administrative framework

SharePoint Farm Backup using Server Side Object Model

So this is old school stuff but maybe it helps somebody someday. I know that SharePoint 2010 and it’s Server Side Object Model are pretty much out of fashion. In one of our client’s SharePoint 2010 farm, we had to schedule the SharePoint Farm backup script. The purpose of the script was to take the SharePoint Farm Backup using Server Side Object Model

Resolved: An object in the SharePoint administrative framework could not be deleted because other objects depend on it.

I was deleting a web application from my sharepoint server using CA.I checked for “Delete content databases” and “Delete IIS Websites” and then press delete. After that a error window appears in screen and states that “An object in the SharePoint administrative framework, “SPWebApplication Name=Dhondiyals’ Site Parent=SPWebService”, could not be deleted because other objects depend Resolved: An object in the SharePoint administrative framework could not be deleted because other objects depend on it.