Server Error in '/' Application.

Could not find a part of the path 'E:\web\moaaflorg00\htdocs\Convention\images\2019\Awards'.

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:\web\moaaflorg00\htdocs\Convention\images\2019\Awards'.

Source Error:


Line 30: 
Line 31:         Dim di As New IO.DirectoryInfo(MapPath(sAwardsPhotoPath))
Line 32:         Dim aryFi As IO.FileInfo() = di.GetFiles("*.png")
Line 33:         Dim fi As IO.FileInfo
Line 34:         Dim sFileName As String = String.Empty

Source File: E:\web\moaaflorg00\htdocs\PhotoViewer.aspx.vb    Line: 32

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'E:\web\moaaflorg00\htdocs\Convention\images\2019\Awards'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +447
   System.IO.FileSystemEnumerableIterator`1.CommonInit() +161
   System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) +500
   System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption) +65
   System.IO.DirectoryInfo.GetFiles(String searchPattern) +14
   PhotoViewer.LoadPhotosList() in E:\web\moaaflorg00\htdocs\PhotoViewer.aspx.vb:32
   PhotoViewer.Page_Load(Object sender, EventArgs e) in E:\web\moaaflorg00\htdocs\PhotoViewer.aspx.vb:19
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2850


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