Sitecore Shell Override Folder Is Invalid Error
Thu 8 September, 2016 / By Jon D Jones
Recently, when trying to setup a build server to deploy a Sitecore project, I came across this error after logging into Sitecore: Or in more detail:
Server Error in '/' Application. The directory name c:\websites\dev.sitecore.website.com\website\sitecore\shell\override is invalid. 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. Stack Trace: [ArgumentException: The directory name c:\websites\dev.sitecore.website.com\website\sitecore\shell\override is invalid.] System.IO.FileSystemWatcher.set_Path(String value) +405 Sitecore.Web.UI.XmlControls.FolderControlSource.InitFolderWatcher(Boolean deep) +67 Sitecore.Web.UI.XmlControls.FolderControlSource..ctor(String namespace, String prefix, String folder, Boolean deep) +172 Sitecore.Web.UI.XmlControls.ControlSourceFactory.CreateControlSource(XmlNode configNode) +241 Sitecore.Web.UI.XmlControls.ControlFactory.ReadControlSources() +262Looking in \sitecore\shell\ the override directory didn't exist. Apparently, this folder is not created for you automatically when you create a fresh install of Sitecore. If it can't find it, Sitecore throws a tantrum. The resolution was pretty simple.. create it! Refreshing the page immediately after creating the folder, didn't do much and the same error displayed. Ater performing an IIS reset however, the error disappeared and the content editor loaded.