Error: File Management is currently unavailable after upgrading DNN site to 7.2.x

DNN > Troubleshooting

Error: File Management is currently unavailable after upgrading DNN site to 7.2.x

Issue
When upgrading your site from previous versions of DotNetNuke to 7.2.x you may get the following error associated with the File Management module:
Error: File Management is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The given key was not present in the dictionary. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at DotNetNuke.Modules.DigitalAssets.View.OnItemDataBoundFolderTypeComboBox(Object sender, RadComboBoxItemEventArgs e) at Telerik.Web.UI.RadComboBox.RaiseEvent(Object eventKey, RadComboBoxItemEventArgs e) at Telerik.Web.UI.RadComboBox.OnItemDataBound(RadComboBoxItemEventArgs e) at Telerik.Web.UI.RadComboBox.RaiseItemDataBound(ControlItem item) at Telerik.Web.UI.ControlItemContainer.Telerik.Web.UI.IItemContainer.RaiseItemDataBound(IItem item) at Telerik.Web.UI.ControlDataBinder.BindToEnumerableData(IEnumerable dataSource) at Telerik.Web.UI.ControlItemContainer.PerformDataBinding(IEnumerable data) at Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource) at Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e) at Telerik.Web.UI.RadComboBox.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at Telerik.Web.UI.RadComboBox.DataBind() at DotNetNuke.Modules.DigitalAssets.View.InitializeFolderType() at DotNetNuke.Modules.DigitalAssets.View.OnLoad(EventArgs e) --- End of inner exception stack trace ---
Cause
The cause for this is that the folder providers in the web.config file are not updated properly
 
Resolution
 
You need to access your web.config file to make the necessary changes:
 
ADD to the section group in the top of the web.config: 
<section name="folder" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
 
 
ADD to the providers section:
<folder defaultProvider="StandardFolderProvider"> 
<providers> 
<clear /> 
<add name="StandardFolderProvider" type="DotNetNuke.Services.FileSystem.StandardFolderProvider, DotNetNuke" /> 
<add name="SecureFolderProvider" type="DotNetNuke.Services.FileSystem.SecureFolderProvider, DotNetNuke" /> 
<add name="DatabaseFolderProvider" type="DotNetNuke.Services.FileSystem.DatabaseFolderProvider, DotNetNuke" /> 
</providers> 
</folder>
 

Add Feedback