Server Error in '/' Application.

D:\inetpub\webs\antichitaclarascumit\img\upl\testinaessevi.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\webs\antichitaclarascumit\img\upl\testinaessevi.jpg

Source Error:


Line 34: 				Dim Copyright As String = "Copyright 2011 - www.antichitaclarascum.it"
Line 35: 
Line 36:             Dim imgPhoto As Image = Image.FromFile(Server.MapPath(Dir & NomeImmagine))
Line 37:             Dim phWidth As Integer = imgPhoto.Width
Line 38:             Dim phHeight As Integer = imgPhoto.Height

Source File: D:\inetpub\webs\antichitaclarascumit\Immagine.aspx.vb    Line: 36

Stack Trace:


[FileNotFoundException: D:\inetpub\webs\antichitaclarascumit\img\upl\testinaessevi.jpg]
   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +185
   System.Drawing.Image.FromFile(String filename) +7
   Immagine.Page_Load(Object sender, EventArgs e) in D:\inetpub\webs\antichitaclarascumit\Immagine.aspx.vb:36
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2853


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