Server Error in '/' Application.

Error trying to list directory E:/Doc/Case_Studies

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.Exception: Error trying to list directory E:/Doc/Case_Studies

Source Error:


Line 51:         catch (Exception e)
Line 52:         {
Line 53:             throw new Exception("Error trying to list directory " + docDir.DiskPath);
Line 54:         }
Line 55:         var subdirs = (from f in subdirStrings where !f.Contains("[HTML]") select f).ToList();

Source File: e:\inetpub\wwwroot\OMPSitecore\Website\App_Code\Support\Documentation\DocumentationCache.cs    Line: 53

Stack Trace:


[Exception: Error trying to list directory E:/Doc/Case_Studies]
   DocumentationCache.BuildFor(DocumentationDirectory docDir) in e:\inetpub\wwwroot\OMPSitecore\Website\App_Code\Support\Documentation\DocumentationCache.cs:53
   DocumentationCache.Rebuild() in e:\inetpub\wwwroot\OMPSitecore\Website\App_Code\Support\Documentation\DocumentationCache.cs:40
   DocumentationCache..ctor(String path) in e:\inetpub\wwwroot\OMPSitecore\Website\App_Code\Support\Documentation\DocumentationCache.cs:21
   DocumentationCache.FromPath(String path) in e:\inetpub\wwwroot\OMPSitecore\Website\App_Code\Support\Documentation\DocumentationCache.cs:35
   Layouts.Leftnavigation.LeftnavigationSublayout.getNavigationString(Item scItem, ArrayList line) in e:\inetpub\wwwroot\OMPSitecore\Website\SubLayouts\Main\LeftNavigation.ascx.cs:88
   Layouts.Leftnavigation.LeftnavigationSublayout.Page_Load(Object sender, EventArgs e) in e:\inetpub\wwwroot\OMPSitecore\Website\SubLayouts\Main\LeftNavigation.ascx.cs:40
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0