Server Error in '/' Application.

C:\Inetpub\vhosts\steigerladderspecialist.nl\httpdocs\resources\uploads\3544\rechte_kooiladders_1353713.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: C:\Inetpub\vhosts\steigerladderspecialist.nl\httpdocs\resources\uploads\3544\rechte_kooiladders_1353713.jpg

Source Error:


Line 23:             Dim sFile As String = Server.MapPath(Request.QueryString("file"))
Line 24: 
Line 25:             imgOri = System.Drawing.Image.FromFile(sFile)
Line 26:             nNewWidth = imgOri.Size.Width
Line 27:             nNewHeight = imgOri.Size.Height

Source File: C:\Inetpub\vhosts\steigerladderspecialist.nl\httpdocs\Systems\image_thumbnail.aspx    Line: 25

Stack Trace:


[FileNotFoundException: C:\Inetpub\vhosts\steigerladderspecialist.nl\httpdocs\resources\uploads\3544\rechte_kooiladders_1353713.jpg]
   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +246
   ASP.systems_image_thumbnail_aspx.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\steigerladderspecialist.nl\httpdocs\Systems\image_thumbnail.aspx:25
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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