Runtime error with column default value settings

I have one SP2010 (enterprise) document library which gives me a runtime error if I click on "column default value settings" in the settings. Other document libraries' column default value settings are working fine. I use managed metadata and created libraries from templates. I deleted all custom columns from the site, only title is left over (content types are document and link to a document) but runtime error still shows up. How can I fix this?

Server Error in '/' Application.

February 12th, 2014 5:14am

Set the customErrors to Off for your web.config to see the full error

<customErrors mode="Off" />
...
<SafeMode MaxControls="200" CallStack="true"...

If its a large list with thousand of items then it may be caused by the list view threshold value

Also check your list view is not having more than 8 look-up columns to avoid threshold.





Free Windows Admin Tool Kit Click here and download it now
February 12th, 2014 5:21am

Or just look in the Application Event Log of the SharePoint WFE, where the full error will be present.
February 12th, 2014 5:24am

Thanks for your suggestions. I found the log but don't know what it means. Can anybody help?

System.ArgumentOutOfRangeException:   startIndex cannot be larger than length of string. Parameter name: startIndex  
  at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length,   Boolean fAlwaysCopy)
  at   Microsoft.Office.DocumentManagement.MetadataNavigation.PerLocationViewManager.HumanReadablePath(SPList   list, Guid fieldId, String uniqueNodeId, String pathDelimiter)
  at   Microsoft.Office.Server.WebControls.MetaDataNavTree.TreeViewDataBound(Object   sender, EventArgs e)
  at System.Web.UI.WebControls.BaseDataBoundControl.OnDataBound(EventArgs e)
  at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
  at   Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationContext.OnTreeViewLoad(SPTreeView   spTreeView)
  at Microsoft.Office.Server.WebControls.MetaDataNavTree.PerLocationPageLoad()
  at   Microsoft.Office.DocumentManagement.Pages.ColumnDefaultsPage.OnLoad(EventArgs   e)
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Page.ProcessRequestMain(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

 

Free Windows Admin Tool Kit Click here and download it now
February 21st, 2014 12:30pm

It looks like it expects those managed metadata columns to be present. If you deploy the template without deleting the metadata column(s), does it work?
February 21st, 2014 10:57pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics