真希望自己是上帝,那麼我會明白這意味着什麼:的SharePoint - 無法完成此操作錯誤
的功能「MyLists」類型「ListInstance」的元素「MYLIST」(ID:f3981600- c824- 4f88-85ce-94d049ba63ee)在激活期間引發異常:無法完成此操作。請再試一次。
任何人都知道這個錯誤「真正的意思」是什麼。它發生在我嘗試激活該功能時。
上激活代碼的功能是非常直截了當:
public override void FeatureActivated(SPFeatureReceiverProperties properties)
{
using (SPWeb site = properties.Feature.Parent as SPWeb)
{
SPList list = site.Lists["My Messages"];
list.ContentTypesEnabled = true;
list.Update();
}
}
該錯誤來自擴展日誌:(這就是完整的錯誤信息。有幫助的我知道 - 但我期望從MOSS這樣的錯誤,如果它有幫助,我們不會在SharePoint編程。 – 2009-08-24 18:56:26