This is more of a ‘note to self’ as I’m constantly being caught out when getting an object from Tridion using the various TDSE methods.
Within Tridion, should you need to delete a publication you need to ensure the following:
- No pages in the publication are published
- There are dependencies on the publication, child publications etc.
Normally it’s a simple case of un-publishing everything you need, removing these dependencies then away you go.