Server Error in '/' Application.

Could not find a part of the path 'E:\kunden\homepages\11\d385403865\www\thecaromroom\tournaments\results\Bar%20Table'.

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.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\kunden\homepages\11\d385403865\www\thecaromroom\tournaments\results\Bar%20Table'.

Source Error:


Line 93:                      // Get all subdirectories
Line 94: 
Line 95:                      string[] yeardirectorys = Directory.GetDirectories(Server.MapPath(dirPath));
Line 96: 
Line 97:                      // Order by name.

Source File: e:\kunden\homepages\11\d385403865\www\thecaromroom\tournaments\Results.aspx    Line: 95

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'E:\kunden\homepages\11\d385403865\www\thecaromroom\tournaments\results\Bar%20Table'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +373
   System.IO.FileSystemEnumerableIterator`1.CommonInit() +385
   System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) +398
   System.IO.Directory.GetDirectories(String path) +73
   ASP.tournaments_results_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\kunden\homepages\11\d385403865\www\thecaromroom\tournaments\Results.aspx:95
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


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