Server Error in '/' Application.

d:\domains\surfguru.co.uk\wwwroot/files/images/products/surflite.jpg

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.FileNotFoundException: d:\domains\surfguru.co.uk\wwwroot/files/images/products/surflite.jpg

Source Error:


Line 215:
Line 216:        ' Try
Line 217:        originalimg = System.Drawing.Image.FromFile(FileToMove)
Line 218:        ' work out the width/height for the thumbnail. Preserve aspect ratio and honour max width/height
Line 219:        ' Note: if the original is smaller than the thumbnail size it will be scaled up

Source File: C:\Domains\surfguru.co.uk\wwwroot\App_Code\globalcode.vb    Line: 217

Stack Trace:


[FileNotFoundException: d:\domains\surfguru.co.uk\wwwroot/files/images/products/surflite.jpg]
   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +628282
   eightlegged.resizeguruimages(String imagesrc, String width, String height, String imgalign, String LBgallery, String LBtitle, String LBdisplay, String STRalt) in C:\Domains\surfguru.co.uk\wwwroot\App_Code\globalcode.vb:217
   shopping_product.Page_Load(Object sender, EventArgs e) in C:\Domains\surfguru.co.uk\wwwroot\online-shop\details.aspx.vb:430
   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