Sitecore – Failed to find the root item

Recently content managers were getting following issue while accessing the file upload option to import the translations. After analysis we found that its  

<securityEnabled>true</securityEnabled>

configuration under the filesystem database node (

<database id="filesystem" singleInstance="true" type="Sitecore.Data.Database, Sitecore.Kernel">

). To fix this issue you may disable the security for file system.

Error : An instance of Sitecore.Data.Items.Item was null. Additional information: Failed to find the root item “/”.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: An instance of Sitecore.Data.Items.Item was null. Additional information: Failed to find the root item “/”.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: An instance of Sitecore.Data.Items.Item was null. Additional information: Failed to find the root item “/”.]
Sitecore.Web.UI.HtmlControls.DataContext.GetState(Item& root, Item& folder, Item[]& selected) +1904
Sitecore.Web.UI.HtmlControls.DataContext.get_AtRoot() +60
Sitecore.Web.UI.HtmlControls.UpAction.OnDataContextChanged(DataContext dataContext) +24
Sitecore.Web.UI.HtmlControls.Control.HandleMessage(Message message) +391
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +67
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +157
Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +636
Sitecore.Web.UI.Sheer.ClientPage.SendMessage(Message message) +90
Sitecore.Web.UI.HtmlControls.DataContext.OnChanged() +104
Sitecore.Web.UI.HtmlControls.DataContext.set_DataViewName(String value) +186
Sitecore.Shell.Applications.Files.FileExplorer.FileExplorerForm.OnLoad(EventArgs e) +97

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146
Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Boolean includeStatic, Object[] parameters) +223
Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +592
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4498

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s