Server Error in '/' Application.

Could not find a part of the path 'E:\vhosts\steveandpeggy.com\httpdocs\images\POOL'.

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:\vhosts\steveandpeggy.com\httpdocs\images\POOL'.

Source Error:


Line 45:         Dim LoadCombos As Boolean = (cboNum.Items.Count = 0)
Line 46:         PhotoDir = New System.IO.DirectoryInfo(ImagesPath & hdnPhotoPath.Value)
Line 47:         For Each FI As FileInfo In PhotoDir.GetFiles
Line 48:             If FI.Name.StartsWith("ORDER") = False Then Photos.Add(FI)
Line 49:         Next

Source File: E:\vhosts\steveandpeggy.com\httpdocs\images\viewer.aspx.vb    Line: 47

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'E:\vhosts\steveandpeggy.com\httpdocs\images\POOL'.]
   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.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption) +68
   System.IO.DirectoryInfo.GetFiles() +20
   images_viewer.GetPhotos() in E:\vhosts\steveandpeggy.com\httpdocs\images\viewer.aspx.vb:47
   images_viewer.Button_Click(Object sender, EventArgs e) in E:\vhosts\steveandpeggy.com\httpdocs\images\viewer.aspx.vb:26
   images_viewer.Page_Load(Object sender, EventArgs e) in E:\vhosts\steveandpeggy.com\httpdocs\images\viewer.aspx.vb:20
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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