17 Oktober, 2012

Can not access list view (an unexpected error has occurred)


I try to access the list view SharePoint 2010 portal but I found : an unexpected error has occurred.
It happened too when I try to access the list from View All Site Content, but I can still access the list from SharePoint Designer 2010.

So I try to dig from the SharePoint Log (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS) for the latest log and I found these in the SharePoint LOG:


System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.RecordsManagement.RecordsRepository.Records.GetCachedAllowManualRecordDeclarationSetting(CachedList list, Hashtable siteProperties) at Microsoft.Office.RecordsManagement.Controls.DeclareRecordAction.<>c__DisplayClass1.b__0() at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code) at Microsoft.Office.RecordsManagement.Controls.DeclareRecordAction.GetDeclareRecordInfo() at Microsoft.Office.RecordsManagement.Controls.InPlaceRecordsRibbon.Page_PreRenderComplete(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.OnPreRenderComplete(EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

To solve this : From this error message, the cause might be that lists were referring to records management site object which it has not been configured. Please check if you enable this feature, if so, disable (deactive) the “In place Records management” in site collection feature (Site Actions > Site Settings > Site collection features (In Site Collection Administration section)

And the problem is solved! This save my day ^^

http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/5a035245-3cf7-44c2-94af-ca99fe245a86/
Rinardi Adinegara Barlim Ms SharePoint System Developer

God's partner that full of love in his life. Enjoy his life by distributed bless to another people that he meet. Now work as Microsoft SharePoint Developer :)

Tidak ada komentar :

Blog Stat