错误信息:Cannot save the property settings for this Web Part. Exception occurred
分析:很可能是用户写web part的时候错误的析构了SPSite对象
解决:
将如下的编程方式修改一下
=========================
1: SPSite site = SPContext.Current.Site;
2: // do something with it
3: site.Dispose(); //throw an error upon dispose:
================================
1: SPSite site = new SPSite(SPContext.Current.Site.ID);
2: // do something
3: site.Dispose();//This code will not throw an error on dispose
更多信息请参考最佳实践