Sitecore Shell Override Folder Is Invalid Error

Recently, when trying to setup a build server to deploy a Sitecore project, I came across this error after logging into Sitecore: sitecoreshell_override_is_invalid Or in more detail:

Server Error in '/' Application.

The directory name c:\websites\\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\\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() +262
Looking 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! sitecoreshell_override_is_invalid_1 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.

Jon D Jones

Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge

Back to top
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-35662136-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + ''; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();