Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

File not found exception in Column Default value settings of Document Library.

$
0
0

I have created a document library using 3 site content types and then saved this library as template. I found that this template works fine only within the sub-site where library was created, if this template is used to create a library in some other sub site then for that library i am getting a File not found exception when i click on "Column default value settings" under library settings.

Example: i have two subsites India and China. a template is created in India site and all the libraries created under India using this template work fine. For libraries created under China using this template i get the exception only when i click column default value settings.

I have replicated the scenario in 2 seperate 2013 environments and found same behaviour in both servers. There is no customization involved and i am only using OOTB features. Is this a bug in product?

Details from log files as per correlation ID:

System.IO.FileNotFoundException: Unable to find the specified file.  
 at Microsoft.SharePoint.SPFolder.EnsureWebRelativeUrl()   
 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.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)


Ujwal Seli | MCPD SharePoint 2010


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>