Server Error in '/' Application.

Could not find a part of the path 'D:\Web\Kik\courses\OSE6649'.

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:\Web\Kik\courses\OSE6649'.

Source Error:


Line 89: 		n.Value = d.FullName
Line 90: 		n.Expanded = True
Line 91: 		For Each di As DirectoryInfo In d.GetDirectories
Line 92: 			n.ChildNodes.Add(CreateFolderNode(di))
Line 93: 		Next

Source File: D:\Web\Kik\courses\CourseMaterial.aspx.vb    Line: 91

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'D:\Web\Kik\courses\OSE6649'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +271
   System.IO.FileSystemEnumerableIterator`1.CommonInit() +411
   System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) +488
   System.IO.DirectoryInfo.InternalGetDirectories(String searchPattern, SearchOption searchOption) +90
   CourseMaterial.CreateFolderNode(DirectoryInfo d) in D:\Web\Kik\courses\CourseMaterial.aspx.vb:91
   CourseMaterial.BuildFolderTree(String Course) in D:\Web\Kik\courses\CourseMaterial.aspx.vb:81
   CourseMaterial.Page_Load(Object sender, EventArgs e) in D:\Web\Kik\courses\CourseMaterial.aspx.vb:20
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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