Server Error in '/' Application.

Could not find a part of the path 'C:\Websites\IIS\Live\BullionList\Media\Products\Gold\2012_US_Mint\1oz_gold_buffalo'.

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:\Websites\IIS\Live\BullionList\Media\Products\Gold\2012_US_Mint\1oz_gold_buffalo'.

Source Error:


Line 434:        //    Images.AddRange(ProductImage.GetProductImages(Pd));
Line 435:        //}
Line 436:        GalleryImages = ProductGalleryImage.GetProductImages(Pd);
Line 437:        GalleryRepeater.DataSource = GalleryImages;
Line 438:        GalleryRepeater.DataBind();

Source File: c:\Websites\IIS\Live\BullionList\ProductDetails.aspx.cs    Line: 436

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'C:\Websites\IIS\Live\BullionList\Media\Products\Gold\2012_US_Mint\1oz_gold_buffalo'.]
   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.Directory.GetFiles(String path, String searchPattern) +106
   BL.Shop.ProductGalleryImage.GetProductImages(Product Pd) in e:\Projects\Roo\BullionListWebCore\Shop\ProductGalleryImage.cs:83
   ProductDetails.LoadProduct() in c:\Websites\IIS\Live\BullionList\ProductDetails.aspx.cs:436
   ProductDetails.Page_Load(Object sender, EventArgs e) in c:\Websites\IIS\Live\BullionList\ProductDetails.aspx.cs:65
   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.3930.0