A Web within a WSS Site collection cannot be removed without first removing all subwebs beneath it. The following sample code shows how to programmatically "Prune" a web from a site collection // Sample code to prune a web from a site collection // BEGIN