Server Error in '/' Application.

Could not find a part of the path 'C:\inetpub\wwwroot\lfjcc.com.2018\pressroom\Gotthelf_Art_Gallery'.

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 'C:\inetpub\wwwroot\lfjcc.com.2018\pressroom\Gotthelf_Art_Gallery'.

Source Error:


Line 63:             ' loop through any folders that are within this folder
Line 64:             ' and create a link for it.
Line 65:             For Each Folder As DirectoryInfo In RootFolder.GetDirectories()
Line 66:                 PressText.Append("<li class='larger'><img src='/common/icons/folder.gif' width='32' height='32' alt=''>")
Line 67:                 PressText.Append("&nbsp;<strong><a href='/pressroom/index.aspx?folder=")

Source File: C:\inetpub\wwwroot\lfjcc.com.2018\pressroom\index.aspx.vb    Line: 65

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\wwwroot\lfjcc.com.2018\pressroom\Gotthelf_Art_Gallery'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +193
   System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) +1923
   System.IO.DirectoryInfo.GetDirectories(String searchPattern, SearchOption searchOption) +58
   System.IO.DirectoryInfo.GetDirectories() +14
   pressroom_index.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\lfjcc.com.2018\pressroom\index.aspx.vb:65
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8964; ASP.NET Version:2.0.50727.8962