Server Error in '/' Application.

D:\InetPub\vhosts\gobestauto.com\httpdocs\inventoryimages\1GTGC29RXWE522732-0.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:\InetPub\vhosts\gobestauto.com\httpdocs\inventoryimages\1GTGC29RXWE522732-0.jpg

Source Error:


Line 39:         Dim strSrcImage As String = "inventoryimages/" & Request.QueryString.Item("image").ToString
Line 40:         Dim fullSizeImg As System.Drawing.Image
Line 41:         fullSizeImg = System.Drawing.Image.FromFile(Server.MapPath(strSrcImage))
Line 42: 
Line 43: 

Source File: D:\InetPub\vhosts\gobestauto.com\httpdocs\Thumbnail.aspx.vb    Line: 41

Stack Trace:


[FileNotFoundException: D:\InetPub\vhosts\gobestauto.com\httpdocs\inventoryimages\1GTGC29RXWE522732-0.jpg]
   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +490582
   System.Drawing.Image.FromFile(String filename) +12
   Thumbnail.Page_Load(Object sender, EventArgs e) in D:\InetPub\vhosts\gobestauto.com\httpdocs\Thumbnail.aspx.vb:41
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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