I am sorry if this has been posted before. Please bear with me as I describe the possible bug. Content is deleted, but the redirect goes directly to the generic error message. To reproduce this, add a htmlmodule (or anything, not sure yet) to a page. Go to the settings of that instance and click on publish. At the end of the publish page is a delete button. Click it and you will get the generic error. I was able to get the generic error on the demo site, but could not check the log. If you un-publish the content before deletion, you go to a permissions denied page instead of the error page.
Here is a snips from my log file for the generic error:
2012-05-14 09:12:59,897 ERROR 192.168.6.26 - en-US - /manconweb2/Admin/ModuleSettings.aspx?mid=75&pageid=1 - mojoPortal.Web.mojoBasePage - 192.168.6.26-en-US - /manconweb2/Admin/ModuleSettings.aspx?mid=75&pageid=1
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings()
at mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2012-05-14 09:12:59,897 ERROR 192.168.6.26 - en-US - /manconweb2/Admin/ModuleSettings.aspx?mid=75&pageid=1 - mojoPortal.Web.Global - Referrer(https://web.manconinc.com/manconweb2/Admin/ContentManager.aspx?mid=75) useragent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings()
at mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
mojoPortal Version 2.3.8.2 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 1
ASP.NET Info v4.0.30128 Running in Full Trust