Server Error in '/' Application.

Could not find a part of the path "D:\inetpub\zkal\test\pin_recep".

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\zkal\test\pin_recep".

Source Error:


Line 69: 		DirName = MapPath (FolderName);
Line 70: 		DirectoryInfo di = new DirectoryInfo(DirName);
Line 71: 		FileInfo[] fi = di.GetFiles("*.jpg");
Line 72: 		foreach (FileInfo tempfn in fi)
Line 73: 		//ADD FILE NAMES TO DATASET

Source File: D:\inetpub\zkal\test\mainstore.aspx    Line: 71

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path "D:\inetpub\zkal\test\pin_recep".]
   System.IO.__Error.WinIOError(Int32 errorCode, String str) +267
   System.IO.Directory.InternalGetFileDirectoryNames(String fullPath, String userPath, Boolean file) +217
   System.IO.Directory.InternalGetFiles(String path, String userPath, String searchPattern) +24
   System.IO.DirectoryInfo.GetFiles(String searchPattern) +352
   ASP.mainstore_aspx.Page_Load(Object s, EventArgs e) in D:\inetpub\zkal\test\mainstore.aspx:71
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750


Version Information: Microsoft .NET Framework Version:1.1.4322.2512; ASP.NET Version:1.1.4322.2515