I can no longer create lists, sub webs or document libraries in a web application that I have upgraded from sharepoint 2007 to 2010. I dont think its directly related to the upgrade since it did work at some point.
When trying to create the list using addgallery.aspx the silverlight application will simply say that an unhandled exception has occurred with no further info.
In the log I have the following related log messages:
Entering monitored scope (Request (POST:http://sharepoint2010:80/profil/_layouts/AddGallery.aspx))
Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace:
at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.GetListTemplates(XmlWriter myXML, SPSite site, SPWeb web)
at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.GenerateItemXML(XmlWriter myXML)
at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer)
View Complete Post