Server Error in '/' Application.

Could not find a part of the path 'E:\kunden\homepages\9\d449384446\www\tradewindsair\images\292'.

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:\kunden\homepages\9\d449384446\www\tradewindsair\images\292'.

Source Error:


Line 45:     {
Line 46:         string ImgPath = "images/noimage.jpg";
Line 47:         string[] imageThumbs = System.IO.Directory.GetFiles(Server.MapPath(".//images//" + adID));//C:\\Inetpub\\wwwroot\\BarnettAir2010
Line 48:         string firstFile = "";
Line 49:         for (int i = 0; i < imageThumbs.Length; i++)

Source File: e:\kunden\homepages\9\d449384446\www\tradewindsair\ViewSpecs.aspx.cs    Line: 47

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'E:\kunden\homepages\9\d449384446\www\tradewindsair\images\292'.]
   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.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) +37
   System.IO.Directory.GetFiles(String path) +14
   ViewSpecs.loadGallery(String adID) in e:\kunden\homepages\9\d449384446\www\tradewindsair\ViewSpecs.aspx.cs:47
   ViewSpecs.Page_Init(Object sender, EventArgs e) in e:\kunden\homepages\9\d449384446\www\tradewindsair\ViewSpecs.aspx.cs:23
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnInit(EventArgs e) +99
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175