Server Error in '/' Application.

Could not find a part of the path 'D:\INETPUB\VHOSTS\ivyeduerp.com\nccorissa.org\old\PhotoGallery\RDC_Gov_House_2010'.

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 'D:\INETPUB\VHOSTS\ivyeduerp.com\nccorissa.org\old\PhotoGallery\RDC_Gov_House_2010'.

Source Error:


Line 65: Response.Write("<tr><td valign='top' align='center'>");
Line 66: 
Line 67:     String[] pictures = Directory.GetFiles(fullPath, "*.jpg");	
Line 68:     if (pictures.Length == 0) {
Line 69:       PictureList.Text = "There are no pictures in this folder.";

Source File: d:\inetpub\vhosts\ivyeduerp.com\nccorissa.org\old\photoGallery.aspx    Line: 67

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'D:\INETPUB\VHOSTS\ivyeduerp.com\nccorissa.org\old\PhotoGallery\RDC_Gov_House_2010'.]
   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.GetFiles(String path, String searchPattern) +82
   ASP.old_photogallery_aspx.displayPictures() in d:\inetpub\vhosts\ivyeduerp.com\nccorissa.org\old\photoGallery.aspx:67
   ASP.old_photogallery_aspx.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\ivyeduerp.com\nccorissa.org\old\photoGallery.aspx:27
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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